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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff26be4bb55f4a670e315ca18140db560ab3044093d58c602c5f003df7c23939
|
4
|
+
data.tar.gz: 6ace78a94b2cbc82857df21f4a997991961084584a6132770a5722df921fe82c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d90a9aa6f2124d2dd9c1a8b2896412f092477911d9d811a9cd7c286511e3c8a851fab92477a411da06663c50e0e1f87d0a2be93cb6362e8b7efb6cb46ffca736
|
7
|
+
data.tar.gz: 88fd5cfce0a4f5c76d0912f3d58fe929ed8e850cd73abbf2853d0ed53118ba3a3a0febfdb575ec11576e7103bcaa626d5327d6ee9079a7dc75a370dc674a1d00
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,50 @@
|
|
1
1
|
# Release history for google-apis-storage_v1
|
2
2
|
|
3
|
+
### v0.49.0 (2024-12-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241206
|
6
|
+
|
7
|
+
### v0.48.0 (2024-11-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241113
|
10
|
+
|
11
|
+
### v0.47.0 (2024-10-13)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20241008
|
14
|
+
|
15
|
+
### v0.46.0 (2024-09-29)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20240924
|
18
|
+
|
19
|
+
### v0.45.0 (2024-09-22)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20240916
|
22
|
+
|
23
|
+
### v0.44.0 (2024-08-25)
|
24
|
+
|
25
|
+
* Regenerated from discovery document revision 20240819
|
26
|
+
|
27
|
+
### v0.43.0 (2024-08-18)
|
28
|
+
|
29
|
+
* Regenerated from discovery document revision 20240809
|
30
|
+
|
31
|
+
### v0.42.0 (2024-08-11)
|
32
|
+
|
33
|
+
* Regenerated from discovery document revision 20240805
|
34
|
+
* Regenerated using generator version 0.15.1
|
35
|
+
|
36
|
+
### v0.41.0 (2024-07-25)
|
37
|
+
|
38
|
+
* Regenerated from discovery document revision 20240706
|
39
|
+
|
40
|
+
### v0.40.0 (2024-06-26)
|
41
|
+
|
42
|
+
* Regenerated from discovery document revision 20240621
|
43
|
+
|
44
|
+
### v0.39.0 (2024-06-02)
|
45
|
+
|
46
|
+
* Regenerated from discovery document revision 20240524
|
47
|
+
|
3
48
|
### v0.38.0 (2024-05-19)
|
4
49
|
|
5
50
|
* Regenerated using generator version 0.15.0
|
@@ -22,6 +22,34 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module StorageV1
|
24
24
|
|
25
|
+
# An AdvanceRelocateBucketOperation request.
|
26
|
+
class AdvanceRelocateBucketOperationRequest
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Specifies the time when the relocation will revert to the sync stage if the
|
30
|
+
# relocation hasn't succeeded.
|
31
|
+
# Corresponds to the JSON property `expireTime`
|
32
|
+
# @return [DateTime]
|
33
|
+
attr_accessor :expire_time
|
34
|
+
|
35
|
+
# Specifies the duration after which the relocation will revert to the sync
|
36
|
+
# stage if the relocation hasn't succeeded. Optional, if not supplied, a default
|
37
|
+
# value of 12h will be used.
|
38
|
+
# Corresponds to the JSON property `ttl`
|
39
|
+
# @return [String]
|
40
|
+
attr_accessor :ttl
|
41
|
+
|
42
|
+
def initialize(**args)
|
43
|
+
update!(**args)
|
44
|
+
end
|
45
|
+
|
46
|
+
# Update properties of this object
|
47
|
+
def update!(**args)
|
48
|
+
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
49
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
25
53
|
# An Anywhere Cache instance.
|
26
54
|
class AnywhereCache
|
27
55
|
include Google::Apis::Core::Hashable
|
@@ -204,6 +232,16 @@ module Google
|
|
204
232
|
# @return [String]
|
205
233
|
attr_accessor :etag
|
206
234
|
|
235
|
+
# The generation of this bucket.
|
236
|
+
# Corresponds to the JSON property `generation`
|
237
|
+
# @return [Fixnum]
|
238
|
+
attr_accessor :generation
|
239
|
+
|
240
|
+
# The hard delete time of the bucket in RFC 3339 format.
|
241
|
+
# Corresponds to the JSON property `hardDeleteTime`
|
242
|
+
# @return [DateTime]
|
243
|
+
attr_accessor :hard_delete_time
|
244
|
+
|
207
245
|
# The bucket's hierarchical namespace configuration.
|
208
246
|
# Corresponds to the JSON property `hierarchicalNamespace`
|
209
247
|
# @return [Google::Apis::StorageV1::Bucket::HierarchicalNamespace]
|
@@ -219,6 +257,13 @@ module Google
|
|
219
257
|
# @return [String]
|
220
258
|
attr_accessor :id
|
221
259
|
|
260
|
+
# The bucket's IP filter configuration. Specifies the network sources that are
|
261
|
+
# allowed to access the operations on the bucket, as well as its underlying
|
262
|
+
# objects. Only enforced when the mode is set to 'Enabled'.
|
263
|
+
# Corresponds to the JSON property `ipFilter`
|
264
|
+
# @return [Google::Apis::StorageV1::Bucket::IpFilter]
|
265
|
+
attr_accessor :ip_filter
|
266
|
+
|
222
267
|
# The kind of item this is. For buckets, this is always storage#bucket.
|
223
268
|
# Corresponds to the JSON property `kind`
|
224
269
|
# @return [String]
|
@@ -229,15 +274,16 @@ module Google
|
|
229
274
|
# @return [Hash<String,String>]
|
230
275
|
attr_accessor :labels
|
231
276
|
|
232
|
-
# The bucket's lifecycle configuration. See
|
233
|
-
# information.
|
277
|
+
# The bucket's lifecycle configuration. See [Lifecycle Management](https://cloud.
|
278
|
+
# google.com/storage/docs/lifecycle) for more information.
|
234
279
|
# Corresponds to the JSON property `lifecycle`
|
235
280
|
# @return [Google::Apis::StorageV1::Bucket::Lifecycle]
|
236
281
|
attr_accessor :lifecycle
|
237
282
|
|
238
283
|
# The location of the bucket. Object data for objects in the bucket resides in
|
239
|
-
# physical storage within this region. Defaults to US. See the
|
240
|
-
# for the authoritative
|
284
|
+
# physical storage within this region. Defaults to US. See the [Developer's
|
285
|
+
# Guide](https://cloud.google.com/storage/docs/locations) for the authoritative
|
286
|
+
# list.
|
241
287
|
# Corresponds to the JSON property `location`
|
242
288
|
# @return [String]
|
243
289
|
attr_accessor :location
|
@@ -297,6 +343,12 @@ module Google
|
|
297
343
|
# @return [String]
|
298
344
|
attr_accessor :rpo
|
299
345
|
|
346
|
+
# Reserved for future use.
|
347
|
+
# Corresponds to the JSON property `satisfiesPZI`
|
348
|
+
# @return [Boolean]
|
349
|
+
attr_accessor :satisfies_pzi
|
350
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
351
|
+
|
300
352
|
# Reserved for future use.
|
301
353
|
# Corresponds to the JSON property `satisfiesPZS`
|
302
354
|
# @return [Boolean]
|
@@ -314,13 +366,18 @@ module Google
|
|
314
366
|
# @return [Google::Apis::StorageV1::Bucket::SoftDeletePolicy]
|
315
367
|
attr_accessor :soft_delete_policy
|
316
368
|
|
369
|
+
# The soft delete time of the bucket in RFC 3339 format.
|
370
|
+
# Corresponds to the JSON property `softDeleteTime`
|
371
|
+
# @return [DateTime]
|
372
|
+
attr_accessor :soft_delete_time
|
373
|
+
|
317
374
|
# The bucket's default storage class, used whenever no storageClass is specified
|
318
375
|
# for a newly-created object. This defines how objects in the bucket are stored
|
319
376
|
# and determines the SLA and the cost of storage. Values include MULTI_REGIONAL,
|
320
377
|
# REGIONAL, STANDARD, NEARLINE, COLDLINE, ARCHIVE, and
|
321
378
|
# DURABLE_REDUCED_AVAILABILITY. If this value is not specified when the bucket
|
322
|
-
# is created, it will default to STANDARD. For more information, see
|
323
|
-
# classes.
|
379
|
+
# is created, it will default to STANDARD. For more information, see [Storage
|
380
|
+
# Classes](https://cloud.google.com/storage/docs/storage-classes).
|
324
381
|
# Corresponds to the JSON property `storageClass`
|
325
382
|
# @return [String]
|
326
383
|
attr_accessor :storage_class
|
@@ -341,8 +398,8 @@ module Google
|
|
341
398
|
attr_accessor :versioning
|
342
399
|
|
343
400
|
# The bucket's website configuration, controlling how the service behaves when
|
344
|
-
# accessing bucket contents as a web site. See the Static Website Examples
|
345
|
-
# more information.
|
401
|
+
# accessing bucket contents as a web site. See the [Static Website Examples](
|
402
|
+
# https://cloud.google.com/storage/docs/static-website) for more information.
|
346
403
|
# Corresponds to the JSON property `website`
|
347
404
|
# @return [Google::Apis::StorageV1::Bucket::Website]
|
348
405
|
attr_accessor :website
|
@@ -362,9 +419,12 @@ module Google
|
|
362
419
|
@default_object_acl = args[:default_object_acl] if args.key?(:default_object_acl)
|
363
420
|
@encryption = args[:encryption] if args.key?(:encryption)
|
364
421
|
@etag = args[:etag] if args.key?(:etag)
|
422
|
+
@generation = args[:generation] if args.key?(:generation)
|
423
|
+
@hard_delete_time = args[:hard_delete_time] if args.key?(:hard_delete_time)
|
365
424
|
@hierarchical_namespace = args[:hierarchical_namespace] if args.key?(:hierarchical_namespace)
|
366
425
|
@iam_configuration = args[:iam_configuration] if args.key?(:iam_configuration)
|
367
426
|
@id = args[:id] if args.key?(:id)
|
427
|
+
@ip_filter = args[:ip_filter] if args.key?(:ip_filter)
|
368
428
|
@kind = args[:kind] if args.key?(:kind)
|
369
429
|
@labels = args[:labels] if args.key?(:labels)
|
370
430
|
@lifecycle = args[:lifecycle] if args.key?(:lifecycle)
|
@@ -378,9 +438,11 @@ module Google
|
|
378
438
|
@project_number = args[:project_number] if args.key?(:project_number)
|
379
439
|
@retention_policy = args[:retention_policy] if args.key?(:retention_policy)
|
380
440
|
@rpo = args[:rpo] if args.key?(:rpo)
|
441
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
381
442
|
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
382
443
|
@self_link = args[:self_link] if args.key?(:self_link)
|
383
444
|
@soft_delete_policy = args[:soft_delete_policy] if args.key?(:soft_delete_policy)
|
445
|
+
@soft_delete_time = args[:soft_delete_time] if args.key?(:soft_delete_time)
|
384
446
|
@storage_class = args[:storage_class] if args.key?(:storage_class)
|
385
447
|
@time_created = args[:time_created] if args.key?(:time_created)
|
386
448
|
@updated = args[:updated] if args.key?(:updated)
|
@@ -649,8 +711,89 @@ module Google
|
|
649
711
|
end
|
650
712
|
end
|
651
713
|
|
652
|
-
# The bucket's
|
653
|
-
#
|
714
|
+
# The bucket's IP filter configuration. Specifies the network sources that are
|
715
|
+
# allowed to access the operations on the bucket, as well as its underlying
|
716
|
+
# objects. Only enforced when the mode is set to 'Enabled'.
|
717
|
+
class IpFilter
|
718
|
+
include Google::Apis::Core::Hashable
|
719
|
+
|
720
|
+
# The mode of the IP filter. Valid values are 'Enabled' and 'Disabled'.
|
721
|
+
# Corresponds to the JSON property `mode`
|
722
|
+
# @return [String]
|
723
|
+
attr_accessor :mode
|
724
|
+
|
725
|
+
# The public network source of the bucket's IP filter.
|
726
|
+
# Corresponds to the JSON property `publicNetworkSource`
|
727
|
+
# @return [Google::Apis::StorageV1::Bucket::IpFilter::PublicNetworkSource]
|
728
|
+
attr_accessor :public_network_source
|
729
|
+
|
730
|
+
# The list of [VPC network](https://cloud.google.com/vpc/docs/vpc) sources of
|
731
|
+
# the bucket's IP filter.
|
732
|
+
# Corresponds to the JSON property `vpcNetworkSources`
|
733
|
+
# @return [Array<Google::Apis::StorageV1::Bucket::IpFilter::VpcNetworkSource>]
|
734
|
+
attr_accessor :vpc_network_sources
|
735
|
+
|
736
|
+
def initialize(**args)
|
737
|
+
update!(**args)
|
738
|
+
end
|
739
|
+
|
740
|
+
# Update properties of this object
|
741
|
+
def update!(**args)
|
742
|
+
@mode = args[:mode] if args.key?(:mode)
|
743
|
+
@public_network_source = args[:public_network_source] if args.key?(:public_network_source)
|
744
|
+
@vpc_network_sources = args[:vpc_network_sources] if args.key?(:vpc_network_sources)
|
745
|
+
end
|
746
|
+
|
747
|
+
# The public network source of the bucket's IP filter.
|
748
|
+
class PublicNetworkSource
|
749
|
+
include Google::Apis::Core::Hashable
|
750
|
+
|
751
|
+
# The list of public IPv4, IPv6 cidr ranges that are allowed to access the
|
752
|
+
# bucket.
|
753
|
+
# Corresponds to the JSON property `allowedIpCidrRanges`
|
754
|
+
# @return [Array<String>]
|
755
|
+
attr_accessor :allowed_ip_cidr_ranges
|
756
|
+
|
757
|
+
def initialize(**args)
|
758
|
+
update!(**args)
|
759
|
+
end
|
760
|
+
|
761
|
+
# Update properties of this object
|
762
|
+
def update!(**args)
|
763
|
+
@allowed_ip_cidr_ranges = args[:allowed_ip_cidr_ranges] if args.key?(:allowed_ip_cidr_ranges)
|
764
|
+
end
|
765
|
+
end
|
766
|
+
|
767
|
+
#
|
768
|
+
class VpcNetworkSource
|
769
|
+
include Google::Apis::Core::Hashable
|
770
|
+
|
771
|
+
# The list of IPv4, IPv6 cidr ranges subnetworks that are allowed to access the
|
772
|
+
# bucket.
|
773
|
+
# Corresponds to the JSON property `allowedIpCidrRanges`
|
774
|
+
# @return [Array<String>]
|
775
|
+
attr_accessor :allowed_ip_cidr_ranges
|
776
|
+
|
777
|
+
# Name of the network. Format: projects/`PROJECT_ID`/global/networks/`
|
778
|
+
# NETWORK_NAME`
|
779
|
+
# Corresponds to the JSON property `network`
|
780
|
+
# @return [String]
|
781
|
+
attr_accessor :network
|
782
|
+
|
783
|
+
def initialize(**args)
|
784
|
+
update!(**args)
|
785
|
+
end
|
786
|
+
|
787
|
+
# Update properties of this object
|
788
|
+
def update!(**args)
|
789
|
+
@allowed_ip_cidr_ranges = args[:allowed_ip_cidr_ranges] if args.key?(:allowed_ip_cidr_ranges)
|
790
|
+
@network = args[:network] if args.key?(:network)
|
791
|
+
end
|
792
|
+
end
|
793
|
+
end
|
794
|
+
|
795
|
+
# The bucket's lifecycle configuration. See [Lifecycle Management](https://cloud.
|
796
|
+
# google.com/storage/docs/lifecycle) for more information.
|
654
797
|
class Lifecycle
|
655
798
|
include Google::Apis::Core::Hashable
|
656
799
|
|
@@ -994,8 +1137,8 @@ module Google
|
|
994
1137
|
end
|
995
1138
|
|
996
1139
|
# The bucket's website configuration, controlling how the service behaves when
|
997
|
-
# accessing bucket contents as a web site. See the Static Website Examples
|
998
|
-
# more information.
|
1140
|
+
# accessing bucket contents as a web site. See the [Static Website Examples](
|
1141
|
+
# https://cloud.google.com/storage/docs/static-website) for more information.
|
999
1142
|
class Website
|
1000
1143
|
include Google::Apis::Core::Hashable
|
1001
1144
|
|
@@ -1169,6 +1312,95 @@ module Google
|
|
1169
1312
|
end
|
1170
1313
|
end
|
1171
1314
|
|
1315
|
+
# The storage layout configuration of a bucket.
|
1316
|
+
class BucketStorageLayout
|
1317
|
+
include Google::Apis::Core::Hashable
|
1318
|
+
|
1319
|
+
# The name of the bucket.
|
1320
|
+
# Corresponds to the JSON property `bucket`
|
1321
|
+
# @return [String]
|
1322
|
+
attr_accessor :bucket
|
1323
|
+
|
1324
|
+
# The bucket's custom placement configuration for Custom Dual Regions.
|
1325
|
+
# Corresponds to the JSON property `customPlacementConfig`
|
1326
|
+
# @return [Google::Apis::StorageV1::BucketStorageLayout::CustomPlacementConfig]
|
1327
|
+
attr_accessor :custom_placement_config
|
1328
|
+
|
1329
|
+
# The bucket's hierarchical namespace configuration.
|
1330
|
+
# Corresponds to the JSON property `hierarchicalNamespace`
|
1331
|
+
# @return [Google::Apis::StorageV1::BucketStorageLayout::HierarchicalNamespace]
|
1332
|
+
attr_accessor :hierarchical_namespace
|
1333
|
+
|
1334
|
+
# The kind of item this is. For storage layout, this is always storage#
|
1335
|
+
# storageLayout.
|
1336
|
+
# Corresponds to the JSON property `kind`
|
1337
|
+
# @return [String]
|
1338
|
+
attr_accessor :kind
|
1339
|
+
|
1340
|
+
# The location of the bucket.
|
1341
|
+
# Corresponds to the JSON property `location`
|
1342
|
+
# @return [String]
|
1343
|
+
attr_accessor :location
|
1344
|
+
|
1345
|
+
# The type of the bucket location.
|
1346
|
+
# Corresponds to the JSON property `locationType`
|
1347
|
+
# @return [String]
|
1348
|
+
attr_accessor :location_type
|
1349
|
+
|
1350
|
+
def initialize(**args)
|
1351
|
+
update!(**args)
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
# Update properties of this object
|
1355
|
+
def update!(**args)
|
1356
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
1357
|
+
@custom_placement_config = args[:custom_placement_config] if args.key?(:custom_placement_config)
|
1358
|
+
@hierarchical_namespace = args[:hierarchical_namespace] if args.key?(:hierarchical_namespace)
|
1359
|
+
@kind = args[:kind] if args.key?(:kind)
|
1360
|
+
@location = args[:location] if args.key?(:location)
|
1361
|
+
@location_type = args[:location_type] if args.key?(:location_type)
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
# The bucket's custom placement configuration for Custom Dual Regions.
|
1365
|
+
class CustomPlacementConfig
|
1366
|
+
include Google::Apis::Core::Hashable
|
1367
|
+
|
1368
|
+
# The list of regional locations in which data is placed.
|
1369
|
+
# Corresponds to the JSON property `dataLocations`
|
1370
|
+
# @return [Array<String>]
|
1371
|
+
attr_accessor :data_locations
|
1372
|
+
|
1373
|
+
def initialize(**args)
|
1374
|
+
update!(**args)
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
# Update properties of this object
|
1378
|
+
def update!(**args)
|
1379
|
+
@data_locations = args[:data_locations] if args.key?(:data_locations)
|
1380
|
+
end
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
# The bucket's hierarchical namespace configuration.
|
1384
|
+
class HierarchicalNamespace
|
1385
|
+
include Google::Apis::Core::Hashable
|
1386
|
+
|
1387
|
+
# When set to true, hierarchical namespace is enabled for this bucket.
|
1388
|
+
# Corresponds to the JSON property `enabled`
|
1389
|
+
# @return [Boolean]
|
1390
|
+
attr_accessor :enabled
|
1391
|
+
alias_method :enabled?, :enabled
|
1392
|
+
|
1393
|
+
def initialize(**args)
|
1394
|
+
update!(**args)
|
1395
|
+
end
|
1396
|
+
|
1397
|
+
# Update properties of this object
|
1398
|
+
def update!(**args)
|
1399
|
+
@enabled = args[:enabled] if args.key?(:enabled)
|
1400
|
+
end
|
1401
|
+
end
|
1402
|
+
end
|
1403
|
+
|
1172
1404
|
# A list of buckets.
|
1173
1405
|
class Buckets
|
1174
1406
|
include Google::Apis::Core::Hashable
|
@@ -1584,6 +1816,12 @@ module Google
|
|
1584
1816
|
class GoogleLongrunningListOperationsResponse
|
1585
1817
|
include Google::Apis::Core::Hashable
|
1586
1818
|
|
1819
|
+
# The kind of item this is. For lists of operations, this is always storage#
|
1820
|
+
# operations.
|
1821
|
+
# Corresponds to the JSON property `kind`
|
1822
|
+
# @return [String]
|
1823
|
+
attr_accessor :kind
|
1824
|
+
|
1587
1825
|
# The continuation token, used to page through large result sets. Provide this
|
1588
1826
|
# value in a subsequent request to return the next page of results.
|
1589
1827
|
# Corresponds to the JSON property `nextPageToken`
|
@@ -1601,6 +1839,7 @@ module Google
|
|
1601
1839
|
|
1602
1840
|
# Update properties of this object
|
1603
1841
|
def update!(**args)
|
1842
|
+
@kind = args[:kind] if args.key?(:kind)
|
1604
1843
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1605
1844
|
@operations = args[:operations] if args.key?(:operations)
|
1606
1845
|
end
|
@@ -1628,6 +1867,11 @@ module Google
|
|
1628
1867
|
# @return [Google::Apis::StorageV1::GoogleRpcStatus]
|
1629
1868
|
attr_accessor :error
|
1630
1869
|
|
1870
|
+
# The kind of item this is. For operations, this is always storage#operation.
|
1871
|
+
# Corresponds to the JSON property `kind`
|
1872
|
+
# @return [String]
|
1873
|
+
attr_accessor :kind
|
1874
|
+
|
1631
1875
|
# Service-specific metadata associated with the operation. It typically contains
|
1632
1876
|
# progress information and common metadata such as create time. Some services
|
1633
1877
|
# might not provide such metadata. Any method that returns a long-running
|
@@ -1654,6 +1898,11 @@ module Google
|
|
1654
1898
|
# @return [Hash<String,Object>]
|
1655
1899
|
attr_accessor :response
|
1656
1900
|
|
1901
|
+
# The link to this long running operation.
|
1902
|
+
# Corresponds to the JSON property `selfLink`
|
1903
|
+
# @return [String]
|
1904
|
+
attr_accessor :self_link
|
1905
|
+
|
1657
1906
|
def initialize(**args)
|
1658
1907
|
update!(**args)
|
1659
1908
|
end
|
@@ -1662,9 +1911,11 @@ module Google
|
|
1662
1911
|
def update!(**args)
|
1663
1912
|
@done = args[:done] if args.key?(:done)
|
1664
1913
|
@error = args[:error] if args.key?(:error)
|
1914
|
+
@kind = args[:kind] if args.key?(:kind)
|
1665
1915
|
@metadata = args[:metadata] if args.key?(:metadata)
|
1666
1916
|
@name = args[:name] if args.key?(:name)
|
1667
1917
|
@response = args[:response] if args.key?(:response)
|
1918
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
1668
1919
|
end
|
1669
1920
|
end
|
1670
1921
|
|
@@ -2087,7 +2338,8 @@ module Google
|
|
2087
2338
|
|
2088
2339
|
# CRC32c checksum, as described in RFC 4960, Appendix B; encoded using base64 in
|
2089
2340
|
# big-endian byte order. For more information about using the CRC32c checksum,
|
2090
|
-
# see
|
2341
|
+
# see [Data Validation and Change Detection](https://cloud.google.com/storage/
|
2342
|
+
# docs/data-validation).
|
2091
2343
|
# Corresponds to the JSON property `crc32c`
|
2092
2344
|
# @return [String]
|
2093
2345
|
attr_accessor :crc32c
|
@@ -2154,7 +2406,8 @@ module Google
|
|
2154
2406
|
attr_accessor :kms_key_name
|
2155
2407
|
|
2156
2408
|
# MD5 hash of the data; encoded using base64. For more information about using
|
2157
|
-
# the MD5 hash, see
|
2409
|
+
# the MD5 hash, see [Data Validation and Change Detection](https://cloud.google.
|
2410
|
+
# com/storage/docs/data-validation).
|
2158
2411
|
# Corresponds to the JSON property `md5Hash`
|
2159
2412
|
# @return [String]
|
2160
2413
|
attr_accessor :md5_hash
|
@@ -2187,6 +2440,13 @@ module Google
|
|
2187
2440
|
# @return [Google::Apis::StorageV1::Object::Owner]
|
2188
2441
|
attr_accessor :owner
|
2189
2442
|
|
2443
|
+
# Restore token used to differentiate deleted objects with the same name and
|
2444
|
+
# generation. This field is only returned for deleted objects in hierarchical
|
2445
|
+
# namespace buckets.
|
2446
|
+
# Corresponds to the JSON property `restoreToken`
|
2447
|
+
# @return [String]
|
2448
|
+
attr_accessor :restore_token
|
2449
|
+
|
2190
2450
|
# A collection of object level retention parameters.
|
2191
2451
|
# Corresponds to the JSON property `retention`
|
2192
2452
|
# @return [Google::Apis::StorageV1::Object::Retention]
|
@@ -2243,6 +2503,11 @@ module Google
|
|
2243
2503
|
# @return [DateTime]
|
2244
2504
|
attr_accessor :time_deleted
|
2245
2505
|
|
2506
|
+
# The time when the object was finalized.
|
2507
|
+
# Corresponds to the JSON property `timeFinalized`
|
2508
|
+
# @return [DateTime]
|
2509
|
+
attr_accessor :time_finalized
|
2510
|
+
|
2246
2511
|
# The time at which the object's storage class was last changed. When the object
|
2247
2512
|
# is initially created, it will be set to timeCreated.
|
2248
2513
|
# Corresponds to the JSON property `timeStorageClassUpdated`
|
@@ -2288,6 +2553,7 @@ module Google
|
|
2288
2553
|
@metageneration = args[:metageneration] if args.key?(:metageneration)
|
2289
2554
|
@name = args[:name] if args.key?(:name)
|
2290
2555
|
@owner = args[:owner] if args.key?(:owner)
|
2556
|
+
@restore_token = args[:restore_token] if args.key?(:restore_token)
|
2291
2557
|
@retention = args[:retention] if args.key?(:retention)
|
2292
2558
|
@retention_expiration_time = args[:retention_expiration_time] if args.key?(:retention_expiration_time)
|
2293
2559
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -2297,6 +2563,7 @@ module Google
|
|
2297
2563
|
@temporary_hold = args[:temporary_hold] if args.key?(:temporary_hold)
|
2298
2564
|
@time_created = args[:time_created] if args.key?(:time_created)
|
2299
2565
|
@time_deleted = args[:time_deleted] if args.key?(:time_deleted)
|
2566
|
+
@time_finalized = args[:time_finalized] if args.key?(:time_finalized)
|
2300
2567
|
@time_storage_class_updated = args[:time_storage_class_updated] if args.key?(:time_storage_class_updated)
|
2301
2568
|
@updated = args[:updated] if args.key?(:updated)
|
2302
2569
|
end
|
@@ -2698,6 +2965,59 @@ module Google
|
|
2698
2965
|
end
|
2699
2966
|
end
|
2700
2967
|
|
2968
|
+
# A Relocate Bucket request.
|
2969
|
+
class RelocateBucketRequest
|
2970
|
+
include Google::Apis::Core::Hashable
|
2971
|
+
|
2972
|
+
# The bucket's new custom placement configuration if relocating to a Custom Dual
|
2973
|
+
# Region.
|
2974
|
+
# Corresponds to the JSON property `destinationCustomPlacementConfig`
|
2975
|
+
# @return [Google::Apis::StorageV1::RelocateBucketRequest::DestinationCustomPlacementConfig]
|
2976
|
+
attr_accessor :destination_custom_placement_config
|
2977
|
+
|
2978
|
+
# The new location the bucket will be relocated to.
|
2979
|
+
# Corresponds to the JSON property `destinationLocation`
|
2980
|
+
# @return [String]
|
2981
|
+
attr_accessor :destination_location
|
2982
|
+
|
2983
|
+
# If true, validate the operation, but do not actually relocate the bucket.
|
2984
|
+
# Corresponds to the JSON property `validateOnly`
|
2985
|
+
# @return [Boolean]
|
2986
|
+
attr_accessor :validate_only
|
2987
|
+
alias_method :validate_only?, :validate_only
|
2988
|
+
|
2989
|
+
def initialize(**args)
|
2990
|
+
update!(**args)
|
2991
|
+
end
|
2992
|
+
|
2993
|
+
# Update properties of this object
|
2994
|
+
def update!(**args)
|
2995
|
+
@destination_custom_placement_config = args[:destination_custom_placement_config] if args.key?(:destination_custom_placement_config)
|
2996
|
+
@destination_location = args[:destination_location] if args.key?(:destination_location)
|
2997
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
2998
|
+
end
|
2999
|
+
|
3000
|
+
# The bucket's new custom placement configuration if relocating to a Custom Dual
|
3001
|
+
# Region.
|
3002
|
+
class DestinationCustomPlacementConfig
|
3003
|
+
include Google::Apis::Core::Hashable
|
3004
|
+
|
3005
|
+
# The list of regional locations in which data is placed.
|
3006
|
+
# Corresponds to the JSON property `dataLocations`
|
3007
|
+
# @return [Array<String>]
|
3008
|
+
attr_accessor :data_locations
|
3009
|
+
|
3010
|
+
def initialize(**args)
|
3011
|
+
update!(**args)
|
3012
|
+
end
|
3013
|
+
|
3014
|
+
# Update properties of this object
|
3015
|
+
def update!(**args)
|
3016
|
+
@data_locations = args[:data_locations] if args.key?(:data_locations)
|
3017
|
+
end
|
3018
|
+
end
|
3019
|
+
end
|
3020
|
+
|
2701
3021
|
# A rewrite response.
|
2702
3022
|
class RewriteResponse
|
2703
3023
|
include Google::Apis::Core::Hashable
|
@@ -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.49.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241206"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|