google-apis-storage_v1 0.19.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module StorageV1
18
18
  # Version of the google-apis-storage_v1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.31.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220705"
25
+ REVISION = "20231117"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,18 @@ module Google
22
22
  module Apis
23
23
  module StorageV1
24
24
 
25
+ class AnywhereCache
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AnywhereCaches
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
25
37
  class Bucket
26
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
39
 
@@ -103,6 +115,12 @@ module Google
103
115
  include Google::Apis::Core::JsonObjectSupport
104
116
  end
105
117
 
118
+ class ObjectRetention
119
+ class Representation < Google::Apis::Core::JsonRepresentation; end
120
+
121
+ include Google::Apis::Core::JsonObjectSupport
122
+ end
123
+
106
124
  class Owner
107
125
  class Representation < Google::Apis::Core::JsonRepresentation; end
108
126
 
@@ -115,6 +133,12 @@ module Google
115
133
  include Google::Apis::Core::JsonObjectSupport
116
134
  end
117
135
 
136
+ class SoftDeletePolicy
137
+ class Representation < Google::Apis::Core::JsonRepresentation; end
138
+
139
+ include Google::Apis::Core::JsonObjectSupport
140
+ end
141
+
118
142
  class Versioning
119
143
  class Representation < Google::Apis::Core::JsonRepresentation; end
120
144
 
@@ -154,6 +178,12 @@ module Google
154
178
  include Google::Apis::Core::JsonObjectSupport
155
179
  end
156
180
 
181
+ class BulkRestoreObjectsRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
157
187
  class Channel
158
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
189
 
@@ -184,6 +214,24 @@ module Google
184
214
  include Google::Apis::Core::JsonObjectSupport
185
215
  end
186
216
 
217
+ class GoogleLongrunningListOperationsResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class GoogleLongrunningOperation
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class GoogleRpcStatus
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
187
235
  class HmacKey
188
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
237
 
@@ -202,6 +250,18 @@ module Google
202
250
  include Google::Apis::Core::JsonObjectSupport
203
251
  end
204
252
 
253
+ class ManagedFolder
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ManagedFolders
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
205
265
  class Notification
206
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
267
 
@@ -228,6 +288,12 @@ module Google
228
288
 
229
289
  include Google::Apis::Core::JsonObjectSupport
230
290
  end
291
+
292
+ class Retention
293
+ class Representation < Google::Apis::Core::JsonRepresentation; end
294
+
295
+ include Google::Apis::Core::JsonObjectSupport
296
+ end
231
297
 
232
298
  include Google::Apis::Core::JsonObjectSupport
233
299
  end
@@ -286,6 +352,35 @@ module Google
286
352
  include Google::Apis::Core::JsonObjectSupport
287
353
  end
288
354
 
355
+ class AnywhereCache
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :admission_policy, as: 'admissionPolicy'
359
+ property :anywhere_cache_id, as: 'anywhereCacheId'
360
+ property :bucket, as: 'bucket'
361
+ property :create_time, as: 'createTime', type: DateTime
362
+
363
+ property :id, as: 'id'
364
+ property :kind, as: 'kind'
365
+ property :pending_update, as: 'pendingUpdate'
366
+ property :self_link, as: 'selfLink'
367
+ property :state, as: 'state'
368
+ property :ttl, as: 'ttl'
369
+ property :update_time, as: 'updateTime', type: DateTime
370
+
371
+ end
372
+ end
373
+
374
+ class AnywhereCaches
375
+ # @private
376
+ class Representation < Google::Apis::Core::JsonRepresentation
377
+ collection :items, as: 'items', class: Google::Apis::StorageV1::AnywhereCache, decorator: Google::Apis::StorageV1::AnywhereCache::Representation
378
+
379
+ property :kind, as: 'kind'
380
+ property :next_page_token, as: 'nextPageToken'
381
+ end
382
+ end
383
+
289
384
  class Bucket
290
385
  # @private
291
386
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -318,6 +413,8 @@ module Google
318
413
 
319
414
  property :metageneration, :numeric_string => true, as: 'metageneration'
320
415
  property :name, as: 'name'
416
+ property :object_retention, as: 'objectRetention', class: Google::Apis::StorageV1::Bucket::ObjectRetention, decorator: Google::Apis::StorageV1::Bucket::ObjectRetention::Representation
417
+
321
418
  property :owner, as: 'owner', class: Google::Apis::StorageV1::Bucket::Owner, decorator: Google::Apis::StorageV1::Bucket::Owner::Representation
322
419
 
323
420
  property :project_number, :numeric_string => true, as: 'projectNumber'
@@ -326,6 +423,8 @@ module Google
326
423
  property :rpo, as: 'rpo'
327
424
  property :satisfies_pzs, as: 'satisfiesPZS'
328
425
  property :self_link, as: 'selfLink'
426
+ property :soft_delete_policy, as: 'softDeletePolicy', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::Representation
427
+
329
428
  property :storage_class, as: 'storageClass'
330
429
  property :time_created, as: 'timeCreated', type: DateTime
331
430
 
@@ -341,6 +440,9 @@ module Google
341
440
  # @private
342
441
  class Representation < Google::Apis::Core::JsonRepresentation
343
442
  property :enabled, as: 'enabled'
443
+ property :terminal_storage_class, as: 'terminalStorageClass'
444
+ property :terminal_storage_class_update_time, as: 'terminalStorageClassUpdateTime', type: DateTime
445
+
344
446
  property :toggle_time, as: 'toggleTime', type: DateTime
345
447
 
346
448
  end
@@ -461,6 +563,13 @@ module Google
461
563
  end
462
564
  end
463
565
 
