google-apis-storagebatchoperations_v1 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1d12abbce5731ce67da59e0ca9875de6d4041465a3b064c2dba978b08fcde831
4
- data.tar.gz: 823d5e1c1c6d703b9ff2863a6c1de0c7001337411e1d32fb23bfea4395c2f251
3
+ metadata.gz: b34c3da7de82db279f2e76ed96d9a63ab578caf85cb7b87ec37bba6d5c679d8e
4
+ data.tar.gz: 9670f499dff644741b1b0d812fd8317c3a6fc4318a730ae0b01dc827b680c791
5
5
  SHA512:
6
- metadata.gz: f1b61ea40ebbd4dab9349da85d15dc999c99f80451db797f9abec8f5a4c241f8343bbb4cc21ae68dbc794d7aa07ac3bfe4bd92d98f3099577d4649d773c7e887
7
- data.tar.gz: d05cf53c377e3c6e41cb126d38a7ac06beb9cb9243762c58a4550d162a1f69156b81d80eedfee51c43bb3a5f7d1e8f874a9f39ec2745d5a4cc03ea9e4a1a3b5f
6
+ metadata.gz: c48316ac797185c7a33bff266a053e425745068b51531d11607552c5a1e3e2244b4e2b284cfd0c72df8e69381cd15a1b712bccf3d86c45024c3ec1fdb9bb41d8
7
+ data.tar.gz: f577b7c8f1bdccdc982de721271ae802183a9520a46dcf077747c1839c95465532e8dede5f94eb9a823a1b6c2a3be4d89051ad8caf7b90a9261a769461a669f1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-storagebatchoperations_v1
2
2
 
3
+ ### v0.15.0 (2026-04-19)
4
+
5
+ * Regenerated from discovery document revision 20260325
6
+
7
+ ### v0.14.0 (2026-03-08)
8
+
9
+ * Regenerated from discovery document revision 20260218
10
+
3
11
  ### v0.13.0 (2026-02-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20260204
@@ -150,6 +150,11 @@ module Google
150
150
  # @return [String]
151
151
  attr_accessor :state
152
152
 
153
+ # Describes options to update object custom contexts.
154
+ # Corresponds to the JSON property `updateObjectCustomContext`
155
+ # @return [Google::Apis::StoragebatchoperationsV1::UpdateObjectCustomContext]
156
+ attr_accessor :update_object_custom_context
157
+
153
158
  def initialize(**args)
154
159
  update!(**args)
155
160
  end
@@ -170,6 +175,7 @@ module Google
170
175
  @rewrite_object = args[:rewrite_object] if args.key?(:rewrite_object)
171
176
  @start_time = args[:start_time] if args.key?(:start_time)
172
177
  @state = args[:state] if args.key?(:state)
178
+ @update_object_custom_context = args[:update_object_custom_context] if args.key?(:update_object_custom_context)
173
179
  end
174
180
  end
175
181
 
@@ -226,11 +232,32 @@ module Google
226
232
  class Counters
227
233
  include Google::Apis::Core::Hashable
228
234
 
229
- # Output only. Number of objects failed.
235
+ # Output only. The number of objects that failed due to user errors or service
236
+ # errors.
230
237
  # Corresponds to the JSON property `failedObjectCount`
231
238
  # @return [Fixnum]
232
239
  attr_accessor :failed_object_count
233
240
 
241
+ # Output only. Number of object custom contexts created. This field is only
242
+ # populated for jobs with the UpdateObjectCustomContext transformation.
243
+ # Corresponds to the JSON property `objectCustomContextsCreated`
244
+ # @return [Fixnum]
245
+ attr_accessor :object_custom_contexts_created
246
+
247
+ # Output only. Number of object custom contexts deleted. This field is only
248
+ # populated for jobs with the UpdateObjectCustomContext transformation.
249
+ # Corresponds to the JSON property `objectCustomContextsDeleted`
250
+ # @return [Fixnum]
251
+ attr_accessor :object_custom_contexts_deleted
252
+
253
+ # Output only. Number of object custom contexts updated. This counter tracks
254
+ # custom contexts where the key already existed, but the payload was modified.
255
+ # This field is only populated for jobs with the UpdateObjectCustomContext
256
+ # transformation.
257
+ # Corresponds to the JSON property `objectCustomContextsUpdated`
258
+ # @return [Fixnum]
259
+ attr_accessor :object_custom_contexts_updated
260
+
234
261
  # Output only. Number of objects completed.
235
262
  # Corresponds to the JSON property `succeededObjectCount`
236
263
  # @return [Fixnum]
@@ -254,12 +281,42 @@ module Google
254
281
  # Update properties of this object
255
282
  def update!(**args)
256
283
  @failed_object_count = args[:failed_object_count] if args.key?(:failed_object_count)
284
+ @object_custom_contexts_created = args[:object_custom_contexts_created] if args.key?(:object_custom_contexts_created)
285
+ @object_custom_contexts_deleted = args[:object_custom_contexts_deleted] if args.key?(:object_custom_contexts_deleted)
286
+ @object_custom_contexts_updated = args[:object_custom_contexts_updated] if args.key?(:object_custom_contexts_updated)
257
287
  @succeeded_object_count = args[:succeeded_object_count] if args.key?(:succeeded_object_count)
