Skip to content

Commit 93c1a0a

Browse files
feat: Automated regeneration of storage v1 client (#24498)
Auto-created at 2025-10-05 09:59:28 +0000 using the toys pull request generator.
1 parent 4137528 commit 93c1a0a

File tree

6 files changed

+22
-3
lines changed

6 files changed

+22
-3
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361233,6 +361233,8 @@
361233361233
"/storage:v1/Buckets/items/item": item
361234361234
"/storage:v1/Buckets/kind": kind
361235361235
"/storage:v1/Buckets/nextPageToken": next_page_token
361236+
"/storage:v1/Buckets/unreachable": unreachable
361237+
"/storage:v1/Buckets/unreachable/unreachable": unreachable
361236361238
"/storage:v1/BulkRestoreObjectsRequest": bulk_restore_objects_request
361237361239
"/storage:v1/BulkRestoreObjectsRequest/allowOverwrite": allow_overwrite
361238361240
"/storage:v1/BulkRestoreObjectsRequest/copySourceAcl": copy_source_acl
@@ -361561,6 +361563,7 @@
361561361563
"/storage:v1/storage.buckets.list/project": project
361562361564
"/storage:v1/storage.buckets.list/projection": projection
361563361565
"/storage:v1/storage.buckets.list/provisionalUserProject": provisional_user_project
361566+
"/storage:v1/storage.buckets.list/returnPartialSuccess": return_partial_success
361564361567
"/storage:v1/storage.buckets.list/softDeleted": soft_deleted
361565361568
"/storage:v1/storage.buckets.list/userProject": user_project
361566361569
"/storage:v1/storage.buckets.lockRetentionPolicy": lock_bucket_retention_policy

generated/google-apis-storage_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-storage_v1
22

3+
### v0.57.0 (2025-10-05)
4+
5+
* Regenerated from discovery document revision 20250925
6+
37
### v0.56.0 (2025-08-24)
48

59
* Regenerated from discovery document revision 20250814

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,6 +1552,12 @@ class Buckets
15521552
# @return [String]
15531553
attr_accessor :next_page_token
15541554

1555+
# The list of bucket resource names that could not be reached during the listing
1556+
# operation.
1557+
# Corresponds to the JSON property `unreachable`
1558+
# @return [Array<String>]
1559+
attr_accessor :unreachable
1560+
15551561
def initialize(**args)
15561562
update!(**args)
15571563
end
@@ -1561,6 +1567,7 @@ def update!(**args)
15611567
@items = args[:items] if args.key?(:items)
15621568
@kind = args[:kind] if args.key?(:kind)
15631569
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1570+
@unreachable = args[:unreachable] if args.key?(:unreachable)
15641571
end
15651572
end
15661573

generated/google-apis-storage_v1/lib/google/apis/storage_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 StorageV1
1818
# Version of the google-apis-storage_v1 gem
19-
GEM_VERSION = "0.56.0"
19+
GEM_VERSION = "0.57.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 = "20250814"
25+
REVISION = "20250925"
2626
end
2727
end
2828
end

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -879,6 +879,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
879879

880880
property :kind, as: 'kind'
881881
property :next_page_token, as: 'nextPageToken'
882+
collection :unreachable, as: 'unreachable'
882883
end
883884
end
884885

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,9 @@ def insert_bucket(project, bucket_object = nil, enable_object_retention: nil, pr
796796
# Filter results to buckets whose names begin with this prefix.
797797
# @param [String] projection
798798
# Set of properties to return. Defaults to noAcl.
799+
# @param [Boolean] return_partial_success
800+
# If true, return a list of bucket resource names for buckets that are in
801+
# unreachable locations.
799802
# @param [Boolean] soft_deleted
800803
# If true, only soft-deleted bucket versions will be returned. The default is
801804
# false. For more information, see [Soft Delete](https://cloud.google.com/
@@ -821,7 +824,7 @@ def insert_bucket(project, bucket_object = nil, enable_object_retention: nil, pr
821824
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
822825
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
823826
# @raise [Google::Apis::AuthorizationError] Authorization is required
824-
def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, soft_deleted: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
827+
def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projection: nil, return_partial_success: nil, soft_deleted: nil, user_project: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
825828
command = make_simple_command(:get, 'b', options)
826829
command.response_representation = Google::Apis::StorageV1::Buckets::Representation
827830
command.response_class = Google::Apis::StorageV1::Buckets
@@ -830,6 +833,7 @@ def list_buckets(project, max_results: nil, page_token: nil, prefix: nil, projec
830833
command.query['prefix'] = prefix unless prefix.nil?
831834
command.query['project'] = project unless project.nil?
832835
command.query['projection'] = projection unless projection.nil?
836+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
833837
command.query['softDeleted'] = soft_deleted unless soft_deleted.nil?
834838
command.query['userProject'] = user_project unless user_project.nil?
835839
command.query['fields'] = fields unless fields.nil?

0 commit comments

Comments
 (0)