google-apis-storage_v1 0.29.0 → 0.56.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.
@@ -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.29.0"
19
+ GEM_VERSION = "0.56.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.12.0"
22
+ GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231012"
25
+ REVISION = "20250814"
26
26
  end
27
27
  end
28
28
  end
@@ -22,6 +22,24 @@ module Google
22
22
  module Apis
23
23
  module StorageV1
24
24
 
25
+ class AdvanceRelocateBucketOperationRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class AnywhereCache
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class AnywhereCaches
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
25
43
  class Bucket
26
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
45
 
@@ -51,6 +69,30 @@ module Google
51
69
 
52
70
  class Encryption
53
71
  class Representation < Google::Apis::Core::JsonRepresentation; end
72
+
73
+ class CustomerManagedEncryptionEnforcementConfig
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class CustomerSuppliedEncryptionEnforcementConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleManagedEncryptionEnforcementConfig
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ include Google::Apis::Core::JsonObjectSupport
92
+ end
93
+
94
+ class HierarchicalNamespace
95
+ class Representation < Google::Apis::Core::JsonRepresentation; end
54
96
 
55
97
  include Google::Apis::Core::JsonObjectSupport
56
98
  end
@@ -73,6 +115,24 @@ module Google
73
115
  include Google::Apis::Core::JsonObjectSupport
74
116
  end
75
117
 
118
+ class IpFilter
119
+ class Representation < Google::Apis::Core::JsonRepresentation; end
120
+
121
+ class PublicNetworkSource
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class VpcNetworkSource
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ include Google::Apis::Core::JsonObjectSupport
134
+ end
135
+
76
136
  class Lifecycle
77
137
  class Representation < Google::Apis::Core::JsonRepresentation; end
78
138
 
@@ -160,6 +220,24 @@ module Google
160
220
  include Google::Apis::Core::JsonObjectSupport
161
221
  end
162
222
 
223
+ class BucketStorageLayout
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ class CustomPlacementConfig
227
+ class Representation < Google::Apis::Core::JsonRepresentation; end
228
+
229
+ include Google::Apis::Core::JsonObjectSupport
230
+ end
231
+
232
+ class HierarchicalNamespace
233
+ class Representation < Google::Apis::Core::JsonRepresentation; end
234
+
235
+ include Google::Apis::Core::JsonObjectSupport
236
+ end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
163
241
  class Buckets
164
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
243
 
@@ -202,6 +280,24 @@ module Google
202
280
  include Google::Apis::Core::JsonObjectSupport
203
281
  end
204
282
 
283
+ class Folder
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ class PendingRenameInfo
287
+ class Representation < Google::Apis::Core::JsonRepresentation; end
288
+
289
+ include Google::Apis::Core::JsonObjectSupport
290
+ end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
295
+ class Folders
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
205
301
  class GoogleLongrunningListOperationsResponse
206
302
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
303
 
@@ -265,6 +361,12 @@ module Google
265
361
  class Object
266
362
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
363
 
364
+ class Contexts
365
+ class Representation < Google::Apis::Core::JsonRepresentation; end
366
+
367
+ include Google::Apis::Core::JsonObjectSupport
368
+ end
369
+
268
370
  class CustomerEncryption
269
371
  class Representation < Google::Apis::Core::JsonRepresentation; end
270
372
 
@@ -304,6 +406,12 @@ module Google
304
406
  include Google::Apis::Core::JsonObjectSupport
305
407
  end
306
408
 
409
+ class ObjectCustomContextPayload
410
+ class Representation < Google::Apis::Core::JsonRepresentation; end
411
+
412
+ include Google::Apis::Core::JsonObjectSupport
413
+ end
414
+
307
415
  class Objects
308
416
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
417
 
@@ -322,6 +430,18 @@ module Google
322
430
  include Google::Apis::Core::JsonObjectSupport
323
431
  end
324
432
 
433
+ class RelocateBucketRequest
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ class DestinationCustomPlacementConfig
437
+ class Representation < Google::Apis::Core::JsonRepresentation; end
438
+
439
+ include Google::Apis::Core::JsonObjectSupport
440
+ end
441
+
442
+ include Google::Apis::Core::JsonObjectSupport
443
+ end
444
+
325
445
  class RewriteResponse