258
288
  @total_bytes_found = args[:total_bytes_found] if args.key?(:total_bytes_found)
259
289
  @total_object_count = args[:total_object_count] if args.key?(:total_object_count)
260
290
  end
261
291
  end
262
292
 
293
+ # Describes a collection of updates to apply to custom contexts identified by
294
+ # key.
295
+ class CustomContextUpdates
296
+ include Google::Apis::Core::Hashable
297
+
298
+ # Optional. Custom contexts to clear by key. A key cannot be present in both `
299
+ # updates` and `keys_to_clear`.
300
+ # Corresponds to the JSON property `keysToClear`
301
+ # @return [Array<String>]
302
+ attr_accessor :keys_to_clear
303
+
304
+ # Optional. Insert or update the existing custom contexts.
305
+ # Corresponds to the JSON property `updates`
306
+ # @return [Hash<String,Google::Apis::StoragebatchoperationsV1::ObjectCustomContextPayload>]
307
+ attr_accessor :updates
308
+
309
+ def initialize(**args)
310
+ update!(**args)
311
+ end
312
+
313
+ # Update properties of this object
314
+ def update!(**args)
315
+ @keys_to_clear = args[:keys_to_clear] if args.key?(:keys_to_clear)
316
+ @updates = args[:updates] if args.key?(:updates)
317
+ end
318
+ end
319
+
263
320
  # Describes options to delete an object.
264
321
  class DeleteObject
265
322
  include Google::Apis::Core::Hashable
@@ -454,6 +511,11 @@ module Google
454
511
  # @return [String]
455
512
  attr_accessor :state
456
513
 
514
+ # Describes options to update object custom contexts.
515
+ # Corresponds to the JSON property `updateObjectCustomContext`
516
+ # @return [Google::Apis::StoragebatchoperationsV1::UpdateObjectCustomContext]
517
+ attr_accessor :update_object_custom_context
518
+
457
519
  def initialize(**args)
458
520
  update!(**args)
459
521
  end
@@ -476,6 +538,7 @@ module Google
476
538
  @rewrite_object = args[:rewrite_object] if args.key?(:rewrite_object)
477
539
  @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
478
540
  @state = args[:state] if args.key?(:state)
541
+ @update_object_custom_context = args[:update_object_custom_context] if args.key?(:update_object_custom_context)
479
542
  end
480
543
  end
481
544
 
@@ -699,6 +762,28 @@ module Google
699
762
  end
700
763
  end
701
764
 
765
+ # Describes the payload of a user defined object custom context.
766
+ class ObjectCustomContextPayload
767
+ include Google::Apis::Core::Hashable
768
+
769
+ # The value of the object custom context. If set, `value` must NOT be an empty
770
+ # string since it is a required field in custom context. If unset, `value` will
771
+ # be ignored and no changes will be made to the `value` field of the custom
772
+ # context payload.
773
+ # Corresponds to the JSON property `value`
774
+ # @return [String]
775
+ attr_accessor :value
776
+
777
+ def initialize(**args)
778
+ update!(**args)
779
+ end
780
+
781
+ # Update properties of this object
782
+ def update!(**args)
783
+ @value = args[:value] if args.key?(:value)
784
+ end
785
+ end
786
+
702
787
  # Describes options for object retention update.
703
788
  class ObjectRetention
704
789
  include Google::Apis::Core::Hashable
@@ -1035,6 +1120,34 @@ module Google
1035
1120
  @message = args[:message] if args.key?(:message)
1036
1121
  end
1037
1122
  end
1123
+
1124
+ # Describes options to update object custom contexts.
1125
+ class UpdateObjectCustomContext
1126
+ include Google::Apis::Core::Hashable
1127
+
1128
+ # If set, must be set to true and all existing object custom contexts will be
1129
+ # deleted.
1130
+ # Corresponds to the JSON property `clearAll`
1131
+ # @return [Boolean]
1132
+ attr_accessor :clear_all
1133
+ alias_method :clear_all?, :clear_all
1134
+
1135
+ # Describes a collection of updates to apply to custom contexts identified by
1136
+ # key.
1137
+ # Corresponds to the JSON property `customContextUpdates`
1138
+ # @return [Google::Apis::StoragebatchoperationsV1::CustomContextUpdates]
1139
+ attr_accessor :custom_context_updates
1140
+
1141
+ def initialize(**args)
1142
+ update!(**args)
1143
+ end
1144
+
1145
+ # Update properties of this object
1146
+ def update!(**args)
1147
+ @clear_all = args[:clear_all] if args.key?(:clear_all)
1148
+ @custom_context_updates = args[:custom_context_updates] if args.key?(:custom_context_updates)
1149
+ end
1150
+ end
1038
1151
  end
1039
1152
  end
1040
1153
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module StoragebatchoperationsV1
18
18
  # Version of the google-apis-storagebatchoperations_v1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260204"
25
+ REVISION = "20260325"
26
26
  end
27
27
  end
