Skip to content

Commit 7051c41

Browse files
feat: Automated regeneration of config v1 client (#24532)
Auto-created at 2025-10-05 10:34:36 +0000 using the toys pull request generator.
1 parent 9ca02ae commit 7051c41

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
@@ -127184,6 +127184,8 @@
127184127184
"/config:v1/ListOperationsResponse/nextPageToken": next_page_token
127185127185
"/config:v1/ListOperationsResponse/operations": operations
127186127186
"/config:v1/ListOperationsResponse/operations/operation": operation
127187+
"/config:v1/ListOperationsResponse/unreachable": unreachable
127188+
"/config:v1/ListOperationsResponse/unreachable/unreachable": unreachable
127187127189
"/config:v1/ListPreviewsResponse": list_previews_response
127188127190
"/config:v1/ListPreviewsResponse/nextPageToken": next_page_token
127189127191
"/config:v1/ListPreviewsResponse/previews": previews
@@ -127491,6 +127493,7 @@
127491127493
"/config:v1/config.projects.locations.operations.list/name": name
127492127494
"/config:v1/config.projects.locations.operations.list/pageSize": page_size
127493127495
"/config:v1/config.projects.locations.operations.list/pageToken": page_token
127496+
"/config:v1/config.projects.locations.operations.list/returnPartialSuccess": return_partial_success
127494127497
"/config:v1/config.projects.locations.previews.create": create_project_location_preview
127495127498
"/config:v1/config.projects.locations.previews.create/parent": parent
127496127499
"/config:v1/config.projects.locations.previews.create/previewId": preview_id

generated/google-apis-config_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-config_v1
22

3+
### v0.14.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250924
6+
37
### v0.13.0 (2025-09-21)
48

59
* Regenerated from discovery document revision 20250907

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,13 @@ class ListOperationsResponse
743743
# @return [Array<Google::Apis::ConfigV1::Operation>]
744744
attr_accessor :operations
745745

746+
# Unordered list. Unreachable resources. Populated when the request sets `
747+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
748+
# when attempting to list all resources across all supported locations.
749+
# Corresponds to the JSON property `unreachable`
750+
# @return [Array<String>]
751+
attr_accessor :unreachable
752+
746753
def initialize(**args)
747754
update!(**args)
748755
end
@@ -751,6 +758,7 @@ def initialize(**args)
751758
def update!(**args)
752759
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
753760
@operations = args[:operations] if args.key?(:operations)
761+
@unreachable = args[:unreachable] if args.key?(:unreachable)
754762
end
755763
end
756764

generated/google-apis-config_v1/lib/google/apis/config_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 ConfigV1
1818
# Version of the google-apis-config_v1 gem
19-
GEM_VERSION = "0.13.0"
19+
GEM_VERSION = "0.14.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 = "20250924"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
543543
property :next_page_token, as: 'nextPageToken'
544544
collection :operations, as: 'operations', class: Google::Apis::ConfigV1::Operation, decorator: Google::Apis::ConfigV1::Operation::Representation
545545

546+
collection :unreachable, as: 'unreachable'
546547
end
547548
end
548549

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,6 +1016,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
10161016
# The standard list page size.
10171017
# @param [String] page_token
10181018
# The standard list page token.
1019+
# @param [Boolean] return_partial_success
1020+
# When set to `true`, operations that are reachable are returned as normal, and
1021+
# those that are unreachable are returned in the [ListOperationsResponse.
1022+
# unreachable] field. This can only be `true` when reading across collections e.
1023+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1024+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
1025+
# explicitly documented otherwise in service or product specific documentation.
10191026
# @param [String] fields
10201027
# Selector specifying which fields to include in a partial response.
10211028
# @param [String] quota_user
@@ -1033,14 +1040,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
10331040
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10341041
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10351042
# @raise [Google::Apis::AuthorizationError] Authorization is required
1036-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1043+
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)
10371044
command = make_simple_command(:get, 'v1/{+name}/operations', options)
10381045
command.response_representation = Google::Apis::ConfigV1::ListOperationsResponse::Representation
10391046
command.response_class = Google::Apis::ConfigV1::ListOperationsResponse
10401047
command.params['name'] = name unless name.nil?
10411048
command.query['filter'] = filter unless filter.nil?
10421049
command.query['pageSize'] = page_size unless page_size.nil?
10431050
command.query['pageToken'] = page_token unless page_token.nil?
1051+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
10441052
command.query['fields'] = fields unless fields.nil?
10451053
command.query['quotaUser'] = quota_user unless quota_user.nil?
10461054
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)