Skip to content

Commit ec0a71d

Browse files
feat: Automated regeneration of storagebatchoperations v1 client (#24889)
Auto-created at 2025-11-09 09:27:09 +0000 using the toys pull request generator.
1 parent 0a19477 commit ec0a71d

File tree

5 files changed

+26
-2
lines changed

5 files changed

+26
-2
lines changed

api_names_out.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370741,6 +370741,7 @@
370741370741
"/storagebatchoperations:v1/Counters": counters
370742370742
"/storagebatchoperations:v1/Counters/failedObjectCount": failed_object_count
370743370743
"/storagebatchoperations:v1/Counters/succeededObjectCount": succeeded_object_count
370744+
"/storagebatchoperations:v1/Counters/totalBytesFound": total_bytes_found
370744370745
"/storagebatchoperations:v1/Counters/totalObjectCount": total_object_count
370745370746
"/storagebatchoperations:v1/DeleteObject": delete_object
370746370747
"/storagebatchoperations:v1/DeleteObject/permanentObjectDeletionEnabled": permanent_object_deletion_enabled
@@ -370761,6 +370762,7 @@
370761370762
"/storagebatchoperations:v1/Job/createTime": create_time
370762370763
"/storagebatchoperations:v1/Job/deleteObject": delete_object
370763370764
"/storagebatchoperations:v1/Job/description": description
370765+
"/storagebatchoperations:v1/Job/dryRun": dry_run
370764370766
"/storagebatchoperations:v1/Job/errorSummaries": error_summaries
370765370767
"/storagebatchoperations:v1/Job/errorSummaries/error_summary": error_summary
370766370768
"/storagebatchoperations:v1/Job/loggingConfig": logging_config

generated/google-apis-storagebatchoperations_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-storagebatchoperations_v1
22

3+
### v0.9.0 (2025-11-09)
4+
5+
* Regenerated from discovery document revision 20251029
6+
37
### v0.8.0 (2025-11-02)
48

59
* Regenerated from discovery document revision 20251022

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,12 @@ class Counters
137137
# @return [Fixnum]
138138
attr_accessor :succeeded_object_count
139139

140+
# Output only. Number of bytes found from source. This field is only populated
141+
# for jobs with a prefix list object configuration.
142+
# Corresponds to the JSON property `totalBytesFound`
143+
# @return [Fixnum]
144+
attr_accessor :total_bytes_found
145+
140146
# Output only. Number of objects listed.
141147
# Corresponds to the JSON property `totalObjectCount`
142148
# @return [Fixnum]
@@ -150,6 +156,7 @@ def initialize(**args)
150156
def update!(**args)
151157
@failed_object_count = args[:failed_object_count] if args.key?(:failed_object_count)
152158
@succeeded_object_count = args[:succeeded_object_count] if args.key?(:succeeded_object_count)
159+
@total_bytes_found = args[:total_bytes_found] if args.key?(:total_bytes_found)
153160
@total_object_count = args[:total_object_count] if args.key?(:total_object_count)
154161
end
155162
end
@@ -290,6 +297,14 @@ class Job
290297
# @return [String]
291298
attr_accessor :description
292299

300+
# Optional. If true, the job will run in dry run mode, returning the total
301+
# object count and, if the object configuration is a prefix list, the bytes
302+
# found from source. No transformations will be performed.
303+
# Corresponds to the JSON property `dryRun`
304+
# @return [Boolean]
305+
attr_accessor :dry_run
306+
alias_method :dry_run?, :dry_run
307+
293308
# Output only. Summarizes errors encountered with sample error log entries.
294309
# Corresponds to the JSON property `errorSummaries`
295310
# @return [Array<Google::Apis::StoragebatchoperationsV1::ErrorSummary>]
@@ -345,6 +360,7 @@ def update!(**args)
345360
@create_time = args[:create_time] if args.key?(:create_time)
346361
@delete_object = args[:delete_object] if args.key?(:delete_object)
347362
@description = args[:description] if args.key?(:description)
363+
@dry_run = args[:dry_run] if args.key?(:dry_run)
348364
@error_summaries = args[:error_summaries] if args.key?(:error_summaries)
349365
@logging_config = args[:logging_config] if args.key?(:logging_config)
350366
@name = args[:name] if args.key?(:name)

generated/google-apis-storagebatchoperations_v1/lib/google/apis/storagebatchoperations_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 StoragebatchoperationsV1
1818
# Version of the google-apis-storagebatchoperations_v1 gem
19-
GEM_VERSION = "0.8.0"
19+
GEM_VERSION = "0.9.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 = "20251022"
25+
REVISION = "20251029"
2626
end
2727
end
2828
end

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ class Counters
215215
class Representation < Google::Apis::Core::JsonRepresentation
216216
property :failed_object_count, :numeric_string => true, as: 'failedObjectCount'
217217
property :succeeded_object_count, :numeric_string => true, as: 'succeededObjectCount'
218+
property :total_bytes_found, :numeric_string => true, as: 'totalBytesFound'
218219
property :total_object_count, :numeric_string => true, as: 'totalObjectCount'
219220
end
220221
end
@@ -262,6 +263,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
262263
property :delete_object, as: 'deleteObject', class: Google::Apis::StoragebatchoperationsV1::DeleteObject, decorator: Google::Apis::StoragebatchoperationsV1::DeleteObject::Representation
263264

264265
property :description, as: 'description'
266+
property :dry_run, as: 'dryRun'
265267
collection :error_summaries, as: 'errorSummaries', class: Google::Apis::StoragebatchoperationsV1::ErrorSummary, decorator: Google::Apis::StoragebatchoperationsV1::ErrorSummary::Representation
266268

267269
property :logging_config, as: 'loggingConfig', class: Google::Apis::StoragebatchoperationsV1::LoggingConfig, decorator: Google::Apis::StoragebatchoperationsV1::LoggingConfig::Representation

0 commit comments

Comments
 (0)