28
28
  end
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class CustomContextUpdates
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class DeleteObject
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -136,6 +142,12 @@ module Google
136
142
  include Google::Apis::Core::JsonObjectSupport
137
143
  end
138
144
 
145
+ class ObjectCustomContextPayload
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
139
151
  class ObjectRetention
140
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
153
 
@@ -184,6 +196,12 @@ module Google
184
196
  include Google::Apis::Core::JsonObjectSupport
185
197
  end
186
198
 
199
+ class UpdateObjectCustomContext
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
187
205
  class Bucket
188
206
  # @private
189
207
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -228,6 +246,8 @@ module Google
228
246
 
229
247
  property :start_time, as: 'startTime'
230
248
  property :state, as: 'state'
249
+ property :update_object_custom_context, as: 'updateObjectCustomContext', class: Google::Apis::StoragebatchoperationsV1::UpdateObjectCustomContext, decorator: Google::Apis::StoragebatchoperationsV1::UpdateObjectCustomContext::Representation
250
+
231
251
  end
232
252
  end
233
253
 
@@ -254,12 +274,24 @@ module Google
254
274
  # @private
255
275
  class Representation < Google::Apis::Core::JsonRepresentation
256
276
  property :failed_object_count, :numeric_string => true, as: 'failedObjectCount'
277
+ property :object_custom_contexts_created, :numeric_string => true, as: 'objectCustomContextsCreated'
278
+ property :object_custom_contexts_deleted, :numeric_string => true, as: 'objectCustomContextsDeleted'
279
+ property :object_custom_contexts_updated, :numeric_string => true, as: 'objectCustomContextsUpdated'
257
280
  property :succeeded_object_count, :numeric_string => true, as: 'succeededObjectCount'
258
281
  property :total_bytes_found, :numeric_string => true, as: 'totalBytesFound'
259
282
  property :total_object_count, :numeric_string => true, as: 'totalObjectCount'
260
283
  end
261
284
  end
262
285
 
286
+ class CustomContextUpdates
287
+ # @private
288
+ class Representation < Google::Apis::Core::JsonRepresentation
289
+ collection :keys_to_clear, as: 'keysToClear'
290
+ hash :updates, as: 'updates', class: Google::Apis::StoragebatchoperationsV1::ObjectCustomContextPayload, decorator: Google::Apis::StoragebatchoperationsV1::ObjectCustomContextPayload::Representation
291
+
292
+ end
293
+ end
294
+
263
295
  class DeleteObject
264
296
  # @private
265
297
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -318,6 +350,8 @@ module Google
318
350
 
319
351
  property :schedule_time, as: 'scheduleTime'
320
352
  property :state, as: 'state'
353
+ property :update_object_custom_context, as: 'updateObjectCustomContext', class: Google::Apis::StoragebatchoperationsV1::UpdateObjectCustomContext, decorator: Google::Apis::StoragebatchoperationsV1::UpdateObjectCustomContext::Representation
354
+
321
355
  end
322
356
  end
323
357
 
@@ -386,6 +420,13 @@ module Google
386
420
  end
387
421
  end
388
422
 
423
+ class ObjectCustomContextPayload
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :value, as: 'value'
427
+ end
428
+ end
429
+
389
430
  class ObjectRetention
390
431
  # @private
391
432
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -464,6 +505,15 @@ module Google
464
505
  property :message, as: 'message'
465
506
  end
466
507
  end
508
+
509
+ class UpdateObjectCustomContext
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :clear_all, as: 'clearAll'
513
+ property :custom_context_updates, as: 'customContextUpdates', class: Google::Apis::StoragebatchoperationsV1::CustomContextUpdates, decorator: Google::Apis::StoragebatchoperationsV1::CustomContextUpdates::Representation
514
+
515
+ end
516
+ end
467
517
  end
468
518
  end
469
519
  end
@@ -82,10 +82,15 @@ module Google
82
82
  end
83
83
 
84
84
  # Lists information about the supported locations for this service. This method
85
- # can be called in two ways: * **List all public locations:** Use the path `GET /
86
- # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
87
- # projects/`project_id`/locations`. This may include public locations as well as
88
- # private or other locations specifically visible to the project.
85
+ # lists locations based on the resource scope provided in the [
86
+ # ListLocationsRequest.name] field: * **Global locations**: If `name` is empty,
87
+ # the method lists the public locations available to all projects. * **Project-
88
+ # specific locations**: If `name` follows the format `projects/`project``, the
89
+ # method lists locations visible to that specific project. This includes public,
90
+ # private, or other project-specific locations enabled for the project. For gRPC
91
+ # and client library implementations, the resource name is passed as the `name`
92
+ # field. For direct service calls, the resource name is incorporated into the
93
+ # request path based on the specific service implementation and version.
89
94
  # @param [String] name
90
95
  # The resource that owns the locations collection, if applicable.
91
96
  # @param [Array<String>, String] extra_location_types
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-storagebatchoperations_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagebatchoperations_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-storagebatchoperations_v1/v0.13.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagebatchoperations_v1/v0.15.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagebatchoperations_v1
62
62
  rdoc_options: []
63
63
  require_paths: