diff --git a/api_names_out.yaml b/api_names_out.yaml index 8649edff29a..3f71ab3da35 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -259244,6 +259244,8 @@ "/gkehub:v1/ListOperationsResponse/nextPageToken": next_page_token "/gkehub:v1/ListOperationsResponse/operations": operations "/gkehub:v1/ListOperationsResponse/operations/operation": operation +"/gkehub:v1/ListOperationsResponse/unreachable": unreachable +"/gkehub:v1/ListOperationsResponse/unreachable/unreachable": unreachable "/gkehub:v1/ListPermittedScopesResponse": list_permitted_scopes_response "/gkehub:v1/ListPermittedScopesResponse/nextPageToken": next_page_token "/gkehub:v1/ListPermittedScopesResponse/scopes": scopes @@ -259692,6 +259694,7 @@ "/gkehub:v1/gkehub.projects.locations.operations.list/name": name "/gkehub:v1/gkehub.projects.locations.operations.list/pageSize": page_size "/gkehub:v1/gkehub.projects.locations.operations.list/pageToken": page_token +"/gkehub:v1/gkehub.projects.locations.operations.list/returnPartialSuccess": return_partial_success "/gkehub:v1/gkehub.projects.locations.scopes.create": create_project_location_scope "/gkehub:v1/gkehub.projects.locations.scopes.create/parent": parent "/gkehub:v1/gkehub.projects.locations.scopes.create/scopeId": scope_id diff --git a/generated/google-apis-gkehub_v1/CHANGELOG.md b/generated/google-apis-gkehub_v1/CHANGELOG.md index 705d5887cd5..fa7b11bb132 100644 --- a/generated/google-apis-gkehub_v1/CHANGELOG.md +++ b/generated/google-apis-gkehub_v1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-gkehub_v1 +### v0.91.0 (2025-10-05) + +* Regenerated from discovery document revision 20250925 + ### v0.90.0 (2025-09-14) * Regenerated from discovery document revision 20250907 diff --git a/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/classes.rb b/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/classes.rb index e9b721d03e4..377b389f6c7 100644 --- a/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/classes.rb +++ b/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/classes.rb @@ -3756,6 +3756,13 @@ class ListOperationsResponse # @return [Array] attr_accessor :operations + # Unordered list. Unreachable resources. Populated when the request sets ` + # ListOperationsRequest.return_partial_success` and reads across collections e.g. + # when attempting to list all resources across all supported locations. + # Corresponds to the JSON property `unreachable` + # @return [Array] + attr_accessor :unreachable + def initialize(**args) update!(**args) end @@ -3764,6 +3771,7 @@ def initialize(**args) def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @operations = args[:operations] if args.key?(:operations) + @unreachable = args[:unreachable] if args.key?(:unreachable) end end diff --git a/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/gem_version.rb b/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/gem_version.rb index 1928d8c581b..b8da6fddae0 100644 --- a/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/gem_version.rb +++ b/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module GkehubV1 # Version of the google-apis-gkehub_v1 gem - GEM_VERSION = "0.90.0" + GEM_VERSION = "0.91.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250907" + REVISION = "20250925" end end end diff --git a/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/representations.rb b/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/representations.rb index 468779ce803..4804d3ce5cb 100644 --- a/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/representations.rb +++ b/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/representations.rb @@ -2054,6 +2054,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :next_page_token, as: 'nextPageToken' collection :operations, as: 'operations', class: Google::Apis::GkehubV1::Operation, decorator: Google::Apis::GkehubV1::Operation::Representation + collection :unreachable, as: 'unreachable' end end diff --git a/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/service.rb b/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/service.rb index 79acbcbc4fc..26c37489b17 100644 --- a/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/service.rb +++ b/generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/service.rb @@ -1649,6 +1649,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options: # The standard list page size. # @param [String] page_token # The standard list page token. + # @param [Boolean] return_partial_success + # 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 e. + # g. when `parent` is set to `"projects/example/locations/-"`. This field is not + # by default supported and will result in an `UNIMPLEMENTED` error if set unless + # explicitly documented otherwise in service or product specific documentation. # @param [String] fields # Selector specifying which fields to include in a partial response. # @param [String] quota_user @@ -1666,7 +1673,7 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options: # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification # @raise [Google::Apis::AuthorizationError] Authorization is required - def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1/{+name}/operations', options) command.response_representation = Google::Apis::GkehubV1::ListOperationsResponse::Representation command.response_class = Google::Apis::GkehubV1::ListOperationsResponse @@ -1674,6 +1681,7 @@ def list_project_location_operations(name, filter: nil, page_size: nil, page_tok command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? + command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block)