google-apis-storage_v1 0.29.0 → 0.54.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.54.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 = "20250629"
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
 
@@ -55,6 +73,12 @@ module Google
55
73
  include Google::Apis::Core::JsonObjectSupport
56
74
  end
57
75
 
76
+ class HierarchicalNamespace
77
+ class Representation < Google::Apis::Core::JsonRepresentation; end
78
+
79
+ include Google::Apis::Core::JsonObjectSupport
80
+ end
81
+
58
82
  class IamConfiguration
59
83
  class Representation < Google::Apis::Core::JsonRepresentation; end
60
84
 
@@ -73,6 +97,24 @@ module Google
73
97
  include Google::Apis::Core::JsonObjectSupport
74
98
  end
75
99
 
100
+ class IpFilter
101
+ class Representation < Google::Apis::Core::JsonRepresentation; end
102
+
103
+ class PublicNetworkSource
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class VpcNetworkSource
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ include Google::Apis::Core::JsonObjectSupport
116
+ end
117
+
76
118
  class Lifecycle
77
119
  class Representation < Google::Apis::Core::JsonRepresentation; end
78
120
 
@@ -160,6 +202,24 @@ module Google
160
202
  include Google::Apis::Core::JsonObjectSupport
161
203
  end
162
204
 
205
+ class BucketStorageLayout
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ class CustomPlacementConfig
209
+ class Representation < Google::Apis::Core::JsonRepresentation; end
210
+
211
+ include Google::Apis::Core::JsonObjectSupport
212
+ end
213
+
214
+ class HierarchicalNamespace
215
+ class Representation < Google::Apis::Core::JsonRepresentation; end
216
+
217
+ include Google::Apis::Core::JsonObjectSupport
218
+ end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
163
223
  class Buckets
164
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
225
 
@@ -202,6 +262,24 @@ module Google
202
262
  include Google::Apis::Core::JsonObjectSupport
203
263
  end
204
264
 
265
+ class Folder
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ class PendingRenameInfo
269
+ class Representation < Google::Apis::Core::JsonRepresentation; end
270
+
271
+ include Google::Apis::Core::JsonObjectSupport
272
+ end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class Folders
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
205
283
  class GoogleLongrunningListOperationsResponse
206
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
285
 
@@ -265,6 +343,12 @@ module Google
265
343
  class Object
266
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
267
345
 
346
+ class Contexts
347
+ class Representation < Google::Apis::Core::JsonRepresentation; end
348
+
349
+ include Google::Apis::Core::JsonObjectSupport
350
+ end
351
+
268
352
  class CustomerEncryption
269
353
  class Representation < Google::Apis::Core::JsonRepresentation; end
270
354
 
@@ -304,6 +388,12 @@ module Google
304
388
  include Google::Apis::Core::JsonObjectSupport
305
389
  end
306
390
 
391
+ class ObjectCustomContextPayload
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
307
397
  class Objects
308
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
399
 
@@ -322,6 +412,18 @@ module Google
322
412
  include Google::Apis::Core::JsonObjectSupport
323
413
  end
324
414
 
415
+ class RelocateBucketRequest
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ class DestinationCustomPlacementConfig
419
+ class Representation < Google::Apis::Core::JsonRepresentation; end
420
+
421
+ include Google::Apis::Core::JsonObjectSupport
422
+ end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
325
427
  class RewriteResponse
326
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
429
 
@@ -340,6 +442,45 @@ module Google
340
442
  include Google::Apis::Core::JsonObjectSupport
341
443
  end
342
444
 
