google-apis-storagebatchoperations_v1 0.6.0 → 0.7.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: 77e8042e41278810bae4ab164e9ace0d0f1f5810bfeff3b10aa402bcff840a0e
4
- data.tar.gz: 47cc2c08f14b998923eba75b44d0bef4f13d488d5a11ba30a4573cdf85f3bcf5
3
+ metadata.gz: c6a1535a904f92c8f0f2970ea92af1be0252c927b71e50b95cb3614b740ab749
4
+ data.tar.gz: 14f509e0feceedfb69af2f219a86703fc0994a6f2bdd301b9870820e80d73c0b
5
5
  SHA512:
6
- metadata.gz: 8bf85b958285110ffc44643dfbd6c79cd177a628e63660196a994e3aaadc1ac9672ffdb49a5734bf248a8a537fa5bb2d41597975cd5a67d6b83affda9ec62f0c
7
- data.tar.gz: 93f4d991416d7fc8cec470b4d12d2aa5b1bfc8300f87c8967f4a1b0442fba10f1f33098d3b93ed399d67d61f24a0062b18cb1631af772ba7c03c106709951844
6
+ metadata.gz: 3a631580fa33ce11b1b2e7b2536d437c6ad30e01cc0facab1799ec50babba99be9a117067631d306a14c857de3fc752a4e6c4f26609fd76add912e2038caff64
7
+ data.tar.gz: 4747793c0b812bc5ffbe6c827e4ecf4eb5f155fdd2e2bd4a6313d7835d19a4c611ea26efa6b41ddf9a0a5b37c17a97d267374b1ac91dc9fdb657119984ce67e7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-storagebatchoperations_v1
2
2
 
3
+ ### v0.7.0 (2025-10-19)
4
+
5
+ * Regenerated from discovery document revision 20251015
6
+
3
7
  ### v0.6.0 (2025-10-05)
4
8
 
5
9
  * Regenerated from discovery document revision 20250924
@@ -544,6 +544,33 @@ module Google
544
544
  end
545
545
  end
546
546
 
547
+ # Describes options for object retention update.
548
+ class ObjectRetention
549
+ include Google::Apis::Core::Hashable
550
+
551
+ # Required. The time when the object will be retained until. UNSET will clear
552
+ # the retention. Must be specified in RFC 3339 format e.g. YYYY-MM-DD'T'HH:MM:SS.
553
+ # SS'Z' or YYYY-MM-DD'T'HH:MM:SS'Z'.
554
+ # Corresponds to the JSON property `retainUntilTime`
555
+ # @return [String]
556
+ attr_accessor :retain_until_time
557
+
558
+ # Required. The retention mode of the object.
559
+ # Corresponds to the JSON property `retentionMode`
560
+ # @return [String]
561
+ attr_accessor :retention_mode
562
+
563
+ def initialize(**args)
564
+ update!(**args)
565
+ end
566
+
567
+ # Update properties of this object
568
+ def update!(**args)
569
+ @retain_until_time = args[:retain_until_time] if args.key?(:retain_until_time)
570
+ @retention_mode = args[:retention_mode] if args.key?(:retention_mode)
571
+ end
572
+ end
573
+
547
574
  # This resource represents a long-running operation that is the result of a
548
575
  # network API call.
549
576
  class Operation
@@ -740,6 +767,11 @@ module Google
740
767
  # @return [String]
741
768
  attr_accessor :custom_time
742
769
 
770
+ # Describes options for object retention update.
771
+ # Corresponds to the JSON property `objectRetention`
772
+ # @return [Google::Apis::StoragebatchoperationsV1::ObjectRetention]
773
+ attr_accessor :object_retention
774
+
743
775
  def initialize(**args)
744
776
  update!(**args)
745
777
  end
@@ -753,6 +785,7 @@ module Google
753
785
  @content_type = args[:content_type] if args.key?(:content_type)
754
786
  @custom_metadata = args[:custom_metadata] if args.key?(:custom_metadata)
755
787
  @custom_time = args[:custom_time] if args.key?(:custom_time)
788
+ @object_retention = args[:object_retention] if args.key?(:object_retention)
756
789
  end
757
790
  end
758
791
 
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.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 = "20250924"
25
+ REVISION = "20251015"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class ObjectRetention
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class Operation
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -327,6 +333,14 @@ module Google
327
333
  end
328
334
  end
329
335
 
336
+ class ObjectRetention
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ property :retain_until_time, as: 'retainUntilTime'
340
+ property :retention_mode, as: 'retentionMode'
341
+ end
342
+ end
343
+
330
344
  class Operation
331
345
  # @private
332
346
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -369,6 +383,8 @@ module Google
369
383
  property :content_type, as: 'contentType'
370
384
  hash :custom_metadata, as: 'customMetadata'
371
385
  property :custom_time, as: 'customTime'
386
+ property :object_retention, as: 'objectRetention', class: Google::Apis::StoragebatchoperationsV1::ObjectRetention, decorator: Google::Apis::StoragebatchoperationsV1::ObjectRetention::Representation
387
+
372
388
  end
373
389
  end
374
390
 
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.6.0
4
+ version: 0.7.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.6.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-storagebatchoperations_v1/v0.7.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: