google-apis-storagetransfer_v1 0.20.0 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/storagetransfer_v1/classes.rb +33 -0
- data/lib/google/apis/storagetransfer_v1/gem_version.rb +3 -3
- data/lib/google/apis/storagetransfer_v1/representations.rb +4 -0
- data/lib/google/apis/storagetransfer_v1/service.rb +1 -1
- 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: 6d89023c3ce1dd89ee38d3e9119fef1c48ef8559b37d32890010be3af2a5ae85
|
4
|
+
data.tar.gz: 919fdcd9355c2296638d9ec7b068d73b3107dcb7ae42ec1b161d8e5f51e48000
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 868b3ebce9e5728d49663ab5fefda461e7cbdd6734edb47fcaa4ab1d53251ff6d8412e63d93784906bf03143f5a90b0fe615ed51c24813f11f3ed7ab5a21a8a7
|
7
|
+
data.tar.gz: 9d9be353a17b7c068107ec2e3f31b209547206d13de15899a7f24cb51892b92f0c7236bc94c81832ab877c2c34a61891f1f41249bd5db86d488e16f040095f0b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-storagetransfer_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2022-02-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220127
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
3
8
|
### v0.20.0 (2021-12-14)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20211211
|
@@ -577,6 +577,13 @@ module Google
|
|
577
577
|
class MetadataOptions
|
578
578
|
include Google::Apis::Core::Hashable
|
579
579
|
|
580
|
+
# Specifies how each object's ACLs should be preserved for transfers between
|
581
|
+
# Google Cloud Storage buckets. If unspecified, the default behavior is the same
|
582
|
+
# as ACL_DESTINATION_BUCKET_DEFAULT.
|
583
|
+
# Corresponds to the JSON property `acl`
|
584
|
+
# @return [String]
|
585
|
+
attr_accessor :acl
|
586
|
+
|
580
587
|
# Specifies how each file's GID attribute should be handled by the transfer. If
|
581
588
|
# unspecified, the default behavior is the same as GID_SKIP when the source is a
|
582
589
|
# POSIX file system.
|
@@ -584,6 +591,14 @@ module Google
|
|
584
591
|
# @return [String]
|
585
592
|
attr_accessor :gid
|
586
593
|
|
594
|
+
# Specifies how each object's Cloud KMS customer-managed encryption key (CMEK)
|
595
|
+
# is preserved for transfers between Google Cloud Storage buckets. If
|
596
|
+
# unspecified, the default behavior is the same as
|
597
|
+
# KMS_KEY_DESTINATION_BUCKET_DEFAULT.
|
598
|
+
# Corresponds to the JSON property `kmsKey`
|
599
|
+
# @return [String]
|
600
|
+
attr_accessor :kms_key
|
601
|
+
|
587
602
|
# Specifies how each file's mode attribute should be handled by the transfer. If
|
588
603
|
# unspecified, the default behavior is the same as MODE_SKIP when the source is
|
589
604
|
# a POSIX file system.
|
@@ -591,6 +606,13 @@ module Google
|
|
591
606
|
# @return [String]
|
592
607
|
attr_accessor :mode
|
593
608
|
|
609
|
+
# Specifies the storage class to set on objects being transferred to Google
|
610
|
+
# Cloud Storage buckets. If unspecified, the default behavior is the same as
|
611
|
+
# STORAGE_CLASS_DESTINATION_BUCKET_DEFAULT.
|
612
|
+
# Corresponds to the JSON property `storageClass`
|
613
|
+
# @return [String]
|
614
|
+
attr_accessor :storage_class
|
615
|
+
|
594
616
|
# Specifies how symlinks should be handled by the transfer. If unspecified, the
|
595
617
|
# default behavior is the same as SYMLINK_SKIP when the source is a POSIX file
|
596
618
|
# system.
|
@@ -598,6 +620,13 @@ module Google
|
|
598
620
|
# @return [String]
|
599
621
|
attr_accessor :symlink
|
600
622
|
|
623
|
+
# Specifies how each object's temporary hold status should be preserved for
|
624
|
+
# transfers between Google Cloud Storage buckets. If unspecified, the default
|
625
|
+
# behavior is the same as TEMPORARY_HOLD_PRESERVE.
|
626
|
+
# Corresponds to the JSON property `temporaryHold`
|
627
|
+
# @return [String]
|
628
|
+
attr_accessor :temporary_hold
|
629
|
+
|
601
630
|
# Specifies how each file's UID attribute should be handled by the transfer. If
|
602
631
|
# unspecified, the default behavior is the same as UID_SKIP when the source is a
|
603
632
|
# POSIX file system.
|
@@ -611,9 +640,13 @@ module Google
|
|
611
640
|
|
612
641
|
# Update properties of this object
|
613
642
|
def update!(**args)
|
643
|
+
@acl = args[:acl] if args.key?(:acl)
|
614
644
|
@gid = args[:gid] if args.key?(:gid)
|
645
|
+
@kms_key = args[:kms_key] if args.key?(:kms_key)
|
615
646
|
@mode = args[:mode] if args.key?(:mode)
|
647
|
+
@storage_class = args[:storage_class] if args.key?(:storage_class)
|
616
648
|
@symlink = args[:symlink] if args.key?(:symlink)
|
649
|
+
@temporary_hold = args[:temporary_hold] if args.key?(:temporary_hold)
|
617
650
|
@uid = args[:uid] if args.key?(:uid)
|
618
651
|
end
|
619
652
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module StoragetransferV1
|
18
18
|
# Version of the google-apis-storagetransfer_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220127"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -394,9 +394,13 @@ module Google
|
|
394
394
|
class MetadataOptions
|
395
395
|
# @private
|
396
396
|
class Representation < Google::Apis::Core::JsonRepresentation
|
397
|
+
property :acl, as: 'acl'
|
397
398
|
property :gid, as: 'gid'
|
399
|
+
property :kms_key, as: 'kmsKey'
|
398
400
|
property :mode, as: 'mode'
|
401
|
+
property :storage_class, as: 'storageClass'
|
399
402
|
property :symlink, as: 'symlink'
|
403
|
+
property :temporary_hold, as: 'temporaryHold'
|
400
404
|
property :uid, as: 'uid'
|
401
405
|
end
|
402
406
|
end
|
@@ -414,7 +414,7 @@ module Google
|
|
414
414
|
|
415
415
|
# Attempts to start a new TransferOperation for the current TransferJob. A
|
416
416
|
# TransferJob has a maximum of one active TransferOperation. If this method is
|
417
|
-
# called while a TransferOperation is active, an error
|
417
|
+
# called while a TransferOperation is active, an error will be returned.
|
418
418
|
# @param [String] job_name
|
419
419
|
# Required. The name of the transfer job.
|
420
420
|
# @param [Google::Apis::StoragetransferV1::RunTransferJobRequest] run_transfer_job_request_object
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-storagetransfer_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.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: 2022-
|
11
|
+
date: 2022-02-07 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-storagetransfer_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-storagetransfer_v1/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-storagetransfer_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.3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Storage Transfer API V1
|