445
+ class AdvanceRelocateBucketOperationRequest
446
+ # @private
447
+ class Representation < Google::Apis::Core::JsonRepresentation
448
+ property :expire_time, as: 'expireTime', type: DateTime
449
+
450
+ property :ttl, as: 'ttl'
451
+ end
452
+ end
453
+
454
+ class AnywhereCache
455
+ # @private
456
+ class Representation < Google::Apis::Core::JsonRepresentation
457
+ property :admission_policy, as: 'admissionPolicy'
458
+ property :anywhere_cache_id, as: 'anywhereCacheId'
459
+ property :bucket, as: 'bucket'
460
+ property :create_time, as: 'createTime', type: DateTime
461
+
462
+ property :id, as: 'id'
463
+ property :kind, as: 'kind'
464
+ property :pending_update, as: 'pendingUpdate'
465
+ property :self_link, as: 'selfLink'
466
+ property :state, as: 'state'
467
+ property :ttl, as: 'ttl'
468
+ property :update_time, as: 'updateTime', type: DateTime
469
+
470
+ property :zone, as: 'zone'
471
+ end
472
+ end
473
+
474
+ class AnywhereCaches
475
+ # @private
476
+ class Representation < Google::Apis::Core::JsonRepresentation
477
+ collection :items, as: 'items', class: Google::Apis::StorageV1::AnywhereCache, decorator: Google::Apis::StorageV1::AnywhereCache::Representation
478
+
479
+ property :kind, as: 'kind'
480
+ property :next_page_token, as: 'nextPageToken'
481
+ end
482
+ end
483
+
343
484
  class Bucket
344
485
  # @private
345
486
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -359,9 +500,16 @@ module Google
359
500
  property :encryption, as: 'encryption', class: Google::Apis::StorageV1::Bucket::Encryption, decorator: Google::Apis::StorageV1::Bucket::Encryption::Representation
360
501
 
361
502
  property :etag, as: 'etag'
503
+ property :generation, :numeric_string => true, as: 'generation'
504
+ property :hard_delete_time, as: 'hardDeleteTime', type: DateTime
505
+
506
+ property :hierarchical_namespace, as: 'hierarchicalNamespace', class: Google::Apis::StorageV1::Bucket::HierarchicalNamespace, decorator: Google::Apis::StorageV1::Bucket::HierarchicalNamespace::Representation
507
+
362
508
  property :iam_configuration, as: 'iamConfiguration', class: Google::Apis::StorageV1::Bucket::IamConfiguration, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::Representation
363
509
 
364
510
  property :id, as: 'id'
511
+ property :ip_filter, as: 'ipFilter', class: Google::Apis::StorageV1::Bucket::IpFilter, decorator: Google::Apis::StorageV1::Bucket::IpFilter::Representation
512
+
365
513
  property :kind, as: 'kind'
366
514
  hash :labels, as: 'labels'
367
515
  property :lifecycle, as: 'lifecycle', class: Google::Apis::StorageV1::Bucket::Lifecycle, decorator: Google::Apis::StorageV1::Bucket::Lifecycle::Representation
@@ -380,10 +528,13 @@ module Google
380
528
  property :retention_policy, as: 'retentionPolicy', class: Google::Apis::StorageV1::Bucket::RetentionPolicy, decorator: Google::Apis::StorageV1::Bucket::RetentionPolicy::Representation
381
529
 
382
530
  property :rpo, as: 'rpo'
531
+ property :satisfies_pzi, as: 'satisfiesPZI'
383
532
  property :satisfies_pzs, as: 'satisfiesPZS'
384
533
  property :self_link, as: 'selfLink'
385
534
  property :soft_delete_policy, as: 'softDeletePolicy', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::Representation
386
535
 
536
+ property :soft_delete_time, as: 'softDeleteTime', type: DateTime
537
+
387
538
  property :storage_class, as: 'storageClass'
388
539
  property :time_created, as: 'timeCreated', type: DateTime
389
540
 
@@ -438,6 +589,13 @@ module Google
438
589
  end
439
590
  end
440
591
 
592
+ class HierarchicalNamespace
593
+ # @private
594
+ class Representation < Google::Apis::Core::JsonRepresentation
595
+ property :enabled, as: 'enabled'
596
+ end
597
+ end
598
+
441
599
  class IamConfiguration
442
600
  # @private
443
601
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -467,6 +625,34 @@ module Google
467
625
  end
468
626
  end
469
627
 
