Skip to content

Commit

Permalink
Regenerate datastream client (#6011)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Dec 14, 2024
1 parent 055331d commit d5914a7
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function listProjectsLocationsConnectionProfiles($parent, $optParams = []
* Use this method to update the parameters of a connection profile.
* (connectionProfiles.patch)
*
* @param string $name Output only. The resource's name.
* @param string $name Output only. Identifier. The resource's name.
* @param ConnectionProfile $postBody
* @param array $optParams Optional parameters.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Datastream/Resource/ProjectsLocationsOperations.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ProjectsLocationsOperations extends \Google\Service\Resource
* other methods to check whether the cancellation succeeded or whether the
* operation completed despite cancellation. On successful cancellation, the
* operation is not deleted; instead, it becomes an operation with an
* Operation.error value with a google.rpc.Status.code of 1, corresponding to
* Operation.error value with a google.rpc.Status.code of `1`, corresponding to
* `Code.CANCELLED`. (operations.cancel)
*
* @param string $name The name of the operation resource to be cancelled.
Expand Down
2 changes: 1 addition & 1 deletion src/Datastream/Resource/ProjectsLocationsStreams.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public function listProjectsLocationsStreams($parent, $optParams = [])
/**
* Use this method to update the configuration of a stream. (streams.patch)
*
* @param string $name Output only. The stream's name.
* @param string $name Output only. Identifier. The stream's name.
* @param Stream $postBody
* @param array $optParams Optional parameters.
*
Expand Down
16 changes: 16 additions & 0 deletions src/Datastream/SpecificStartPosition.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class SpecificStartPosition extends \Google\Model
protected $mysqlLogPositionDataType = '';
protected $oracleScnPositionType = OracleScnPosition::class;
protected $oracleScnPositionDataType = '';
protected $sqlServerLsnPositionType = SqlServerLsnPosition::class;
protected $sqlServerLsnPositionDataType = '';

/**
* @param MysqlLogPosition
Expand Down Expand Up @@ -52,6 +54,20 @@ public function getOracleScnPosition()
{
return $this->oracleScnPosition;
}
/**
* @param SqlServerLsnPosition
*/
public function setSqlServerLsnPosition(SqlServerLsnPosition $sqlServerLsnPosition)
{
$this->sqlServerLsnPosition = $sqlServerLsnPosition;
}
/**
* @return SqlServerLsnPosition
*/
public function getSqlServerLsnPosition()
{
return $this->sqlServerLsnPosition;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
44 changes: 44 additions & 0 deletions src/Datastream/SqlServerLsnPosition.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?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 SqlServerLsnPosition extends \Google\Model
{
/**
* @var string
*/
public $lsn;

/**
* @param string
*/
public function setLsn($lsn)
{
$this->lsn = $lsn;
}
/**
* @return string
*/
public function getLsn()
{
return $this->lsn;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SqlServerLsnPosition::class, 'Google_Service_Datastream_SqlServerLsnPosition');

0 comments on commit d5914a7

Please sign in to comment.