326
446
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
447
 
@@ -340,6 +460,45 @@ module Google
340
460
  include Google::Apis::Core::JsonObjectSupport
341
461
  end
342
462
 
463
+ class AdvanceRelocateBucketOperationRequest
464
+ # @private
465
+ class Representation < Google::Apis::Core::JsonRepresentation
466
+ property :expire_time, as: 'expireTime', type: DateTime
467
+
468
+ property :ttl, as: 'ttl'
469
+ end
470
+ end
471
+
472
+ class AnywhereCache
473
+ # @private
474
+ class Representation < Google::Apis::Core::JsonRepresentation
475
+ property :admission_policy, as: 'admissionPolicy'
476
+ property :anywhere_cache_id, as: 'anywhereCacheId'
477
+ property :bucket, as: 'bucket'
478
+ property :create_time, as: 'createTime', type: DateTime
479
+
480
+ property :id, as: 'id'
481
+ property :kind, as: 'kind'
482
+ property :pending_update, as: 'pendingUpdate'
483
+ property :self_link, as: 'selfLink'
484
+ property :state, as: 'state'
485
+ property :ttl, as: 'ttl'
486
+ property :update_time, as: 'updateTime', type: DateTime
487
+
488
+ property :zone, as: 'zone'
489
+ end
490
+ end
491
+
492
+ class AnywhereCaches
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ collection :items, as: 'items', class: Google::Apis::StorageV1::AnywhereCache, decorator: Google::Apis::StorageV1::AnywhereCache::Representation
496
+
497
+ property :kind, as: 'kind'
498
+ property :next_page_token, as: 'nextPageToken'
499
+ end
500
+ end
501
+
343
502
  class Bucket
344
503
  # @private
345
504
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -359,9 +518,16 @@ module Google
359
518
  property :encryption, as: 'encryption', class: Google::Apis::StorageV1::Bucket::Encryption, decorator: Google::Apis::StorageV1::Bucket::Encryption::Representation
360
519
 
361
520
  property :etag, as: 'etag'
521
+ property :generation, :numeric_string => true, as: 'generation'
522
+ property :hard_delete_time, as: 'hardDeleteTime', type: DateTime
523
+
524
+ property :hierarchical_namespace, as: 'hierarchicalNamespace', class: Google::Apis::StorageV1::Bucket::HierarchicalNamespace, decorator: Google::Apis::StorageV1::Bucket::HierarchicalNamespace::Representation
525
+
362
526
  property :iam_configuration, as: 'iamConfiguration', class: Google::Apis::StorageV1::Bucket::IamConfiguration, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::Representation
363
527
 
364
528
  property :id, as: 'id'
529
+ property :ip_filter, as: 'ipFilter', class: Google::Apis::StorageV1::Bucket::IpFilter, decorator: Google::Apis::StorageV1::Bucket::IpFilter::Representation
530
+
365
531
  property :kind, as: 'kind'
366
532
  hash :labels, as: 'labels'
367
533
  property :lifecycle, as: 'lifecycle', class: Google::Apis::StorageV1::Bucket::Lifecycle, decorator: Google::Apis::StorageV1::Bucket::Lifecycle::Representation
@@ -380,10 +546,13 @@ module Google
380
546
  property :retention_policy, as: 'retentionPolicy', class: Google::Apis::StorageV1::Bucket::RetentionPolicy, decorator: Google::Apis::StorageV1::Bucket::RetentionPolicy::Representation
381
547
 
382
548
  property :rpo, as: 'rpo'
549
+ property :satisfies_pzi, as: 'satisfiesPZI'
383
550
  property :satisfies_pzs, as: 'satisfiesPZS'
384
551
  property :self_link, as: 'selfLink'
385
552
  property :soft_delete_policy, as: 'softDeletePolicy', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::Representation
386
553
 
554
+ property :soft_delete_time, as: 'softDeleteTime', type: DateTime
555
+
387
556
  property :storage_class, as: 'storageClass'
