google-apis-storage_v1 0.19.0 → 0.29.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.
@@ -103,6 +103,12 @@ module Google
103
103
  include Google::Apis::Core::JsonObjectSupport
104
104
  end
105
105
 
106
+ class ObjectRetention
107
+ class Representation < Google::Apis::Core::JsonRepresentation; end
108
+
109
+ include Google::Apis::Core::JsonObjectSupport
110
+ end
111
+
106
112
  class Owner
107
113
  class Representation < Google::Apis::Core::JsonRepresentation; end
108
114
 
@@ -115,6 +121,12 @@ module Google
115
121
  include Google::Apis::Core::JsonObjectSupport
116
122
  end
117
123
 
124
+ class SoftDeletePolicy
125
+ class Representation < Google::Apis::Core::JsonRepresentation; end
126
+
127
+ include Google::Apis::Core::JsonObjectSupport
128
+ end
129
+
118
130
  class Versioning
119
131
  class Representation < Google::Apis::Core::JsonRepresentation; end
120
132
 
@@ -154,6 +166,12 @@ module Google
154
166
  include Google::Apis::Core::JsonObjectSupport
155
167
  end
156
168
 
169
+ class BulkRestoreObjectsRequest
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
157
175
  class Channel
158
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
177
 
@@ -184,6 +202,24 @@ module Google
184
202
  include Google::Apis::Core::JsonObjectSupport
185
203
  end
186
204
 
205
+ class GoogleLongrunningListOperationsResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleLongrunningOperation
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleRpcStatus
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
187
223
  class HmacKey
188
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
225
 
@@ -202,6 +238,18 @@ module Google
202
238
  include Google::Apis::Core::JsonObjectSupport
203
239
  end
204
240
 
241
+ class ManagedFolder
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class ManagedFolders
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
205
253
  class Notification
206
254
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
255
 
@@ -228,6 +276,12 @@ module Google
228
276
 
229
277
  include Google::Apis::Core::JsonObjectSupport
230
278
  end
279
+
280
+ class Retention
281
+ class Representation < Google::Apis::Core::JsonRepresentation; end
282
+
283
+ include Google::Apis::Core::JsonObjectSupport
284
+ end
231
285
 
232
286
  include Google::Apis::Core::JsonObjectSupport
233
287
  end
@@ -318,6 +372,8 @@ module Google
318
372
 
319
373
  property :metageneration, :numeric_string => true, as: 'metageneration'
320
374
  property :name, as: 'name'
375
+ property :object_retention, as: 'objectRetention', class: Google::Apis::StorageV1::Bucket::ObjectRetention, decorator: Google::Apis::StorageV1::Bucket::ObjectRetention::Representation
376
+
321
377
  property :owner, as: 'owner', class: Google::Apis::StorageV1::Bucket::Owner, decorator: Google::Apis::StorageV1::Bucket::Owner::Representation
322
378
 
323
379
  property :project_number, :numeric_string => true, as: 'projectNumber'
@@ -326,6 +382,8 @@ module Google
326
382
  property :rpo, as: 'rpo'
327
383
  property :satisfies_pzs, as: 'satisfiesPZS'
328
384
  property :self_link, as: 'selfLink'
385
+ property :soft_delete_policy, as: 'softDeletePolicy', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::Representation
386
+
329
387
  property :storage_class, as: 'storageClass'
330
388
  property :time_created, as: 'timeCreated', type: DateTime
331
389
 
@@ -341,6 +399,9 @@ module Google
341
399
  # @private
342
400
  class Representation < Google::Apis::Core::JsonRepresentation
343
401
  property :enabled, as: 'enabled'
402
+ property :terminal_storage_class, as: 'terminalStorageClass'
403
+ property :terminal_storage_class_update_time, as: 'terminalStorageClassUpdateTime', type: DateTime
404
+
344
405
  property :toggle_time, as: 'toggleTime', type: DateTime
345
406
 
346
407
  end
@@ -461,6 +522,13 @@ module Google
461
522
  end
462
523
  end
463
524
 
525
+ class ObjectRetention
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :mode, as: 'mode'
529
+ end
530
+ end
531
+
464
532
  class Owner
465
533
  # @private
466
534
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -479,6 +547,15 @@ module Google
479
547
  end
480
548
  end
481
549
 
550
+ class SoftDeletePolicy
551
+ # @private
552
+ class Representation < Google::Apis::Core::JsonRepresentation
553
+ property :effective_time, as: 'effectiveTime', type: DateTime
554
+
555
+ property :retention_duration_seconds, :numeric_string => true, as: 'retentionDurationSeconds'
556
+ end
557
+ end
558
+
482
559
  class Versioning
483
560
  # @private
484
561
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -540,6 +617,19 @@ module Google
540
617
  end
541
618
  end
542
619
 
