From c32d35d904e07ae7a60fffcd9fc5fa704a5af9da Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Sun, 8 Feb 2026 17:09:43 -0800 Subject: [PATCH] Regenerate domains client --- src/CloudDomains.php | 4 +++ src/CloudDomains/ListOperationsResponse.php | 30 ++++++++++++++++++- .../Resource/ProjectsLocations.php | 12 +++++--- .../Resource/ProjectsLocationsOperations.php | 7 +++++ 4 files changed, 48 insertions(+), 5 deletions(-) diff --git a/src/CloudDomains.php b/src/CloudDomains.php index 965f3424126..026c6ebd255 100644 --- a/src/CloudDomains.php +++ b/src/CloudDomains.php @@ -144,6 +144,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null) 'location' => 'query', 'type' => 'string', ], + 'returnPartialSuccess' => [ + 'location' => 'query', + 'type' => 'boolean', + ], ], ], ] diff --git a/src/CloudDomains/ListOperationsResponse.php b/src/CloudDomains/ListOperationsResponse.php index 4e7f3555a87..da55b9e5913 100644 --- a/src/CloudDomains/ListOperationsResponse.php +++ b/src/CloudDomains/ListOperationsResponse.php @@ -19,7 +19,7 @@ class ListOperationsResponse extends \Google\Collection { - protected $collection_key = 'operations'; + protected $collection_key = 'unreachable'; /** * The standard List next-page token. * @@ -28,6 +28,15 @@ class ListOperationsResponse extends \Google\Collection public $nextPageToken; protected $operationsType = Operation::class; protected $operationsDataType = 'array'; + /** + * Unordered list. Unreachable resources. Populated when the request sets + * `ListOperationsRequest.return_partial_success` and reads across + * collections. For example, when attempting to list all resources across all + * supported locations. + * + * @var string[] + */ + public $unreachable; /** * The standard List next-page token. @@ -61,6 +70,25 @@ public function getOperations() { return $this->operations; } + /** + * Unordered list. Unreachable resources. Populated when the request sets + * `ListOperationsRequest.return_partial_success` and reads across + * collections. For example, when attempting to list all resources across all + * supported locations. + * + * @param string[] $unreachable + */ + public function setUnreachable($unreachable) + { + $this->unreachable = $unreachable; + } + /** + * @return string[] + */ + public function getUnreachable() + { + return $this->unreachable; + } } // Adding a class alias for backwards compatibility with the previous class name. diff --git a/src/CloudDomains/Resource/ProjectsLocations.php b/src/CloudDomains/Resource/ProjectsLocations.php index 3ae39a022ef..aa01ea373de 100644 --- a/src/CloudDomains/Resource/ProjectsLocations.php +++ b/src/CloudDomains/Resource/ProjectsLocations.php @@ -45,16 +45,20 @@ public function get($name, $optParams = []) return $this->call('get', [$params], Location::class); } /** - * Lists information about the supported locations for this service. + * 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) * * @param string $name The resource that owns the locations collection, if * applicable. * @param array $optParams Optional parameters. * - * @opt_param string extraLocationTypes Optional. Unless explicitly documented - * otherwise, don't use this unsupported field which is primarily intended for - * internal usage. + * @opt_param string extraLocationTypes Optional. Do not use this field. It is + * unsupported and is ignored unless explicitly documented otherwise. This is + * primarily for internal usage. * @opt_param string filter A filter to narrow down results to a preferred * subset. The filtering language accepts strings like `"displayName=tokyo"`, * and is documented in more detail in [AIP-160](https://google.aip.dev/160). diff --git a/src/CloudDomains/Resource/ProjectsLocationsOperations.php b/src/CloudDomains/Resource/ProjectsLocationsOperations.php index 5739d040dac..a4e697ca19d 100644 --- a/src/CloudDomains/Resource/ProjectsLocationsOperations.php +++ b/src/CloudDomains/Resource/ProjectsLocationsOperations.php @@ -57,6 +57,13 @@ public function get($name, $optParams = []) * @opt_param string filter The standard list filter. * @opt_param int pageSize The standard list page size. * @opt_param string pageToken The standard list page token. + * @opt_param bool returnPartialSuccess When set to `true`, operations that are + * reachable are returned as normal, and those that are unreachable are returned + * in the ListOperationsResponse.unreachable field. This can only be `true` when + * reading across collections. For example, when `parent` is set to + * `"projects/example/locations/-"`. This field is not supported by default and + * will result in an `UNIMPLEMENTED` error if set unless explicitly documented + * otherwise in service or product specific documentation. * @return ListOperationsResponse * @throws \Google\Service\Exception */