Skip to content

Commit fb88ce6

Browse files
1 parent 8721edd commit fb88ce6

3 files changed

Lines changed: 30 additions & 15 deletions

File tree

src/CloudObservability/Resource/FoldersLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,16 @@ public function getSettings($name, $optParams = [])
6565
}
6666
/**
6767
* Lists information about the supported locations for this service. This method
68-
* can be called in two ways: * **List all public locations:** Use the path `GET
69-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
70-
* /v1/projects/{project_id}/locations`. This may include public locations as
71-
* well as private or other locations specifically visible to the project.
72-
* (locations.listFoldersLocations)
68+
* lists locations based on the resource scope provided in the
69+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
70+
* empty, the method lists the public locations available to all projects. *
71+
* **Project-specific locations**: If `name` follows the format
72+
* `projects/{project}`, the method lists locations visible to that specific
73+
* project. This includes public, private, or other project-specific locations
74+
* enabled for the project. For gRPC and client library implementations, the
75+
* resource name is passed as the `name` field. For direct service calls, the
76+
* resource name is incorporated into the request path based on the specific
77+
* service implementation and version. (locations.listFoldersLocations)
7378
*
7479
* @param string $name The resource that owns the locations collection, if
7580
* applicable.

src/CloudObservability/Resource/OrganizationsLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,16 @@ public function getSettings($name, $optParams = [])
6565
}
6666
/**
6767
* Lists information about the supported locations for this service. This method
68-
* can be called in two ways: * **List all public locations:** Use the path `GET
69-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
70-
* /v1/projects/{project_id}/locations`. This may include public locations as
71-
* well as private or other locations specifically visible to the project.
72-
* (locations.listOrganizationsLocations)
68+
* lists locations based on the resource scope provided in the
69+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
70+
* empty, the method lists the public locations available to all projects. *
71+
* **Project-specific locations**: If `name` follows the format
72+
* `projects/{project}`, the method lists locations visible to that specific
73+
* project. This includes public, private, or other project-specific locations
74+
* enabled for the project. For gRPC and client library implementations, the
75+
* resource name is passed as the `name` field. For direct service calls, the
76+
* resource name is incorporated into the request path based on the specific
77+
* service implementation and version. (locations.listOrganizationsLocations)
7378
*
7479
* @param string $name The resource that owns the locations collection, if
7580
* applicable.

src/CloudObservability/Resource/ProjectsLocations.php

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,16 @@ public function getSettings($name, $optParams = [])
6565
}
6666
/**
6767
* Lists information about the supported locations for this service. This method
68-
* can be called in two ways: * **List all public locations:** Use the path `GET
69-
* /v1/locations`. * **List project-visible locations:** Use the path `GET
70-
* /v1/projects/{project_id}/locations`. This may include public locations as
71-
* well as private or other locations specifically visible to the project.
72-
* (locations.listProjectsLocations)
68+
* lists locations based on the resource scope provided in the
69+
* [ListLocationsRequest.name] field: * **Global locations**: If `name` is
70+
* empty, the method lists the public locations available to all projects. *
71+
* **Project-specific locations**: If `name` follows the format
72+
* `projects/{project}`, the method lists locations visible to that specific
73+
* project. This includes public, private, or other project-specific locations
74+
* enabled for the project. For gRPC and client library implementations, the
75+
* resource name is passed as the `name` field. For direct service calls, the
76+
* resource name is incorporated into the request path based on the specific
77+
* service implementation and version. (locations.listProjectsLocations)
7378
*
7479
* @param string $name The resource that owns the locations collection, if
7580
* applicable.

0 commit comments

Comments
 (0)