388
557
  property :time_created, as: 'timeCreated', type: DateTime
389
558
 
@@ -434,7 +603,47 @@ module Google
434
603
  class Encryption
435
604
  # @private
436
605
  class Representation < Google::Apis::Core::JsonRepresentation
606
+ property :customer_managed_encryption_enforcement_config, as: 'customerManagedEncryptionEnforcementConfig', class: Google::Apis::StorageV1::Bucket::Encryption::CustomerManagedEncryptionEnforcementConfig, decorator: Google::Apis::StorageV1::Bucket::Encryption::CustomerManagedEncryptionEnforcementConfig::Representation
607
+
608
+ property :customer_supplied_encryption_enforcement_config, as: 'customerSuppliedEncryptionEnforcementConfig', class: Google::Apis::StorageV1::Bucket::Encryption::CustomerSuppliedEncryptionEnforcementConfig, decorator: Google::Apis::StorageV1::Bucket::Encryption::CustomerSuppliedEncryptionEnforcementConfig::Representation
609
+
437
610
  property :default_kms_key_name, as: 'defaultKmsKeyName'
611
+ property :google_managed_encryption_enforcement_config, as: 'googleManagedEncryptionEnforcementConfig', class: Google::Apis::StorageV1::Bucket::Encryption::GoogleManagedEncryptionEnforcementConfig, decorator: Google::Apis::StorageV1::Bucket::Encryption::GoogleManagedEncryptionEnforcementConfig::Representation
612
+
613
+ end
614
+
615
+ class CustomerManagedEncryptionEnforcementConfig
616
+ # @private
617
+ class Representation < Google::Apis::Core::JsonRepresentation
618
+ property :effective_time, as: 'effectiveTime', type: DateTime
619
+
620
+ property :restriction_mode, as: 'restrictionMode'
621
+ end
622
+ end
623
+
624
+ class CustomerSuppliedEncryptionEnforcementConfig
625
+ # @private
626
+ class Representation < Google::Apis::Core::JsonRepresentation
627
+ property :effective_time, as: 'effectiveTime', type: DateTime
628
+
629
+ property :restriction_mode, as: 'restrictionMode'
630
+ end
631
+ end
632
+
633
+ class GoogleManagedEncryptionEnforcementConfig
634
+ # @private
635
+ class Representation < Google::Apis::Core::JsonRepresentation
636
+ property :effective_time, as: 'effectiveTime', type: DateTime
637
+
638
+ property :restriction_mode, as: 'restrictionMode'
639
+ end
640
+ end
641
+ end
642
+
643
+ class HierarchicalNamespace
644
+ # @private
645
+ class Representation < Google::Apis::Core::JsonRepresentation
646
+ property :enabled, as: 'enabled'
438
647
  end
439
648
  end
440
649
 
@@ -467,6 +676,34 @@ module Google
467
676
  end
468
677
  end
469
678
 
679
+ class IpFilter
680
+ # @private
681
+ class Representation < Google::Apis::Core::JsonRepresentation
682
+ property :allow_all_service_agent_access, as: 'allowAllServiceAgentAccess'
683
+ property :allow_cross_org_vpcs, as: 'allowCrossOrgVpcs'
684
+ property :mode, as: 'mode'
685
+ property :public_network_source, as: 'publicNetworkSource', class: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource::Representation
686
+
687
+ collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource::Representation
688
+
689
+ end
690
+
691
+ class PublicNetworkSource
692
+ # @private
693
+ class Representation < Google::Apis::Core::JsonRepresentation
694
+ collection :allowed_ip_cidr_ranges, as: 'allowedIpCidrRanges'
695
+ end
696
+ end
697
+
698
+ class VpcNetworkSource
699
+ # @private
700
+ class Representation < Google::Apis::Core::JsonRepresentation
701
+ collection :allowed_ip_cidr_ranges, as: 'allowedIpCidrRanges'
702
+ property :network, as: 'network'
703
+ end
704
+ end
705
+ end
706
+
470
707
  class Lifecycle
471
708
  # @private
472
709
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -607,6 +844,34 @@ module Google
607
844
  end
