google-apis-storage_v1 0.29.0 → 0.55.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 +4 -4
- data/CHANGELOG.md +111 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/storage_v1/classes.rb +832 -53
- data/lib/google/apis/storage_v1/gem_version.rb +3 -3
- data/lib/google/apis/storage_v1/representations.rb +344 -0
- data/lib/google/apis/storage_v1/service.rb +904 -110
- metadata +7 -10
@@ -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
|
+
GEM_VERSION = "0.55.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250718"
|
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
|
@@ -684,9 +949,45 @@ module Google
|
|
684
949
|
end
|
685
950
|
end
|
686
951
|
|
952
|
+
class Folder
|
953
|
+
# @private
|
954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
955
|
+
property :bucket, as: 'bucket'
|
956
|
+
property :create_time, as: 'createTime', type: DateTime
|
957
|
+
|
958
|
+
property :id, as: 'id'
|
959
|
+
property :kind, as: 'kind'
|
960
|
+
property :metageneration, :numeric_string => true, as: 'metageneration'
|
961
|
+
property :name, as: 'name'
|
962
|
+
property :pending_rename_info, as: 'pendingRenameInfo', class: Google::Apis::StorageV1::Folder::PendingRenameInfo, decorator: Google::Apis::StorageV1::Folder::PendingRenameInfo::Representation
|
963
|
+
|
964
|
+
property :self_link, as: 'selfLink'
|
965
|
+
property :update_time, as: 'updateTime', type: DateTime
|
966
|
+
|
967
|
+
end
|
968
|
+
|
969
|
+
class PendingRenameInfo
|
970
|
+
# @private
|
971
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
972
|
+
property :operation_id, as: 'operationId'
|
973
|
+
end
|
974
|
+
end
|
975
|
+
end
|
976
|
+
|
977
|
+
class Folders
|
978
|
+
# @private
|
979
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
980
|
+
collection :items, as: 'items', class: Google::Apis::StorageV1::Folder, decorator: Google::Apis::StorageV1::Folder::Representation
|
981
|
+
|
982
|
+
property :kind, as: 'kind'
|
983
|
+
property :next_page_token, as: 'nextPageToken'
|
984
|
+
end
|
985
|
+
end
|
986
|
+
|
687
987
|
class GoogleLongrunningListOperationsResponse
|
688
988
|
# @private
|
689
989
|
class Representation < Google::Apis::Core::JsonRepresentation
|
990
|
+
property :kind, as: 'kind'
|
690
991
|
property :next_page_token, as: 'nextPageToken'
|
691
992
|
collection :operations, as: 'operations', class: Google::Apis::StorageV1::GoogleLongrunningOperation, decorator: Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
|
692
993
|
|
@@ -699,9 +1000,11 @@ module Google
|
|
699
1000
|
property :done, as: 'done'
|
700
1001
|
property :error, as: 'error', class: Google::Apis::StorageV1::GoogleRpcStatus, decorator: Google::Apis::StorageV1::GoogleRpcStatus::Representation
|
701
1002
|
|
1003
|
+
property :kind, as: 'kind'
|
702
1004
|
hash :metadata, as: 'metadata'
|
703
1005
|
property :name, as: 'name'
|
704
1006
|
hash :response, as: 'response'
|
1007
|
+
property :self_link, as: 'selfLink'
|
705
1008
|
end
|
706
1009
|
end
|
707
1010
|
|
@@ -814,6 +1117,8 @@ module Google
|
|
814
1117
|
property :content_encoding, as: 'contentEncoding'
|
815
1118
|
property :content_language, as: 'contentLanguage'
|
816
1119
|
property :content_type, as: 'contentType'
|
1120
|
+
property :contexts, as: 'contexts', class: Google::Apis::StorageV1::Object::Contexts, decorator: Google::Apis::StorageV1::Object::Contexts::Representation
|
1121
|
+
|
817
1122
|
property :crc32c, as: 'crc32c'
|
818
1123
|
property :custom_time, as: 'customTime', type: DateTime
|
819
1124
|
|
@@ -834,6 +1139,7 @@ module Google
|
|
834
1139
|
property :name, as: 'name'
|
835
1140
|
property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
|
836
1141
|
|
1142
|
+
property :restore_token, as: 'restoreToken'
|
837
1143
|
property :retention, as: 'retention', class: Google::Apis::StorageV1::Object::Retention, decorator: Google::Apis::StorageV1::Object::Retention::Representation
|
838
1144
|
|
839
1145
|
property :retention_expiration_time, as: 'retentionExpirationTime', type: DateTime
|
@@ -848,12 +1154,22 @@ module Google
|
|
848
1154
|
|
849
1155
|
property :time_deleted, as: 'timeDeleted', type: DateTime
|
850
1156
|
|
1157
|
+
property :time_finalized, as: 'timeFinalized', type: DateTime
|
1158
|
+
|
851
1159
|
property :time_storage_class_updated, as: 'timeStorageClassUpdated', type: DateTime
|
852
1160
|
|
853
1161
|
property :updated, as: 'updated', type: DateTime
|
854
1162
|
|
855
1163
|
end
|
856
1164
|
|
1165
|
+
class Contexts
|
1166
|
+
# @private
|
1167
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1168
|
+
hash :custom, as: 'custom', class: Google::Apis::StorageV1::ObjectCustomContextPayload, decorator: Google::Apis::StorageV1::ObjectCustomContextPayload::Representation
|
1169
|
+
|
1170
|
+
end
|
1171
|
+
end
|
1172
|
+
|
857
1173
|
class CustomerEncryption
|
858
1174
|
# @private
|
859
1175
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -917,6 +1233,17 @@ module Google
|
|
917
1233
|
end
|
918
1234
|
end
|
919
1235
|
|
1236
|
+
class ObjectCustomContextPayload
|
1237
|
+
# @private
|
1238
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1239
|
+
property :create_time, as: 'createTime', type: DateTime
|
1240
|
+
|
1241
|
+
property :update_time, as: 'updateTime', type: DateTime
|
1242
|
+
|
1243
|
+
property :value, as: 'value'
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
920
1247
|
class Objects
|
921
1248
|
# @private
|
922
1249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -950,6 +1277,23 @@ module Google
|
|
950
1277
|
end
|
951
1278
|
end
|
952
1279
|
|
1280
|
+
class RelocateBucketRequest
|
1281
|
+
# @private
|
1282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1283
|
+
property :destination_custom_placement_config, as: 'destinationCustomPlacementConfig', class: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig, decorator: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig::Representation
|
1284
|
+
|
1285
|
+
property :destination_location, as: 'destinationLocation'
|
1286
|
+
property :validate_only, as: 'validateOnly'
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
class DestinationCustomPlacementConfig
|
1290
|
+
# @private
|
1291
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1292
|
+
collection :data_locations, as: 'dataLocations'
|
1293
|
+
end
|
1294
|
+
end
|
1295
|
+
end
|
1296
|
+
|
953
1297
|
class RewriteResponse
|
954
1298
|
# @private
|
955
1299
|
class Representation < Google::Apis::Core::JsonRepresentation
|