Skip to content

Commit 3f064ad

Browse files
feat: Automated regeneration of cloudscheduler v1 client (#24528)
Auto-created at 2025-10-05 10:29:45 +0000 using the toys pull request generator.
1 parent 1cfa0d8 commit 3f064ad

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
@@ -79011,6 +79011,8 @@
7901179011
"/cloudscheduler:v1/ListOperationsResponse/nextPageToken": next_page_token
7901279012
"/cloudscheduler:v1/ListOperationsResponse/operations": operations
7901379013
"/cloudscheduler:v1/ListOperationsResponse/operations/operation": operation
79014+
"/cloudscheduler:v1/ListOperationsResponse/unreachable": unreachable
79015+
"/cloudscheduler:v1/ListOperationsResponse/unreachable/unreachable": unreachable
7901479016
"/cloudscheduler:v1/Location": location
7901579017
"/cloudscheduler:v1/Location/displayName": display_name
7901679018
"/cloudscheduler:v1/Location/labels": labels
@@ -79117,6 +79119,7 @@
7911779119
"/cloudscheduler:v1/cloudscheduler.projects.locations.operations.list/name": name
7911879120
"/cloudscheduler:v1/cloudscheduler.projects.locations.operations.list/pageSize": page_size
7911979121
"/cloudscheduler:v1/cloudscheduler.projects.locations.operations.list/pageToken": page_token
79122+
"/cloudscheduler:v1/cloudscheduler.projects.locations.operations.list/returnPartialSuccess": return_partial_success
7912079123
"/cloudscheduler:v1/fields": fields
7912179124
"/cloudscheduler:v1/key": key
7912279125
"/cloudscheduler:v1/quotaUser": quota_user

generated/google-apis-cloudscheduler_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-cloudscheduler_v1
22

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

59
* Regenerated from discovery document revision 20250917

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,13 @@ class ListOperationsResponse
524524
# @return [Array<Google::Apis::CloudschedulerV1::Operation>]
525525
attr_accessor :operations
526526

527+
# Unordered list. Unreachable resources. Populated when the request sets `
528+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
529+
# when attempting to list all resources across all supported locations.
530+
# Corresponds to the JSON property `unreachable`
531+
# @return [Array<String>]
532+
attr_accessor :unreachable
533+
527534
def initialize(**args)
528535
update!(**args)
529536
end
@@ -532,6 +539,7 @@ def initialize(**args)
532539
def update!(**args)
533540
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
534541
@operations = args[:operations] if args.key?(:operations)
542+
@unreachable = args[:unreachable] if args.key?(:unreachable)
535543
end
536544
end
537545

generated/google-apis-cloudscheduler_v1/lib/google/apis/cloudscheduler_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 CloudschedulerV1
1818
# Version of the google-apis-cloudscheduler_v1 gem
19-
GEM_VERSION = "0.40.0"
19+
GEM_VERSION = "0.41.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 = "20250917"
25+
REVISION = "20250925"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
246246
property :next_page_token, as: 'nextPageToken'
247247
collection :operations, as: 'operations', class: Google::Apis::CloudschedulerV1::Operation, decorator: Google::Apis::CloudschedulerV1::Operation::Representation
248248

249+
collection :unreachable, as: 'unreachable'
249250
end
250251
end
251252

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,13 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
537537
# The standard list page size.
538538
# @param [String] page_token
539539
# The standard list page token.
540+
# @param [Boolean] return_partial_success
541+
# When set to `true`, operations that are reachable are returned as normal, and
542+
# those that are unreachable are returned in the [ListOperationsResponse.
543+
# unreachable] field. This can only be `true` when reading across collections e.
544+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
545+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
546+
# explicitly documented otherwise in service or product specific documentation.
540547
# @param [String] fields
541548
# Selector specifying which fields to include in a partial response.
542549
# @param [String] quota_user
@@ -554,14 +561,15 @@ def get_project_location_operation(name, fields: nil, quota_user: nil, options:
554561
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
555562
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
556563
# @raise [Google::Apis::AuthorizationError] Authorization is required
557-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
564+
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)
558565
command = make_simple_command(:get, 'v1/{+name}/operations', options)
559566
command.response_representation = Google::Apis::CloudschedulerV1::ListOperationsResponse::Representation
560567
command.response_class = Google::Apis::CloudschedulerV1::ListOperationsResponse
561568
command.params['name'] = name unless name.nil?
562569
command.query['filter'] = filter unless filter.nil?
563570
command.query['pageSize'] = page_size unless page_size.nil?
564571
command.query['pageToken'] = page_token unless page_token.nil?
572+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
565573
command.query['fields'] = fields unless fields.nil?
566574
command.query['quotaUser'] = quota_user unless quota_user.nil?
567575
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)