From a706b940e309d6cd858eee6a394e89fa17310c93 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sat, 2 Nov 2024 18:06:19 -0700 Subject: [PATCH] Regenerate datastream client (#5810) Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-php-client-services/actions/workflows/codegen.yaml --- src/Datastream/BinaryLogParser.php | 58 +++++++++ src/Datastream/BinaryLogPosition.php | 25 ++++ src/Datastream/Gtid.php | 25 ++++ src/Datastream/LogFileDirectories.php | 62 +++++++++ src/Datastream/LogMiner.php | 25 ++++ src/Datastream/MysqlSourceConfig.php | 32 +++++ src/Datastream/OracleAsmConfig.php | 150 ++++++++++++++++++++++ src/Datastream/OracleAsmLogFileAccess.php | 25 ++++ src/Datastream/OracleProfile.php | 34 +++++ src/Datastream/OracleSourceConfig.php | 32 +++++ 10 files changed, 468 insertions(+) create mode 100644 src/Datastream/BinaryLogParser.php create mode 100644 src/Datastream/BinaryLogPosition.php create mode 100644 src/Datastream/Gtid.php create mode 100644 src/Datastream/LogFileDirectories.php create mode 100644 src/Datastream/LogMiner.php create mode 100644 src/Datastream/OracleAsmConfig.php create mode 100644 src/Datastream/OracleAsmLogFileAccess.php diff --git a/src/Datastream/BinaryLogParser.php b/src/Datastream/BinaryLogParser.php new file mode 100644 index 0000000000..c638ba91b9 --- /dev/null +++ b/src/Datastream/BinaryLogParser.php @@ -0,0 +1,58 @@ +logFileDirectories = $logFileDirectories; + } + /** + * @return LogFileDirectories + */ + public function getLogFileDirectories() + { + return $this->logFileDirectories; + } + /** + * @param OracleAsmLogFileAccess + */ + public function setOracleAsmLogFileAccess(OracleAsmLogFileAccess $oracleAsmLogFileAccess) + { + $this->oracleAsmLogFileAccess = $oracleAsmLogFileAccess; + } + /** + * @return OracleAsmLogFileAccess + */ + public function getOracleAsmLogFileAccess() + { + return $this->oracleAsmLogFileAccess; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(BinaryLogParser::class, 'Google_Service_Datastream_BinaryLogParser'); diff --git a/src/Datastream/BinaryLogPosition.php b/src/Datastream/BinaryLogPosition.php new file mode 100644 index 0000000000..fc2a17a95b --- /dev/null +++ b/src/Datastream/BinaryLogPosition.php @@ -0,0 +1,25 @@ +archivedLogDirectory = $archivedLogDirectory; + } + /** + * @return string + */ + public function getArchivedLogDirectory() + { + return $this->archivedLogDirectory; + } + /** + * @param string + */ + public function setOnlineLogDirectory($onlineLogDirectory) + { + $this->onlineLogDirectory = $onlineLogDirectory; + } + /** + * @return string + */ + public function getOnlineLogDirectory() + { + return $this->onlineLogDirectory; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(LogFileDirectories::class, 'Google_Service_Datastream_LogFileDirectories'); diff --git a/src/Datastream/LogMiner.php b/src/Datastream/LogMiner.php new file mode 100644 index 0000000000..fa272a3e45 --- /dev/null +++ b/src/Datastream/LogMiner.php @@ -0,0 +1,25 @@ +binaryLogPosition = $binaryLogPosition; + } + /** + * @return BinaryLogPosition + */ + public function getBinaryLogPosition() + { + return $this->binaryLogPosition; + } /** * @param MysqlRdbms */ @@ -46,6 +64,20 @@ public function getExcludeObjects() { return $this->excludeObjects; } + /** + * @param Gtid + */ + public function setGtid(Gtid $gtid) + { + $this->gtid = $gtid; + } + /** + * @return Gtid + */ + public function getGtid() + { + return $this->gtid; + } /** * @param MysqlRdbms */ diff --git a/src/Datastream/OracleAsmConfig.php b/src/Datastream/OracleAsmConfig.php new file mode 100644 index 0000000000..b1d51630ea --- /dev/null +++ b/src/Datastream/OracleAsmConfig.php @@ -0,0 +1,150 @@ +asmService = $asmService; + } + /** + * @return string + */ + public function getAsmService() + { + return $this->asmService; + } + /** + * @param string[] + */ + public function setConnectionAttributes($connectionAttributes) + { + $this->connectionAttributes = $connectionAttributes; + } + /** + * @return string[] + */ + public function getConnectionAttributes() + { + return $this->connectionAttributes; + } + /** + * @param string + */ + public function setHostname($hostname) + { + $this->hostname = $hostname; + } + /** + * @return string + */ + public function getHostname() + { + return $this->hostname; + } + /** + * @param OracleSslConfig + */ + public function setOracleSslConfig(OracleSslConfig $oracleSslConfig) + { + $this->oracleSslConfig = $oracleSslConfig; + } + /** + * @return OracleSslConfig + */ + public function getOracleSslConfig() + { + return $this->oracleSslConfig; + } + /** + * @param string + */ + public function setPassword($password) + { + $this->password = $password; + } + /** + * @return string + */ + public function getPassword() + { + return $this->password; + } + /** + * @param int + */ + public function setPort($port) + { + $this->port = $port; + } + /** + * @return int + */ + public function getPort() + { + return $this->port; + } + /** + * @param string + */ + public function setUsername($username) + { + $this->username = $username; + } + /** + * @return string + */ + public function getUsername() + { + return $this->username; + } +} + +// Adding a class alias for backwards compatibility with the previous class name. +class_alias(OracleAsmConfig::class, 'Google_Service_Datastream_OracleAsmConfig'); diff --git a/src/Datastream/OracleAsmLogFileAccess.php b/src/Datastream/OracleAsmLogFileAccess.php new file mode 100644 index 0000000000..e27c9f432e --- /dev/null +++ b/src/Datastream/OracleAsmLogFileAccess.php @@ -0,0 +1,25 @@ +hostname; } + /** + * @param OracleAsmConfig + */ + public function setOracleAsmConfig(OracleAsmConfig $oracleAsmConfig) + { + $this->oracleAsmConfig = $oracleAsmConfig; + } + /** + * @return OracleAsmConfig + */ + public function getOracleAsmConfig() + { + return $this->oracleAsmConfig; + } /** * @param OracleSslConfig */ @@ -130,6 +150,20 @@ public function getPort() { return $this->port; } + /** + * @param string + */ + public function setSecretManagerStoredPassword($secretManagerStoredPassword) + { + $this->secretManagerStoredPassword = $secretManagerStoredPassword; + } + /** + * @return string + */ + public function getSecretManagerStoredPassword() + { + return $this->secretManagerStoredPassword; + } /** * @param string */ diff --git a/src/Datastream/OracleSourceConfig.php b/src/Datastream/OracleSourceConfig.php index f785500418..a69a256421 100644 --- a/src/Datastream/OracleSourceConfig.php +++ b/src/Datastream/OracleSourceConfig.php @@ -19,12 +19,16 @@ class OracleSourceConfig extends \Google\Model { + protected $binaryLogParserType = BinaryLogParser::class; + protected $binaryLogParserDataType = ''; protected $dropLargeObjectsType = DropLargeObjects::class; protected $dropLargeObjectsDataType = ''; protected $excludeObjectsType = OracleRdbms::class; protected $excludeObjectsDataType = ''; protected $includeObjectsType = OracleRdbms::class; protected $includeObjectsDataType = ''; + protected $logMinerType = LogMiner::class; + protected $logMinerDataType = ''; /** * @var int */ @@ -36,6 +40,20 @@ class OracleSourceConfig extends \Google\Model protected $streamLargeObjectsType = StreamLargeObjects::class; protected $streamLargeObjectsDataType = ''; + /** + * @param BinaryLogParser + */ + public function setBinaryLogParser(BinaryLogParser $binaryLogParser) + { + $this->binaryLogParser = $binaryLogParser; + } + /** + * @return BinaryLogParser + */ + public function getBinaryLogParser() + { + return $this->binaryLogParser; + } /** * @param DropLargeObjects */ @@ -78,6 +96,20 @@ public function getIncludeObjects() { return $this->includeObjects; } + /** + * @param LogMiner + */ + public function setLogMiner(LogMiner $logMiner) + { + $this->logMiner = $logMiner; + } + /** + * @return LogMiner + */ + public function getLogMiner() + { + return $this->logMiner; + } /** * @param int */