566
+ class ObjectRetention
567
+ # @private
568
+ class Representation < Google::Apis::Core::JsonRepresentation
569
+ property :mode, as: 'mode'
570
+ end
571
+ end
572
+
464
573
  class Owner
465
574
  # @private
466
575
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -479,6 +588,15 @@ module Google
479
588
  end
480
589
  end
481
590
 
591
+ class SoftDeletePolicy
592
+ # @private
593
+ class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :effective_time, as: 'effectiveTime', type: DateTime
595
+
596
+ property :retention_duration_seconds, :numeric_string => true, as: 'retentionDurationSeconds'
597
+ end
598
+ end
599
+
482
600
  class Versioning
483
601
  # @private
484
602
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -540,6 +658,19 @@ module Google
540
658
  end
541
659
  end
542
660
 
661
+ class BulkRestoreObjectsRequest
662
+ # @private
663
+ class Representation < Google::Apis::Core::JsonRepresentation
664
+ property :allow_overwrite, as: 'allowOverwrite'
665
+ property :copy_source_acl, as: 'copySourceAcl'
666
+ collection :match_globs, as: 'matchGlobs'
667
+ property :soft_deleted_after_time, as: 'softDeletedAfterTime', type: DateTime
668
+
669
+ property :soft_deleted_before_time, as: 'softDeletedBeforeTime', type: DateTime
670
+
671
+ end
672
+ end
673
+
543
674
  class Channel
544
675
  # @private
545
676
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -594,6 +725,36 @@ module Google
594
725
  end
595
726
  end
596
727
 
728
+ class GoogleLongrunningListOperationsResponse
729
+ # @private
730
+ class Representation < Google::Apis::Core::JsonRepresentation
731
+ property :next_page_token, as: 'nextPageToken'
732
+ collection :operations, as: 'operations', class: Google::Apis::StorageV1::GoogleLongrunningOperation, decorator: Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
733
+
734
+ end
735
+ end
736
+
737
+ class GoogleLongrunningOperation
738
+ # @private
739
+ class Representation < Google::Apis::Core::JsonRepresentation
740
+ property :done, as: 'done'
741
+ property :error, as: 'error', class: Google::Apis::StorageV1::GoogleRpcStatus, decorator: Google::Apis::StorageV1::GoogleRpcStatus::Representation
742
+
743
+ hash :metadata, as: 'metadata'
744
+ property :name, as: 'name'
745
+ hash :response, as: 'response'
746
+ end
747
+ end
748
+
749
+ class GoogleRpcStatus
750
+ # @private
751
+ class Representation < Google::Apis::Core::JsonRepresentation
752
+ property :code, as: 'code'
753
+ collection :details, as: 'details'
754
+ property :message, as: 'message'
755
+ end
756
+ end
757
+
597
758
  class HmacKey
598
759
  # @private
599
760
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -632,6 +793,32 @@ module Google
632
793
  end
633
794
  end
634
795
 
796
+ class ManagedFolder
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ property :bucket, as: 'bucket'
800
+ property :create_time, as: 'createTime', type: DateTime
801
+
802
+ property :id, as: 'id'
803
+ property :kind, as: 'kind'
804
+ property :metageneration, :numeric_string => true, as: 'metageneration'
805
+ property :name, as: 'name'
806
+ property :self_link, as: 'selfLink'
807
+ property :update_time, as: 'updateTime', type: DateTime
808
+
809
+ end
810
+ end
811
+
812
+ class ManagedFolders
813
+ # @private
814
+ class Representation < Google::Apis::Core::JsonRepresentation
815
+ collection :items, as: 'items', class: Google::Apis::StorageV1::ManagedFolder, decorator: Google::Apis::StorageV1::ManagedFolder::Representation
816
+
817
+ property :kind, as: 'kind'
818
+ property :next_page_token, as: 'nextPageToken'
819
+ end
820
+ end
821
+
635
822
  class Notification
636
823
  # @private
637
824
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -676,6 +863,8 @@ module Google
676
863
  property :etag, as: 'etag'
677
864
  property :event_based_hold, as: 'eventBasedHold'
678
865
  property :generation, :numeric_string => true, as: 'generation'
866
+ property :hard_delete_time, as: 'hardDeleteTime', type: DateTime
867
+
679
868
  property :id, as: 'id'
680
869
  property :kind, as: 'kind'
681
870
  property :kms_key_name, as: 'kmsKeyName'
@@ -686,10 +875,14 @@ module Google
686
875
  property :name, as: 'name'
687
876
  property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
688
877
 
878
+ property :retention, as: 'retention', class: Google::Apis::StorageV1::Object::Retention, decorator: Google::Apis::StorageV1::Object::Retention::Representation
879
+
689
880
  property :retention_expiration_time, as: 'retentionExpirationTime', type: DateTime
690
881
 
691
882
  property :self_link, as: 'selfLink'
692
883
  property :size, :numeric_string => true, as: 'size'
884
+ property :soft_delete_time, as: 'softDeleteTime', type: DateTime
885
+
693
886
  property :storage_class, as: 'storageClass'
694
887
  property :temporary_hold, as: 'temporaryHold'
695
888
  property :time_created, as: 'timeCreated', type: DateTime
@@ -717,6 +910,15 @@ module Google
717
910
  property :entity_id, as: 'entityId'
718
911
  end
719
912
  end
913
+
914
+ class Retention
915
+ # @private
916
+ class Representation < Google::Apis::Core::JsonRepresentation
917
+ property :mode, as: 'mode'
918
+ property :retain_until_time, as: 'retainUntilTime', type: DateTime
919
+
920
+ end
921
+ end
720
922
  end
721
923
 
722
924
  class ObjectAccessControl