628
+ class IpFilter
629
+ # @private
630
+ class Representation < Google::Apis::Core::JsonRepresentation
631
+ property :allow_all_service_agent_access, as: 'allowAllServiceAgentAccess'
632
+ property :allow_cross_org_vpcs, as: 'allowCrossOrgVpcs'
633
+ property :mode, as: 'mode'
634
+ property :public_network_source, as: 'publicNetworkSource', class: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource::Representation
635
+
636
+ collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource::Representation
637
+
638
+ end
639
+
640
+ class PublicNetworkSource
641
+ # @private
642
+ class Representation < Google::Apis::Core::JsonRepresentation
643
+ collection :allowed_ip_cidr_ranges, as: 'allowedIpCidrRanges'
644
+ end
645
+ end
646
+
647
+ class VpcNetworkSource
648
+ # @private
649
+ class Representation < Google::Apis::Core::JsonRepresentation
650
+ collection :allowed_ip_cidr_ranges, as: 'allowedIpCidrRanges'
651
+ property :network, as: 'network'
652
+ end
653
+ end
654
+ end
655
+
470
656
  class Lifecycle
471
657
  # @private
472
658
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -607,6 +793,34 @@ module Google
607
793
  end
608
794
  end
609
795
 
796
+ class BucketStorageLayout
797
+ # @private
798
+ class Representation < Google::Apis::Core::JsonRepresentation
799
+ property :bucket, as: 'bucket'
800
+ property :custom_placement_config, as: 'customPlacementConfig', class: Google::Apis::StorageV1::BucketStorageLayout::CustomPlacementConfig, decorator: Google::Apis::StorageV1::BucketStorageLayout::CustomPlacementConfig::Representation
801
+
802
+ property :hierarchical_namespace, as: 'hierarchicalNamespace', class: Google::Apis::StorageV1::BucketStorageLayout::HierarchicalNamespace, decorator: Google::Apis::StorageV1::BucketStorageLayout::HierarchicalNamespace::Representation
803
+
804
+ property :kind, as: 'kind'
805
+ property :location, as: 'location'
806
+ property :location_type, as: 'locationType'
807
+ end
808
+
809
+ class CustomPlacementConfig
810
+ # @private
811
+ class Representation < Google::Apis::Core::JsonRepresentation
812
+ collection :data_locations, as: 'dataLocations'
813
+ end
814
+ end
815
+
816
+ class HierarchicalNamespace
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :enabled, as: 'enabled'
820
+ end
821
+ end
822
+ end
823
+
610
824
  class Buckets
611
825
  # @private
612
826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -684,9 +898,45 @@ module Google
684
898
  end
685
899
  end
686
900
 
901
+ class Folder
902
+ # @private
903
+ class Representation < Google::Apis::Core::JsonRepresentation
904
+ property :bucket, as: 'bucket'
905
+ property :create_time, as: 'createTime', type: DateTime
906
+
907
+ property :id, as: 'id'
908
+ property :kind, as: 'kind'
909
+ property :metageneration, :numeric_string => true, as: 'metageneration'
910
+ property :name, as: 'name'
911
+ property :pending_rename_info, as: 'pendingRenameInfo', class: Google::Apis::StorageV1::Folder::PendingRenameInfo, decorator: Google::Apis::StorageV1::Folder::PendingRenameInfo::Representation
912
+
913
+ property :self_link, as: 'selfLink'
914
+ property :update_time, as: 'updateTime', type: DateTime
915
+
916
+ end
917
+
918
+ class PendingRenameInfo
919
+ # @private
920
+ class Representation < Google::Apis::Core::JsonRepresentation
921
+ property :operation_id, as: 'operationId'
922
+ end
923
+ end
924
+ end
925
+
926
+ class Folders
927
+ # @private
928
+ class Representation < Google::Apis::Core::JsonRepresentation
929
+ collection :items, as: 'items', class: Google::Apis::StorageV1::Folder, decorator: Google::Apis::StorageV1::Folder::Representation
930
+
931
+ property :kind, as: 'kind'
932
+ property :next_page_token, as: 'nextPageToken'
933
+ end
934
+ end
935
+
687
936
  class GoogleLongrunningListOperationsResponse
688
937
  # @private
689
938
  class Representation < Google::Apis::Core::JsonRepresentation
939
+ property :kind, as: 'kind'
690
940
  property :next_page_token, as: 'nextPageToken'
691
941
  collection :operations, as: 'operations', class: Google::Apis::StorageV1::GoogleLongrunningOperation, decorator: Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