620
+ class BulkRestoreObjectsRequest
621
+ # @private
622
+ class Representation < Google::Apis::Core::JsonRepresentation
623
+ property :allow_overwrite, as: 'allowOverwrite'
624
+ property :copy_source_acl, as: 'copySourceAcl'
625
+ collection :match_globs, as: 'matchGlobs'
626
+ property :soft_deleted_after_time, as: 'softDeletedAfterTime', type: DateTime
627
+
628
+ property :soft_deleted_before_time, as: 'softDeletedBeforeTime', type: DateTime
629
+
630
+ end
631
+ end
632
+
543
633
  class Channel
544
634
  # @private
545
635
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -594,6 +684,36 @@ module Google
594
684
  end
595
685
  end
596
686
 
687
+ class GoogleLongrunningListOperationsResponse
688
+ # @private
689
+ class Representation < Google::Apis::Core::JsonRepresentation
690
+ property :next_page_token, as: 'nextPageToken'
691
+ collection :operations, as: 'operations', class: Google::Apis::StorageV1::GoogleLongrunningOperation, decorator: Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
692
+
693
+ end
694
+ end
695
+
696
+ class GoogleLongrunningOperation
697
+ # @private
698
+ class Representation < Google::Apis::Core::JsonRepresentation
699
+ property :done, as: 'done'
700
+ property :error, as: 'error', class: Google::Apis::StorageV1::GoogleRpcStatus, decorator: Google::Apis::StorageV1::GoogleRpcStatus::Representation
701
+
702
+ hash :metadata, as: 'metadata'
703
+ property :name, as: 'name'
704
+ hash :response, as: 'response'
705
+ end
706
+ end
707
+
708
+ class GoogleRpcStatus
709
+ # @private
710
+ class Representation < Google::Apis::Core::JsonRepresentation
711
+ property :code, as: 'code'
712
+ collection :details, as: 'details'
713
+ property :message, as: 'message'
714
+ end
715
+ end
716
+
597
717
  class HmacKey
598
718
  # @private
599
719
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -632,6 +752,32 @@ module Google
632
752
  end
633
753
  end
634
754
 
755
+ class ManagedFolder
756
+ # @private
757
+ class Representation < Google::Apis::Core::JsonRepresentation
758
+ property :bucket, as: 'bucket'
759
+ property :create_time, as: 'createTime', type: DateTime
760
+
761
+ property :id, as: 'id'
762
+ property :kind, as: 'kind'
763
+ property :metageneration, :numeric_string => true, as: 'metageneration'
764
+ property :name, as: 'name'
765
+ property :self_link, as: 'selfLink'
766
+ property :update_time, as: 'updateTime', type: DateTime
767
+
768
+ end
769
+ end
770
+
771
+ class ManagedFolders
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ collection :items, as: 'items', class: Google::Apis::StorageV1::ManagedFolder, decorator: Google::Apis::StorageV1::ManagedFolder::Representation
775
+
776
+ property :kind, as: 'kind'
777
+ property :next_page_token, as: 'nextPageToken'
778
+ end
779
+ end
780
+
635
781
  class Notification
636
782
  # @private
637
783
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -676,6 +822,8 @@ module Google
676
822
  property :etag, as: 'etag'
677
823
  property :event_based_hold, as: 'eventBasedHold'
678
824
  property :generation, :numeric_string => true, as: 'generation'
825
+ property :hard_delete_time, as: 'hardDeleteTime', type: DateTime
826
+
679
827
  property :id, as: 'id'
680
828
  property :kind, as: 'kind'
681
829
  property :kms_key_name, as: 'kmsKeyName'
@@ -686,10 +834,14 @@ module Google
686
834
  property :name, as: 'name'
687
835
  property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
688
836
 
837
+ property :retention, as: 'retention', class: Google::Apis::StorageV1::Object::Retention, decorator: Google::Apis::StorageV1::Object::Retention::Representation
838
+
689
839
  property :retention_expiration_time, as: 'retentionExpirationTime', type: DateTime
690
840
 
691
841
  property :self_link, as: 'selfLink'
692
842
  property :size, :numeric_string => true, as: 'size'
843
+ property :soft_delete_time, as: 'softDeleteTime', type: DateTime
844
+
693
845
  property :storage_class, as: 'storageClass'
694
846
  property :temporary_hold, as: 'temporaryHold'
695
847
  property :time_created, as: 'timeCreated', type: DateTime
@@ -717,6 +869,15 @@ module Google
717
869
  property :entity_id, as: 'entityId'
718
870
  end
719
871
  end
872
+
873
+ class Retention
874
+ # @private
875
+ class Representation < Google::Apis::Core::JsonRepresentation
876
+ property :mode, as: 'mode'
877
+ property :retain_until_time, as: 'retainUntilTime', type: DateTime
878
+
879
+ end
880
+ end
720
881
  end
721
882
 
722
883
  class ObjectAccessControl