Skip to content

Commit cedbe0d

Browse files
feat: Automated regeneration of gkehub v1 client
1 parent ef45c13 commit cedbe0d

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
@@ -259244,6 +259244,8 @@
259244259244
"/gkehub:v1/ListOperationsResponse/nextPageToken": next_page_token
259245259245
"/gkehub:v1/ListOperationsResponse/operations": operations
259246259246
"/gkehub:v1/ListOperationsResponse/operations/operation": operation
259247+
"/gkehub:v1/ListOperationsResponse/unreachable": unreachable
259248+
"/gkehub:v1/ListOperationsResponse/unreachable/unreachable": unreachable
259247259249
"/gkehub:v1/ListPermittedScopesResponse": list_permitted_scopes_response
259248259250
"/gkehub:v1/ListPermittedScopesResponse/nextPageToken": next_page_token
259249259251
"/gkehub:v1/ListPermittedScopesResponse/scopes": scopes
@@ -259692,6 +259694,7 @@
259692259694
"/gkehub:v1/gkehub.projects.locations.operations.list/name": name
259693259695
"/gkehub:v1/gkehub.projects.locations.operations.list/pageSize": page_size
259694259696
"/gkehub:v1/gkehub.projects.locations.operations.list/pageToken": page_token
259697+
"/gkehub:v1/gkehub.projects.locations.operations.list/returnPartialSuccess": return_partial_success
259695259698
"/gkehub:v1/gkehub.projects.locations.scopes.create": create_project_location_scope
259696259699
"/gkehub:v1/gkehub.projects.locations.scopes.create/parent": parent
259697259700
"/gkehub:v1/gkehub.projects.locations.scopes.create/scopeId": scope_id

generated/google-apis-gkehub_v1/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_v1
22

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

59
* Regenerated from discovery document revision 20250907

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3756,6 +3756,13 @@ class ListOperationsResponse
37563756
# @return [Array<Google::Apis::GkehubV1::Operation>]
37573757
attr_accessor :operations
37583758

3759+
# Unordered list. Unreachable resources. Populated when the request sets `
3760+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
3761+
# when attempting to list all resources across all supported locations.
3762+
# Corresponds to the JSON property `unreachable`
3763+
# @return [Array<String>]
3764+
attr_accessor :unreachable
3765+
37593766
def initialize(**args)
37603767
update!(**args)
37613768
end
@@ -3764,6 +3771,7 @@ def initialize(**args)
37643771
def update!(**args)
37653772
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
37663773
@operations = args[:operations] if args.key?(:operations)
3774+
@unreachable = args[:unreachable] if args.key?(:unreachable)
37673775
end
37683776
end
37693777

generated/google-apis-gkehub_v1/lib/google/apis/gkehub_v1/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 GkehubV1
1818
# Version of the google-apis-gkehub_v1 gem
19-
GEM_VERSION = "0.90.0"
19+
GEM_VERSION = "0.91.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_v1/lib/google/apis/gkehub_v1/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2054,6 +2054,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
20542054
property :next_page_token, as: 'nextPageToken'
20552055
collection :operations, as: 'operations', class: Google::Apis::GkehubV1::Operation, decorator: Google::Apis::GkehubV1::Operation::Representation
20562056

2057+
collection :unreachable, as: 'unreachable'
20572058
end
20582059
end
20592060

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
16491649
# The standard list page size.
16501650
# @param [String] page_token
16511651
# The standard list page token.
1652+
# @param [Boolean] return_partial_success
1653+
# When set to `true`, operations that are reachable are returned as normal, and
1654+
# those that are unreachable are returned in the [ListOperationsResponse.
1655+
# unreachable] field. This can only be `true` when reading across collections e.
1656+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1657+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1658+
# explicitly documented otherwise in service or product specific documentation.
16521659
# @param [String] fields
16531660
# Selector specifying which fields to include in a partial response.
16541661
# @param [String] quota_user
@@ -1666,14 +1673,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
16661673
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
16671674
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
16681675
# @raise [Google::Apis::AuthorizationError] Authorization is required
1669-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1676+
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)
16701677
command = make_simple_command(:get, 'v1/{+name}/operations', options)
16711678
command.response_representation = Google::Apis::GkehubV1::ListOperationsResponse::Representation
16721679
command.response_class = Google::Apis::GkehubV1::ListOperationsResponse
16731680
command.params['name'] = name unless name.nil?
16741681
command.query['filter'] = filter unless filter.nil?
16751682
command.query['pageSize'] = page_size unless page_size.nil?
16761683
command.query['pageToken'] = page_token unless page_token.nil?
1684+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
16771685
command.query['fields'] = fields unless fields.nil?
16781686
command.query['quotaUser'] = quota_user unless quota_user.nil?
16791687
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)