608
845
  end
609
846
 
847
+ class BucketStorageLayout
848
+ # @private
849
+ class Representation < Google::Apis::Core::JsonRepresentation
850
+ property :bucket, as: 'bucket'
851
+ property :custom_placement_config, as: 'customPlacementConfig', class: Google::Apis::StorageV1::BucketStorageLayout::CustomPlacementConfig, decorator: Google::Apis::StorageV1::BucketStorageLayout::CustomPlacementConfig::Representation
852
+
853
+ property :hierarchical_namespace, as: 'hierarchicalNamespace', class: Google::Apis::StorageV1::BucketStorageLayout::HierarchicalNamespace, decorator: Google::Apis::StorageV1::BucketStorageLayout::HierarchicalNamespace::Representation
854
+
855
+ property :kind, as: 'kind'
856
+ property :location, as: 'location'
857
+ property :location_type, as: 'locationType'
858
+ end
859
+
860
+ class CustomPlacementConfig
861
+ # @private
862
+ class Representation < Google::Apis::Core::JsonRepresentation
863
+ collection :data_locations, as: 'dataLocations'
864
+ end
865
+ end
866
+
867
+ class HierarchicalNamespace
868
+ # @private
869
+ class Representation < Google::Apis::Core::JsonRepresentation
870
+ property :enabled, as: 'enabled'
871
+ end
872
+ end
873
+ end
874
+
610
875
  class Buckets
611
876
  # @private
612
877
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -622,6 +887,10 @@ module Google
622
887
  class Representation < Google::Apis::Core::JsonRepresentation
623
888
  property :allow_overwrite, as: 'allowOverwrite'
624
889
  property :copy_source_acl, as: 'copySourceAcl'
890
+ property :created_after_time, as: 'createdAfterTime', type: DateTime
891
+
892
+ property :created_before_time, as: 'createdBeforeTime', type: DateTime
893
+
625
894
  collection :match_globs, as: 'matchGlobs'
626
895
  property :soft_deleted_after_time, as: 'softDeletedAfterTime', type: DateTime
627
896
 
@@ -684,9 +953,45 @@ module Google
684
953
  end
685
954
  end
686
955
 
956
+ class Folder
957
+ # @private
958
+ class Representation < Google::Apis::Core::JsonRepresentation
959
+ property :bucket, as: 'bucket'
960
+ property :create_time, as: 'createTime', type: DateTime
961
+
962
+ property :id, as: 'id'
963
+ property :kind, as: 'kind'
964
+ property :metageneration, :numeric_string => true, as: 'metageneration'
965
+ property :name, as: 'name'
966
+ property :pending_rename_info, as: 'pendingRenameInfo', class: Google::Apis::StorageV1::Folder::PendingRenameInfo, decorator: Google::Apis::StorageV1::Folder::PendingRenameInfo::Representation
967
+
968
+ property :self_link, as: 'selfLink'
969
+ property :update_time, as: 'updateTime', type: DateTime
970
+
971
+ end
972
+
973
+ class PendingRenameInfo
974
+ # @private
975
+ class Representation < Google::Apis::Core::JsonRepresentation
976
+ property :operation_id, as: 'operationId'
977
+ end
978
+ end
979
+ end
980
+
981
+ class Folders
982
+ # @private
983
+ class Representation < Google::Apis::Core::JsonRepresentation
984
+ collection :items, as: 'items', class: Google::Apis::StorageV1::Folder, decorator: Google::Apis::StorageV1::Folder::Representation
985
+
986
+ property :kind, as: 'kind'
987
+ property :next_page_token, as: 'nextPageToken'
988
+ end
989
+ end
990
+
687
991
  class GoogleLongrunningListOperationsResponse
688
992
  # @private
689
993
  class Representation < Google::Apis::Core::JsonRepresentation
994
+ property :kind, as: 'kind'
690
995
  property :next_page_token, as: 'nextPageToken'
691
996
  collection :operations, as: 'operations', class: Google::Apis::StorageV1::GoogleLongrunningOperation, decorator: Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
692
997
 
