Skip to content

Commit

Permalink
Regenerate datastream client (#5810)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Nov 3, 2024
1 parent 133d3b0 commit a706b94
Show file tree
Hide file tree
Showing 10 changed files with 468 additions and 0 deletions.
58 changes: 58 additions & 0 deletions src/Datastream/BinaryLogParser.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\Datastream;

class BinaryLogParser extends \Google\Model
{
protected $logFileDirectoriesType = LogFileDirectories::class;
protected $logFileDirectoriesDataType = '';
protected $oracleAsmLogFileAccessType = OracleAsmLogFileAccess::class;
protected $oracleAsmLogFileAccessDataType = '';

/**
* @param LogFileDirectories
*/
public function setLogFileDirectories(LogFileDirectories $logFileDirectories)
{
$this->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');
25 changes: 25 additions & 0 deletions src/Datastream/BinaryLogPosition.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\Datastream;

class BinaryLogPosition extends \Google\Model
{
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(BinaryLogPosition::class, 'Google_Service_Datastream_BinaryLogPosition');
25 changes: 25 additions & 0 deletions src/Datastream/Gtid.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\Datastream;

class Gtid extends \Google\Model
{
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Gtid::class, 'Google_Service_Datastream_Gtid');
62 changes: 62 additions & 0 deletions src/Datastream/LogFileDirectories.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\Datastream;

class LogFileDirectories extends \Google\Model
{
/**
* @var string
*/
public $archivedLogDirectory;
/**
* @var string
*/
public $onlineLogDirectory;

/**
* @param string
*/
public function setArchivedLogDirectory($archivedLogDirectory)
{
$this->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');
25 changes: 25 additions & 0 deletions src/Datastream/LogMiner.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

namespace Google\Service\Datastream;

class LogMiner extends \Google\Model
{
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(LogMiner::class, 'Google_Service_Datastream_LogMiner');
32 changes: 32 additions & 0 deletions src/Datastream/MysqlSourceConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@

class MysqlSourceConfig extends \Google\Model
{
protected $binaryLogPositionType = BinaryLogPosition::class;
protected $binaryLogPositionDataType = '';
protected $excludeObjectsType = MysqlRdbms::class;
protected $excludeObjectsDataType = '';
protected $gtidType = Gtid::class;
protected $gtidDataType = '';
protected $includeObjectsType = MysqlRdbms::class;
protected $includeObjectsDataType = '';
/**
Expand All @@ -32,6 +36,20 @@ class MysqlSourceConfig extends \Google\Model
*/
public $maxConcurrentCdcTasks;

/**
* @param BinaryLogPosition
*/
public function setBinaryLogPosition(BinaryLogPosition $binaryLogPosition)
{
$this->binaryLogPosition = $binaryLogPosition;
}
/**
* @return BinaryLogPosition
*/
public function getBinaryLogPosition()
{
return $this->binaryLogPosition;
}
/**
* @param MysqlRdbms
*/
Expand All @@ -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
*/
Expand Down
Loading

0 comments on commit a706b94

Please sign in to comment.