google-apis-storage_v1 0.46.0 → 0.47.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef8b5adcdb3729a4eb973fca4db7833a049cf192d1143b51c65a8fa9052fa15e
|
|
4
|
+
data.tar.gz: 4bceace55bc99a4dce993779048757d5092e5b56f04230519a95b8fabe35d53f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '08ca145fa5900879fc2c04c59228785e90132215b7255c08e1c4fe10898afb7d34390e3d80814baa1040ddc11e7d46ad1d94e7bda508d1810e4cc8a370a4400e'
|
|
7
|
+
data.tar.gz: e913f80e5dd886a4abf5637c9c7c0d51bf075471c5ec070c3d0c0a41a2e56a1f7b11382100d8439980590664ea94e0d5a3f4da3c470a0e902dd234a6e3349053
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
|
@@ -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.47.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20241008"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -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
|
|
|
@@ -424,6 +430,15 @@ module Google
|
|
|
424
430
|
include Google::Apis::Core::JsonObjectSupport
|
|
425
431
|
end
|
|
426
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
|
+
|
|
427
442
|
class AnywhereCache
|
|
428
443
|
# @private
|
|
429
444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -3514,6 +3514,46 @@ module Google
|
|
|
3514
3514
|
execute_or_queue_command(command, &block)
|
|
3515
3515
|
end
|
|
3516
3516
|
|
|
3517
|
+
# Starts asynchronous advancement of the relocate bucket operation in the case
|
|
3518
|
+
# of required write downtime, to allow it to lock the bucket at the source
|
|
3519
|
+
# location, and proceed with the bucket location swap. The server makes a best
|
|
3520
|
+
# effort to advance the relocate bucket operation, but success is not guaranteed.
|
|
3521
|
+
# @param [String] bucket
|
|
3522
|
+
# Name of the bucket to advance the relocate for.
|
|
3523
|
+
# @param [String] operation_id
|
|
3524
|
+
# ID of the operation resource.
|
|
3525
|
+
# @param [Google::Apis::StorageV1::AdvanceRelocateBucketOperationRequest] advance_relocate_bucket_operation_request_object
|
|
3526
|
+
# @param [String] fields
|
|
3527
|
+
# Selector specifying which fields to include in a partial response.
|
|
3528
|
+
# @param [String] quota_user
|
|
3529
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
3530
|
+
# characters.
|
|
3531
|
+
# @param [String] user_ip
|
|
3532
|
+
# Deprecated. Please use quotaUser instead.
|
|
3533
|
+
# @param [Google::Apis::RequestOptions] options
|
|
3534
|
+
# Request-specific options
|
|
3535
|
+
#
|
|
3536
|
+
# @yield [result, err] Result & error if block supplied
|
|
3537
|
+
# @yieldparam result [NilClass] No result returned for this method
|
|
3538
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
3539
|
+
#
|
|
3540
|
+
# @return [void]
|
|
3541
|
+
#
|
|
3542
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3543
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3544
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3545
|
+
def advance_relocate_bucket_operation(bucket, operation_id, advance_relocate_bucket_operation_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3546
|
+
command = make_simple_command(:post, 'b/{bucket}/operations/{operationId}/advanceRelocateBucket', options)
|
|
3547
|
+
command.request_representation = Google::Apis::StorageV1::AdvanceRelocateBucketOperationRequest::Representation
|
|
3548
|
+
command.request_object = advance_relocate_bucket_operation_request_object
|
|
3549
|
+
command.params['bucket'] = bucket unless bucket.nil?
|
|
3550
|
+
command.params['operationId'] = operation_id unless operation_id.nil?
|
|
3551
|
+
command.query['fields'] = fields unless fields.nil?
|
|
3552
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3553
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
3554
|
+
execute_or_queue_command(command, &block)
|
|
3555
|
+
end
|
|
3556
|
+
|
|
3517
3557
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
3518
3558
|
# a best effort to cancel the operation, but success is not guaranteed.
|
|
3519
3559
|
# @param [String] bucket
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-storage_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.47.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-10-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storage_v1/v0.47.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storage_v1
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
76
|
version: '0'
|
|
77
77
|
requirements: []
|
|
78
|
-
rubygems_version: 3.5.
|
|
78
|
+
rubygems_version: 3.5.21
|
|
79
79
|
signing_key:
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: Simple REST client for Cloud Storage JSON API V1
|