@@ -699,9 +1004,11 @@ module Google
699
1004
  property :done, as: 'done'
700
1005
  property :error, as: 'error', class: Google::Apis::StorageV1::GoogleRpcStatus, decorator: Google::Apis::StorageV1::GoogleRpcStatus::Representation
701
1006
 
1007
+ property :kind, as: 'kind'
702
1008
  hash :metadata, as: 'metadata'
703
1009
  property :name, as: 'name'
704
1010
  hash :response, as: 'response'
1011
+ property :self_link, as: 'selfLink'
705
1012
  end
706
1013
  end
707
1014
 
@@ -814,6 +1121,8 @@ module Google
814
1121
  property :content_encoding, as: 'contentEncoding'
815
1122
  property :content_language, as: 'contentLanguage'
816
1123
  property :content_type, as: 'contentType'
1124
+ property :contexts, as: 'contexts', class: Google::Apis::StorageV1::Object::Contexts, decorator: Google::Apis::StorageV1::Object::Contexts::Representation
1125
+
817
1126
  property :crc32c, as: 'crc32c'
818
1127
  property :custom_time, as: 'customTime', type: DateTime
819
1128
 
@@ -834,6 +1143,7 @@ module Google
834
1143
  property :name, as: 'name'
835
1144
  property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
836
1145
 
1146
+ property :restore_token, as: 'restoreToken'
837
1147
  property :retention, as: 'retention', class: Google::Apis::StorageV1::Object::Retention, decorator: Google::Apis::StorageV1::Object::Retention::Representation
838
1148
 
839
1149
  property :retention_expiration_time, as: 'retentionExpirationTime', type: DateTime
@@ -848,12 +1158,22 @@ module Google
848
1158
 
849
1159
  property :time_deleted, as: 'timeDeleted', type: DateTime
850
1160
 
1161
+ property :time_finalized, as: 'timeFinalized', type: DateTime
1162
+
851
1163
  property :time_storage_class_updated, as: 'timeStorageClassUpdated', type: DateTime
852
1164
 
853
1165
  property :updated, as: 'updated', type: DateTime
854
1166
 
855
1167
  end
856
1168
 
1169
+ class Contexts
1170
+ # @private
1171
+ class Representation < Google::Apis::Core::JsonRepresentation
1172
+ hash :custom, as: 'custom', class: Google::Apis::StorageV1::ObjectCustomContextPayload, decorator: Google::Apis::StorageV1::ObjectCustomContextPayload::Representation
1173
+
1174
+ end
1175
+ end
1176
+
857
1177
  class CustomerEncryption
858
1178
  # @private
859
1179
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -917,6 +1237,17 @@ module Google
917
1237
  end
918
1238
  end
919
1239
 
1240
+ class ObjectCustomContextPayload
1241
+ # @private
1242
+ class Representation < Google::Apis::Core::JsonRepresentation
1243
+ property :create_time, as: 'createTime', type: DateTime
1244
+
1245
+ property :update_time, as: 'updateTime', type: DateTime
1246
+
1247
+ property :value, as: 'value'
1248
+ end
1249
+ end
1250
+
920
1251
  class Objects
921
1252
  # @private
922
1253
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -950,6 +1281,23 @@ module Google
950
1281
  end
951
1282
  end
952
1283
 
1284
+ class RelocateBucketRequest
1285
+ # @private
1286
+ class Representation < Google::Apis::Core::JsonRepresentation
1287
+ property :destination_custom_placement_config, as: 'destinationCustomPlacementConfig', class: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig, decorator: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig::Representation
1288
+
1289
+ property :destination_location, as: 'destinationLocation'
1290
+ property :validate_only, as: 'validateOnly'
1291
+ end
1292
+
1293
+ class DestinationCustomPlacementConfig
1294
+ # @private
1295
+ class Representation < Google::Apis::Core::JsonRepresentation
1296
+ collection :data_locations, as: 'dataLocations'
1297
+ end
1298
+ end
1299
+ end
1300
+
953
1301
  class RewriteResponse
954
1302
  # @private
955
1303
  class Representation < Google::Apis::Core::JsonRepresentation