From 359adcc545c1bad2405113b05e3812d1ea14c685 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 25 Mar 2026 18:11:04 -0700 Subject: [PATCH] Regenerate datamigration client --- .../PostgreSqlConnectionProfile.php | 24 +++++++++++++++++++ .../Resource/ProjectsLocations.php | 15 ++++++++---- 2 files changed, 34 insertions(+), 5 deletions(-) diff --git a/src/DatabaseMigrationService/PostgreSqlConnectionProfile.php b/src/DatabaseMigrationService/PostgreSqlConnectionProfile.php index dffe494bbbb..c512e728ff4 100644 --- a/src/DatabaseMigrationService/PostgreSqlConnectionProfile.php +++ b/src/DatabaseMigrationService/PostgreSqlConnectionProfile.php @@ -48,6 +48,13 @@ class PostgreSqlConnectionProfile extends \Google\Model * @var string */ public $database; + /** + * Optional. If true, Database Migration Service will use IAM database + * authentication to connect to the database. + * + * @var bool + */ + public $enableIamAuthentication; protected $forwardSshConnectivityType = ForwardSshTunnelConnectivity::class; protected $forwardSshConnectivityDataType = ''; /** @@ -151,6 +158,23 @@ public function getDatabase() { return $this->database; } + /** + * Optional. If true, Database Migration Service will use IAM database + * authentication to connect to the database. + * + * @param bool $enableIamAuthentication + */ + public function setEnableIamAuthentication($enableIamAuthentication) + { + $this->enableIamAuthentication = $enableIamAuthentication; + } + /** + * @return bool + */ + public function getEnableIamAuthentication() + { + return $this->enableIamAuthentication; + } /** * Forward SSH tunnel connectivity. * diff --git a/src/DatabaseMigrationService/Resource/ProjectsLocations.php b/src/DatabaseMigrationService/Resource/ProjectsLocations.php index a1ffc43735e..6a967884904 100644 --- a/src/DatabaseMigrationService/Resource/ProjectsLocations.php +++ b/src/DatabaseMigrationService/Resource/ProjectsLocations.php @@ -68,11 +68,16 @@ public function get($name, $optParams = []) } /** * Lists information about the supported locations for this service. This method - * can be called in two ways: * **List all public locations:** Use the path `GET - * /v1/locations`. * **List project-visible locations:** Use the path `GET - * /v1/projects/{project_id}/locations`. This may include public locations as - * well as private or other locations specifically visible to the project. - * (locations.listProjectsLocations) + * lists locations based on the resource scope provided in the + * [ListLocationsRequest.name] field: * **Global locations**: If `name` is + * empty, the method lists the public locations available to all projects. * + * **Project-specific locations**: If `name` follows the format + * `projects/{project}`, the method lists locations visible to that specific + * project. This includes public, private, or other project-specific locations + * enabled for the project. For gRPC and client library implementations, the + * resource name is passed as the `name` field. For direct service calls, the + * resource name is incorporated into the request path based on the specific + * service implementation and version. (locations.listProjectsLocations) * * @param string $name The resource that owns the locations collection, if * applicable.