google-apis-storage_v1 0.38.0 → 0.49.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 +45 -0
- data/lib/google/apis/storage_v1/classes.rb +334 -14
- data/lib/google/apis/storage_v1/gem_version.rb +3 -3
- data/lib/google/apis/storage_v1/representations.rb +148 -0
- data/lib/google/apis/storage_v1/service.rb +299 -12
- metadata +4 -4
@@ -22,6 +22,12 @@ 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
|
+
|
25
31
|
class AnywhereCache
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -91,6 +97,24 @@ module Google
|
|
91
97
|
include Google::Apis::Core::JsonObjectSupport
|
92
98
|
end
|
93
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
|
+
|
94
118
|
class Lifecycle
|
95
119
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
96
120
|
|
@@ -178,6 +202,24 @@ module Google
|
|
178
202
|
include Google::Apis::Core::JsonObjectSupport
|
179
203
|
end
|
180
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
|
+
|
181
223
|
class Buckets
|
182
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
225
|
|
@@ -358,6 +400,18 @@ module Google
|
|
358
400
|
include Google::Apis::Core::JsonObjectSupport
|
359
401
|
end
|
360
402
|
|
403
|
+
class RelocateBucketRequest
|
404
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
405
|
+
|
406
|
+
class DestinationCustomPlacementConfig
|
407
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
408
|
+
|
409
|
+
include Google::Apis::Core::JsonObjectSupport
|
410
|
+
end
|
411
|
+
|
412
|
+
include Google::Apis::Core::JsonObjectSupport
|
413
|
+
end
|
414
|
+
|
361
415
|
class RewriteResponse
|
362
416
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
417
|
|
@@ -376,6 +430,15 @@ module Google
|
|
376
430
|
include Google::Apis::Core::JsonObjectSupport
|
377
431
|
end
|
378
432
|
|
433
|
+
class AdvanceRelocateBucketOperationRequest
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
property :expire_time, as: 'expireTime', type: DateTime
|
437
|
+
|
438
|
+
property :ttl, as: 'ttl'
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
379
442
|
class AnywhereCache
|
380
443
|
# @private
|
381
444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -425,11 +488,16 @@ module Google
|
|
425
488
|
property :encryption, as: 'encryption', class: Google::Apis::StorageV1::Bucket::Encryption, decorator: Google::Apis::StorageV1::Bucket::Encryption::Representation
|
426
489
|
|
427
490
|
property :etag, as: 'etag'
|
491
|
+
property :generation, :numeric_string => true, as: 'generation'
|
492
|
+
property :hard_delete_time, as: 'hardDeleteTime', type: DateTime
|
493
|
+
|
428
494
|
property :hierarchical_namespace, as: 'hierarchicalNamespace', class: Google::Apis::StorageV1::Bucket::HierarchicalNamespace, decorator: Google::Apis::StorageV1::Bucket::HierarchicalNamespace::Representation
|
429
495
|
|
430
496
|
property :iam_configuration, as: 'iamConfiguration', class: Google::Apis::StorageV1::Bucket::IamConfiguration, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::Representation
|
431
497
|
|
432
498
|
property :id, as: 'id'
|
499
|
+
property :ip_filter, as: 'ipFilter', class: Google::Apis::StorageV1::Bucket::IpFilter, decorator: Google::Apis::StorageV1::Bucket::IpFilter::Representation
|
500
|
+
|
433
501
|
property :kind, as: 'kind'
|
434
502
|
hash :labels, as: 'labels'
|
435
503
|
property :lifecycle, as: 'lifecycle', class: Google::Apis::StorageV1::Bucket::Lifecycle, decorator: Google::Apis::StorageV1::Bucket::Lifecycle::Representation
|
@@ -448,10 +516,13 @@ module Google
|
|
448
516
|
property :retention_policy, as: 'retentionPolicy', class: Google::Apis::StorageV1::Bucket::RetentionPolicy, decorator: Google::Apis::StorageV1::Bucket::RetentionPolicy::Representation
|
449
517
|
|
450
518
|
property :rpo, as: 'rpo'
|
519
|
+
property :satisfies_pzi, as: 'satisfiesPZI'
|
451
520
|
property :satisfies_pzs, as: 'satisfiesPZS'
|
452
521
|
property :self_link, as: 'selfLink'
|
453
522
|
property :soft_delete_policy, as: 'softDeletePolicy', class: Google::Apis::StorageV1::Bucket::SoftDeletePolicy, decorator: Google::Apis::StorageV1::Bucket::SoftDeletePolicy::Representation
|
454
523
|
|
524
|
+
property :soft_delete_time, as: 'softDeleteTime', type: DateTime
|
525
|
+
|
455
526
|
property :storage_class, as: 'storageClass'
|
456
527
|
property :time_created, as: 'timeCreated', type: DateTime
|
457
528
|
|
@@ -542,6 +613,32 @@ module Google
|
|
542
613
|
end
|
543
614
|
end
|
544
615
|
|
616
|
+
class IpFilter
|
617
|
+
# @private
|
618
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
619
|
+
property :mode, as: 'mode'
|
620
|
+
property :public_network_source, as: 'publicNetworkSource', class: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource::Representation
|
621
|
+
|
622
|
+
collection :vpc_network_sources, as: 'vpcNetworkSources', class: Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource, decorator: Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource::Representation
|
623
|
+
|
624
|
+
end
|
625
|
+
|
626
|
+
class PublicNetworkSource
|
627
|
+
# @private
|
628
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
629
|
+
collection :allowed_ip_cidr_ranges, as: 'allowedIpCidrRanges'
|
630
|
+
end
|
631
|
+
end
|
632
|
+
|
633
|
+
class VpcNetworkSource
|
634
|
+
# @private
|
635
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
636
|
+
collection :allowed_ip_cidr_ranges, as: 'allowedIpCidrRanges'
|
637
|
+
property :network, as: 'network'
|
638
|
+
end
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
545
642
|
class Lifecycle
|
546
643
|
# @private
|
547
644
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -682,6 +779,34 @@ module Google
|
|
682
779
|
end
|
683
780
|
end
|
684
781
|
|
782
|
+
class BucketStorageLayout
|
783
|
+
# @private
|
784
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
785
|
+
property :bucket, as: 'bucket'
|
786
|
+
property :custom_placement_config, as: 'customPlacementConfig', class: Google::Apis::StorageV1::BucketStorageLayout::CustomPlacementConfig, decorator: Google::Apis::StorageV1::BucketStorageLayout::CustomPlacementConfig::Representation
|
787
|
+
|
788
|
+
property :hierarchical_namespace, as: 'hierarchicalNamespace', class: Google::Apis::StorageV1::BucketStorageLayout::HierarchicalNamespace, decorator: Google::Apis::StorageV1::BucketStorageLayout::HierarchicalNamespace::Representation
|
789
|
+
|
790
|
+
property :kind, as: 'kind'
|
791
|
+
property :location, as: 'location'
|
792
|
+
property :location_type, as: 'locationType'
|
793
|
+
end
|
794
|
+
|
795
|
+
class CustomPlacementConfig
|
796
|
+
# @private
|
797
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
798
|
+
collection :data_locations, as: 'dataLocations'
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
class HierarchicalNamespace
|
803
|
+
# @private
|
804
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
805
|
+
property :enabled, as: 'enabled'
|
806
|
+
end
|
807
|
+
end
|
808
|
+
end
|
809
|
+
|
685
810
|
class Buckets
|
686
811
|
# @private
|
687
812
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -797,6 +922,7 @@ module Google
|
|
797
922
|
class GoogleLongrunningListOperationsResponse
|
798
923
|
# @private
|
799
924
|
class Representation < Google::Apis::Core::JsonRepresentation
|
925
|
+
property :kind, as: 'kind'
|
800
926
|
property :next_page_token, as: 'nextPageToken'
|
801
927
|
collection :operations, as: 'operations', class: Google::Apis::StorageV1::GoogleLongrunningOperation, decorator: Google::Apis::StorageV1::GoogleLongrunningOperation::Representation
|
802
928
|
|
@@ -809,9 +935,11 @@ module Google
|
|
809
935
|
property :done, as: 'done'
|
810
936
|
property :error, as: 'error', class: Google::Apis::StorageV1::GoogleRpcStatus, decorator: Google::Apis::StorageV1::GoogleRpcStatus::Representation
|
811
937
|
|
938
|
+
property :kind, as: 'kind'
|
812
939
|
hash :metadata, as: 'metadata'
|
813
940
|
property :name, as: 'name'
|
814
941
|
hash :response, as: 'response'
|
942
|
+
property :self_link, as: 'selfLink'
|
815
943
|
end
|
816
944
|
end
|
817
945
|
|
@@ -944,6 +1072,7 @@ module Google
|
|
944
1072
|
property :name, as: 'name'
|
945
1073
|
property :owner, as: 'owner', class: Google::Apis::StorageV1::Object::Owner, decorator: Google::Apis::StorageV1::Object::Owner::Representation
|
946
1074
|
|
1075
|
+
property :restore_token, as: 'restoreToken'
|
947
1076
|
property :retention, as: 'retention', class: Google::Apis::StorageV1::Object::Retention, decorator: Google::Apis::StorageV1::Object::Retention::Representation
|
948
1077
|
|
949
1078
|
property :retention_expiration_time, as: 'retentionExpirationTime', type: DateTime
|
@@ -958,6 +1087,8 @@ module Google
|
|
958
1087
|
|
959
1088
|
property :time_deleted, as: 'timeDeleted', type: DateTime
|
960
1089
|
|
1090
|
+
property :time_finalized, as: 'timeFinalized', type: DateTime
|
1091
|
+
|
961
1092
|
property :time_storage_class_updated, as: 'timeStorageClassUpdated', type: DateTime
|
962
1093
|
|
963
1094
|
property :updated, as: 'updated', type: DateTime
|
@@ -1060,6 +1191,23 @@ module Google
|
|
1060
1191
|
end
|
1061
1192
|
end
|
1062
1193
|
|
1194
|
+
class RelocateBucketRequest
|
1195
|
+
# @private
|
1196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1197
|
+
property :destination_custom_placement_config, as: 'destinationCustomPlacementConfig', class: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig, decorator: Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig::Representation
|
1198
|
+
|
1199
|
+
property :destination_location, as: 'destinationLocation'
|
1200
|
+
property :validate_only, as: 'validateOnly'
|
1201
|
+
end
|
1202
|
+
|
1203
|
+
class DestinationCustomPlacementConfig
|
1204
|
+
# @private
|
1205
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1206
|
+
collection :data_locations, as: 'dataLocations'
|
1207
|
+
end
|
1208
|
+
end
|
1209
|
+
end
|
1210
|
+
|
1063
1211
|
class RewriteResponse
|
1064
1212
|
# @private
|
1065
1213
|
class Representation < Google::Apis::Core::JsonRepresentation
|