Skip to content

Commit 48d90ac

Browse files
feat: Automated regeneration of ids v1 client (#24798)
Auto-created at 2025-11-02 09:39:53 +0000 using the toys pull request generator.
1 parent 4ea5fff commit 48d90ac

File tree

6 files changed

+31
-6
lines changed

6 files changed

+31
-6
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277982,6 +277982,8 @@
277982277982
"/ids:v1/ListOperationsResponse/nextPageToken": next_page_token
277983277983
"/ids:v1/ListOperationsResponse/operations": operations
277984277984
"/ids:v1/ListOperationsResponse/operations/operation": operation
277985+
"/ids:v1/ListOperationsResponse/unreachable": unreachable
277986+
"/ids:v1/ListOperationsResponse/unreachable/unreachable": unreachable
277985277987
"/ids:v1/Location": location
277986277988
"/ids:v1/Location/displayName": display_name
277987277989
"/ids:v1/Location/labels": labels
@@ -278074,6 +278076,7 @@
278074278076
"/ids:v1/ids.projects.locations.operations.list/name": name
278075278077
"/ids:v1/ids.projects.locations.operations.list/pageSize": page_size
278076278078
"/ids:v1/ids.projects.locations.operations.list/pageToken": page_token
278079+
"/ids:v1/ids.projects.locations.operations.list/returnPartialSuccess": return_partial_success
278077278080
"/ids:v1/key": key
278078278081
"/ids:v1/quotaUser": quota_user
278079278082
"/indexing:v3/PublishUrlNotificationResponse": publish_url_notification_response

generated/google-apis-ids_v1/CHANGELOG.md

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

3+
### v0.22.0 (2025-11-02)
4+
5+
* Regenerated from discovery document revision 20251020
6+
* Regenerated using generator version 0.18.0
7+
38
### v0.21.0 (2025-05-04)
49

510
* Regenerated using generator version 0.17.0

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,13 @@ class ListOperationsResponse
224224
# @return [Array<Google::Apis::IdsV1::Operation>]
225225
attr_accessor :operations
226226

227+
# Unordered list. Unreachable resources. Populated when the request sets `
228+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
229+
# when attempting to list all resources across all supported locations.
230+
# Corresponds to the JSON property `unreachable`
231+
# @return [Array<String>]
232+
attr_accessor :unreachable
233+
227234
def initialize(**args)
228235
update!(**args)
229236
end
@@ -232,6 +239,7 @@ def initialize(**args)
232239
def update!(**args)
233240
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
234241
@operations = args[:operations] if args.key?(:operations)
242+
@unreachable = args[:unreachable] if args.key?(:unreachable)
235243
end
236244
end
237245

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module IdsV1
1818
# Version of the google-apis-ids_v1 gem
19-
GEM_VERSION = "0.21.0"
19+
GEM_VERSION = "0.22.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.17.0"
22+
GENERATOR_VERSION = "0.18.0"
2323

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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
139139
property :next_page_token, as: 'nextPageToken'
140140
collection :operations, as: 'operations', class: Google::Apis::IdsV1::Operation, decorator: Google::Apis::IdsV1::Operation::Representation
141141

142+
collection :unreachable, as: 'unreachable'
142143
end
143144
end
144145

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

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ def get_project_location(name, fields: nil, quota_user: nil, options: nil, &bloc
8989
# @param [String] name
9090
# The resource that owns the locations collection, if applicable.
9191
# @param [Array<String>, String] extra_location_types
92-
# Optional. A list of extra location types that should be used as conditions for
93-
# controlling the visibility of the locations.
92+
# Optional. Unless explicitly documented otherwise, don't use this unsupported
93+
# field which is primarily intended for internal usage.
9494
# @param [String] filter
9595
# A filter to narrow down results to a preferred subset. The filtering language
9696
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -469,6 +469,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
469469
# The standard list page size.
470470
# @param [String] page_token
471471
# The standard list page token.
472+
# @param [Boolean] return_partial_success
473+
# When set to `true`, operations that are reachable are returned as normal, and
474+
# those that are unreachable are returned in the [ListOperationsResponse.
475+
# unreachable] field. This can only be `true` when reading across collections e.
476+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
477+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
478+
# explicitly documented otherwise in service or product specific documentation.
472479
# @param [String] fields
473480
# Selector specifying which fields to include in a partial response.
474481
# @param [String] quota_user
@@ -486,14 +493,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
486493
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
487494
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
488495
# @raise [Google::Apis::AuthorizationError] Authorization is required
489-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
496+
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)
490497
command = make_simple_command(:get, 'v1/{+name}/operations', options)
491498
command.response_representation = Google::Apis::IdsV1::ListOperationsResponse::Representation
492499
command.response_class = Google::Apis::IdsV1::ListOperationsResponse
493500
command.params['name'] = name unless name.nil?
494501
command.query['filter'] = filter unless filter.nil?
495502
command.query['pageSize'] = page_size unless page_size.nil?
496503
command.query['pageToken'] = page_token unless page_token.nil?
504+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
497505
command.query['fields'] = fields unless fields.nil?
498506
command.query['quotaUser'] = quota_user unless quota_user.nil?
499507
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)