692
942
 
@@ -699,9 +949,11 @@ module Google
699
949
  property :done, as: 'done'
700
950
  property :error, as: 'error', class: Google::Apis::StorageV1::GoogleRpcStatus, decorator: Google::Apis::StorageV1::GoogleRpcStatus::Representation
701
951
 
952
+ property :kind, as: 'kind'
702
953
  hash :metadata, as: 'metadata'
703
954
  property :name, as: 'name'
704
955
  hash :response, as: 'response'
956
+ property :self_link, as: 'selfLink'
705
957
  end
706
958
  end
707
959
 
@@ -814,6 +1066,8 @@ module Google
814
1066
  property :content_encoding, as: 'contentEncoding'
815
1067
  property :content_language, as: 'contentLanguage'
816
1068
  property :content_type, as: 'contentType'
1069
+ property :contexts, as: 'contexts', class: Google::Apis::StorageV1::Object::Contexts, decorator: Google::Apis::StorageV1::Object::Contexts::Representation
1070
+
817
1071
  property :crc32c, as: 'crc32c'
818
1072
  property :custom_time, as: 'customTime', type: DateTime
819
1073
 
@@ -834,6 +1088,7 @@ module Google
834
1088
  property :name, as: 'name'
835
1089
  property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
836
1090
 
1091
+ property :restore_token, as: 'restoreToken'
837
1092
  property :retention, as: 'retention', class: Google::Apis::StorageV1::Object::Retention, decorator: Google::Apis::StorageV1::Object::Retention::Representation
838
1093
 
839
1094
  property :retention_expiration_time, as: 'retentionExpirationTime', type: DateTime
@@ -848,12 +1103,22 @@ module Google
848
1103
 
849
1104
  property :time_deleted, as: 'timeDeleted', type: DateTime
850
1105
 
1106
+ property :time_finalized, as: 'timeFinalized', type: DateTime
1107
+
851
1108
  property :time_storage_class_updated, as: 'timeStorageClassUpdated', type: DateTime
852
1109
 
853
1110
  property :updated, as: 'updated', type: DateTime
854
1111
 
855
1112
  end
856
1113
 
1114
+ class Contexts
1115
+ # @private
1116
+ class Representation < Google::Apis::Core::JsonRepresentation
1117
+ hash :custom, as: 'custom', class: Google::Apis::StorageV1::ObjectCustomContextPayload, decorator: Google::Apis::StorageV1::ObjectCustomContextPayload::Representation
1118
+
1119
+ end
1120
+ end
1121
+
857
1122
  class CustomerEncryption
858
1123
  # @private
859
1124
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -917,6 +1182,17 @@ module Google
917
1182
  end
918
1183
  end
919
1184
 
1185
+ class ObjectCustomContextPayload
1186
+ # @private
1187
+ class Representation < Google::Apis::Core::JsonRepresentation
1188
+ property :create_time, as: 'createTime', type: DateTime
1189
+
1190
+ property :update_time, as: 'updateTime', type: DateTime
1191
+
1192
+ property :value, as: 'value'
1193
+ end
1194
+ end
1195
+
920
1196
  class Objects
921
1197
  # @private
922
1198
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -950,6 +1226,23 @@ module Google
950
1226
  end
951
1227
  end
952
1228
 
1229
+ class RelocateBucketRequest
1230
+ # @private
1231
+ class Representation < Google::Apis::Core::JsonRepresentation
1232
+ property :destination_custom_placement_config, as: 'destinationCustomPlacementConfig', class: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig, decorator: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig::Representation
1233
+
1234
+ property :destination_location, as: 'destinationLocation'
1235
+ property :validate_only, as: 'validateOnly'
1236
+ end
1237
+
1238
+ class DestinationCustomPlacementConfig
1239
+ # @private
1240
+ class Representation < Google::Apis::Core::JsonRepresentation
1241
+ collection :data_locations, as: 'dataLocations'
1242
+ end
1243
+ end
1244
+ end
1245
+
953
1246
  class RewriteResponse
954
1247
  # @private
955
1248
  class Representation < Google::Apis::Core::JsonRepresentation