Skip to content

Commit 8be9740

Browse files
feat: Automated regeneration of storagetransfer v1 client (#24703)
Auto-created at 2025-10-26 09:22:15 +0000 using the toys pull request generator.
1 parent 7c6b247 commit 8be9740

File tree

6 files changed

+28
-4
lines changed

6 files changed

+28
-4
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366160,6 +366160,8 @@
366160366160
"/storagetransfer:v1/ListOperationsResponse/nextPageToken": next_page_token
366161366161
"/storagetransfer:v1/ListOperationsResponse/operations": operations
366162366162
"/storagetransfer:v1/ListOperationsResponse/operations/operation": operation
366163+
"/storagetransfer:v1/ListOperationsResponse/unreachable": unreachable
366164+
"/storagetransfer:v1/ListOperationsResponse/unreachable/unreachable": unreachable
366163366165
"/storagetransfer:v1/ListTaskSpec": list_task_spec
366164366166
"/storagetransfer:v1/ListTaskSpec/manifest": manifest
366165366167
"/storagetransfer:v1/ListTaskSpec/objectPrefixes": object_prefixes
@@ -366378,6 +366380,7 @@
366378366380
"/storagetransfer:v1/storagetransfer.transferOperations.list/name": name
366379366381
"/storagetransfer:v1/storagetransfer.transferOperations.list/pageSize": page_size
366380366382
"/storagetransfer:v1/storagetransfer.transferOperations.list/pageToken": page_token
366383+
"/storagetransfer:v1/storagetransfer.transferOperations.list/returnPartialSuccess": return_partial_success
366381366384
"/storagetransfer:v1/storagetransfer.transferOperations.pause": pause_transfer_operation
366382366385
"/storagetransfer:v1/storagetransfer.transferOperations.pause/name": name
366383366386
"/storagetransfer:v1/storagetransfer.transferOperations.resume": resume_transfer_operation

generated/google-apis-storagetransfer_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-storagetransfer_v1
22

3+
### v0.60.0 (2025-10-26)
4+
5+
* Regenerated from discovery document revision 20251010
6+
37
### v0.59.0 (2025-08-10)
48

59
* Regenerated from discovery document revision 20250801

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def update!(**args)
400400
end
401401
end
402402

403-
# An entry describing an error that has occurred.
403+
# LINT.IfChange An entry describing an error that has occurred.
404404
class ErrorLogEntry
405405
include Google::Apis::Core::Hashable
406406

@@ -701,6 +701,13 @@ class ListOperationsResponse
701701
# @return [Array<Google::Apis::StoragetransferV1::Operation>]
702702
attr_accessor :operations
703703

704+
# Unordered list. Unreachable resources. Populated when the request sets `
705+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
706+
# when attempting to list all resources across all supported locations.
707+
# Corresponds to the JSON property `unreachable`
708+
# @return [Array<String>]
709+
attr_accessor :unreachable
710+
704711
def initialize(**args)
705712
update!(**args)
706713
end
@@ -709,6 +716,7 @@ def initialize(**args)
709716
def update!(**args)
710717
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
711718
@operations = args[:operations] if args.key?(:operations)
719+
@unreachable = args[:unreachable] if args.key?(:unreachable)
712720
end
713721
end
714722

generated/google-apis-storagetransfer_v1/lib/google/apis/storagetransfer_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 StoragetransferV1
1818
# Version of the google-apis-storagetransfer_v1 gem
19-
GEM_VERSION = "0.59.0"
19+
GEM_VERSION = "0.60.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 = "20250801"
25+
REVISION = "20251010"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
449449
property :next_page_token, as: 'nextPageToken'
450450
collection :operations, as: 'operations', class: Google::Apis::StoragetransferV1::Operation, decorator: Google::Apis::StoragetransferV1::Operation::Representation
451451

452+
collection :unreachable, as: 'unreachable'
452453
end
453454
end
454455

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,6 +592,13 @@ def get_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &bl
592592
# The list page size. The max allowed value is 256.
593593
# @param [String] page_token
594594
# The list page token.
595+
# @param [Boolean] return_partial_success
596+
# When set to `true`, operations that are reachable are returned as normal, and
597+
# those that are unreachable are returned in the [ListOperationsResponse.
598+
# unreachable] field. This can only be `true` when reading across collections e.
599+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
600+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
601+
# explicitly documented otherwise in service or product specific documentation.
595602
# @param [String] fields
596603
# Selector specifying which fields to include in a partial response.
597604
# @param [String] quota_user
@@ -609,14 +616,15 @@ def get_transfer_operation(name, fields: nil, quota_user: nil, options: nil, &bl
609616
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
610617
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
611618
# @raise [Google::Apis::AuthorizationError] Authorization is required
612-
def list_transfer_operations(name, filter, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
619+
def list_transfer_operations(name, filter, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
613620
command = make_simple_command(:get, 'v1/{+name}', options)
614621
command.response_representation = Google::Apis::StoragetransferV1::ListOperationsResponse::Representation
615622
command.response_class = Google::Apis::StoragetransferV1::ListOperationsResponse
616623
command.params['name'] = name unless name.nil?
617624
command.query['filter'] = filter unless filter.nil?
618625
command.query['pageSize'] = page_size unless page_size.nil?
619626
command.query['pageToken'] = page_token unless page_token.nil?
627+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
620628
command.query['fields'] = fields unless fields.nil?
621629
command.query['quotaUser'] = quota_user unless quota_user.nil?
622630
execute_or_queue_command(command, &block)

0 commit comments

Comments
 (0)