Skip to content

Commit 24a734a

Browse files
feat: Automated regeneration of gkehub v1beta1 client (#24512)
Auto-created at 2025-10-05 10:16:46 +0000 using the toys pull request generator.
1 parent 3676e1b commit 24a734a

File tree

6 files changed

+27
-3
lines changed

6 files changed

+27
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262931,6 +262931,8 @@
262931262931
"/gkehub:v1beta1/ListOperationsResponse/nextPageToken": next_page_token
262932262932
"/gkehub:v1beta1/ListOperationsResponse/operations": operations
262933262933
"/gkehub:v1beta1/ListOperationsResponse/operations/operation": operation
262934+
"/gkehub:v1beta1/ListOperationsResponse/unreachable": unreachable
262935+
"/gkehub:v1beta1/ListOperationsResponse/unreachable/unreachable": unreachable
262934262936
"/gkehub:v1beta1/Location": location
262935262937
"/gkehub:v1beta1/Location/displayName": display_name
262936262938
"/gkehub:v1beta1/Location/labels": labels
@@ -263091,6 +263093,7 @@
263091263093
"/gkehub:v1beta1/gkehub.projects.locations.operations.list/name": name
263092263094
"/gkehub:v1beta1/gkehub.projects.locations.operations.list/pageSize": page_size
263093263095
"/gkehub:v1beta1/gkehub.projects.locations.operations.list/pageToken": page_token
263096+
"/gkehub:v1beta1/gkehub.projects.locations.operations.list/returnPartialSuccess": return_partial_success
263094263097
"/gkehub:v1beta1/key": key
263095263098
"/gkehub:v1beta1/quotaUser": quota_user
263096263099
"/gkehub:v2/AppDevExperienceState": app_dev_experience_state

generated/google-apis-gkehub_v1beta1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-gkehub_v1beta1
22

3+
### v0.49.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250925
6+
37
### v0.48.0 (2025-09-14)
48

59
* Regenerated from discovery document revision 20250907

generated/google-apis-gkehub_v1beta1/lib/google/apis/gkehub_v1beta1/classes.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,13 @@ class ListOperationsResponse
713713
# @return [Array<Google::Apis::GkehubV1beta1::Operation>]
714714
attr_accessor :operations
715715

716+
# Unordered list. Unreachable resources. Populated when the request sets `
717+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
718+
# when attempting to list all resources across all supported locations.
719+
# Corresponds to the JSON property `unreachable`
720+
# @return [Array<String>]
721+
attr_accessor :unreachable
722+
716723
def initialize(**args)
717724
update!(**args)
718725
end
@@ -721,6 +728,7 @@ def initialize(**args)
721728
def update!(**args)
722729
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
723730
@operations = args[:operations] if args.key?(:operations)
731+
@unreachable = args[:unreachable] if args.key?(:unreachable)
724732
end
725733
end
726734

generated/google-apis-gkehub_v1beta1/lib/google/apis/gkehub_v1beta1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module GkehubV1beta1
1818
# Version of the google-apis-gkehub_v1beta1 gem
19-
GEM_VERSION = "0.48.0"
19+
GEM_VERSION = "0.49.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250907"
25+
REVISION = "20250925"
2626
end
2727
end
2828
end

generated/google-apis-gkehub_v1beta1/lib/google/apis/gkehub_v1beta1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
405405
property :next_page_token, as: 'nextPageToken'
406406
collection :operations, as: 'operations', class: Google::Apis::GkehubV1beta1::Operation, decorator: Google::Apis::GkehubV1beta1::Operation::Representation
407407

408+
collection :unreachable, as: 'unreachable'
408409
end
409410
end
410411

generated/google-apis-gkehub_v1beta1/lib/google/apis/gkehub_v1beta1/service.rb

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
756756
# The standard list page size.
757757
# @param [String] page_token
758758
# The standard list page token.
759+
# @param [Boolean] return_partial_success
760+
# When set to `true`, operations that are reachable are returned as normal, and
761+
# those that are unreachable are returned in the [ListOperationsResponse.
762+
# unreachable] field. This can only be `true` when reading across collections e.
763+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
764+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
765+
# explicitly documented otherwise in service or product specific documentation.
759766
# @param [String] fields
760767
# Selector specifying which fields to include in a partial response.
761768
# @param [String] quota_user
@@ -773,14 +780,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
773780
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
774781
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
775782
# @raise [Google::Apis::AuthorizationError] Authorization is required
776-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
783+
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)
777784
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
778785
command.response_representation = Google::Apis::GkehubV1beta1::ListOperationsResponse::Representation
779786
command.response_class = Google::Apis::GkehubV1beta1::ListOperationsResponse
780787
command.params['name'] = name unless name.nil?
781788
command.query['filter'] = filter unless filter.nil?
782789
command.query['pageSize'] = page_size unless page_size.nil?
783790
command.query['pageToken'] = page_token unless page_token.nil?
791+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
784792
command.query['fields'] = fields unless fields.nil?
785793
command.query['quotaUser'] = quota_user unless quota_user.nil?
786794
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)