Skip to content

Commit f8bc78e

Browse files
1 parent d24dc2a commit f8bc78e

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

src/ServerlessVPCAccess/Resource/ProjectsLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,16 @@ class ProjectsLocations extends \Google\Service\Resource
3131
{
3232
/**
3333
* Lists information about the supported locations for this service. This method
34-
* can be called in two ways: * **List all public locations:** Use the path `GET
35-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
36-
* /v1/projects/{project_id}/locations`. This may include public locations as
37-
* well as private or other locations specifically visible to the project.
38-
* (locations.listProjectsLocations)
34+
* lists locations based on the resource scope provided in the
35+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
36+
* empty, the method lists the public locations available to all projects. *
37+
* **Project-specific locations**: If `name` follows the format
38+
* `projects/{project}`, the method lists locations visible to that specific
39+
* project. This includes public, private, or other project-specific locations
40+
* enabled for the project. For gRPC and client library implementations, the
41+
* resource name is passed as the `name` field. For direct service calls, the
42+
* resource name is incorporated into the request path based on the specific
43+
* service implementation and version. (locations.listProjectsLocations)
3944
*
4045
* @param string $name The resource that owns the locations collection, if
4146
* applicable.

0 commit comments

Comments
 (0)