Skip to content

Commit 4c81699

Browse files
1 parent e0191a2 commit 4c81699

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

src/IDS/Resource/ProjectsLocations.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,17 @@ public function get($name, $optParams = [])
4545
return $this->call('get', [$params], Location::class);
4646
}
4747
/**
48-
* Lists information about the supported locations for this service.
49-
* (locations.listProjectsLocations)
48+
* Lists information about the supported locations for this service. This method
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)
5059
*
5160
* @param string $name The resource that owns the locations collection, if
5261
* applicable.

0 commit comments

Comments
 (0)