diff --git a/src/VMMigrationService/Resource/ProjectsLocations.php b/src/VMMigrationService/Resource/ProjectsLocations.php index 11a57368e53..54d9f25a47a 100644 --- a/src/VMMigrationService/Resource/ProjectsLocations.php +++ b/src/VMMigrationService/Resource/ProjectsLocations.php @@ -46,11 +46,16 @@ public function get($name, $optParams = []) } /** * Lists information about the supported locations for this service. This method - * can be called in two ways: * **List all public locations:** Use the path `GET - * /v1/locations`. * **List project-visible locations:** Use the path `GET - * /v1/projects/{project_id}/locations`. This may include public locations as - * well as private or other locations specifically visible to the project. - * (locations.listProjectsLocations) + * lists locations based on the resource scope provided in the + * [ListLocationsRequest.name] field: * **Global locations**: If `name` is + * empty, the method lists the public locations available to all projects. * + * **Project-specific locations**: If `name` follows the format + * `projects/{project}`, the method lists locations visible to that specific + * project. This includes public, private, or other project-specific locations + * enabled for the project. For gRPC and client library implementations, the + * resource name is passed as the `name` field. For direct service calls, the + * resource name is incorporated into the request path based on the specific + * service implementation and version. (locations.listProjectsLocations) * * @param string $name The resource that owns the locations collection, if * applicable.