File tree Expand file tree Collapse file tree
src/DatabaseMigrationService Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ class PostgreSqlConnectionProfile extends \Google\Model
4848 * @var string
4949 */
5050 public $ database ;
51+ /**
52+ * Optional. If true, Database Migration Service will use IAM database
53+ * authentication to connect to the database.
54+ *
55+ * @var bool
56+ */
57+ public $ enableIamAuthentication ;
5158 protected $ forwardSshConnectivityType = ForwardSshTunnelConnectivity::class;
5259 protected $ forwardSshConnectivityDataType = '' ;
5360 /**
@@ -151,6 +158,23 @@ public function getDatabase()
151158 {
152159 return $ this ->database ;
153160 }
161+ /**
162+ * Optional. If true, Database Migration Service will use IAM database
163+ * authentication to connect to the database.
164+ *
165+ * @param bool $enableIamAuthentication
166+ */
167+ public function setEnableIamAuthentication ($ enableIamAuthentication )
168+ {
169+ $ this ->enableIamAuthentication = $ enableIamAuthentication ;
170+ }
171+ /**
172+ * @return bool
173+ */
174+ public function getEnableIamAuthentication ()
175+ {
176+ return $ this ->enableIamAuthentication ;
177+ }
154178 /**
155179 * Forward SSH tunnel connectivity.
156180 *
Original file line number Diff line number Diff line change @@ -68,11 +68,16 @@ public function get($name, $optParams = [])
6868 }
6969 /**
7070 * Lists information about the supported locations for this service. This method
71- * can be called in two ways: * **List all public locations:** Use the path `GET
72- * /v1/locations`. * **List project-visible locations:** Use the path `GET
73- * /v1/projects/{project_id}/locations`. This may include public locations as
74- * well as private or other locations specifically visible to the project.
75- * (locations.listProjectsLocations)
71+ * lists locations based on the resource scope provided in the
72+ * [ListLocationsRequest.name] field: * **Global locations**: If `name` is
73+ * empty, the method lists the public locations available to all projects. *
74+ * **Project-specific locations**: If `name` follows the format
75+ * `projects/{project}`, the method lists locations visible to that specific
76+ * project. This includes public, private, or other project-specific locations
77+ * enabled for the project. For gRPC and client library implementations, the
78+ * resource name is passed as the `name` field. For direct service calls, the
79+ * resource name is incorporated into the request path based on the specific
80+ * service implementation and version. (locations.listProjectsLocations)
7681 *
7782 * @param string $name The resource that owns the locations collection, if
7883 * applicable.
You can’t perform that action at this time.
0 commit comments