Skip to content

Commit 805807c

Browse files
1 parent 16b7eff commit 805807c

2 files changed

Lines changed: 32 additions & 5 deletions

File tree

src/BackupforGKE/BDRBackupRestoreJobLog.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ class BDRBackupRestoreJobLog extends \Google\Model
5858
* @var string
5959
*/
6060
public $backupVaultName;
61+
/**
62+
* Canonical Data Source Name
63+
*
64+
* @var string
65+
*/
66+
public $dataSourceName;
6167
/**
6268
* End time of the job.
6369
*
@@ -255,6 +261,22 @@ public function getBackupVaultName()
255261
{
256262
return $this->backupVaultName;
257263
}
264+
/**
265+
* Canonical Data Source Name
266+
*
267+
* @param string $dataSourceName
268+
*/
269+
public function setDataSourceName($dataSourceName)
270+
{
271+
$this->dataSourceName = $dataSourceName;
272+
}
273+
/**
274+
* @return string
275+
*/
276+
public function getDataSourceName()
277+
{
278+
return $this->dataSourceName;
279+
}
258280
/**
259281
* End time of the job.
260282
*

src/BackupforGKE/Resource/ProjectsLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,16 @@ public function get($name, $optParams = [])
4646
}
4747
/**
4848
* Lists information about the supported locations for this service. This method
49-
* can be called in two ways: * **List all public locations:** Use the path `GET
50-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
51-
* /v1/projects/{project_id}/locations`. This may include public locations as
52-
* well as private or other locations specifically visible to the project.
53-
* (locations.listProjectsLocations)
49+
* lists locations based on the resource scope provided in the
50+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
51+
* empty, the method lists the public locations available to all projects. *
52+
* **Project-specific locations**: If `name` follows the format
53+
* `projects/{project}`, the method lists locations visible to that specific
54+
* project. This includes public, private, or other project-specific locations
55+
* enabled for the project. For gRPC and client library implementations, the
56+
* resource name is passed as the `name` field. For direct service calls, the
57+
* resource name is incorporated into the request path based on the specific
58+
* service implementation and version. (locations.listProjectsLocations)
5459
*
5560
* @param string $name The resource that owns the locations collection, if
5661
* applicable.

0 commit comments

Comments
 (0)