google-cloud-storage_transfer-v1 1.3.0 → 1.4.1
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/README.md +1 -1
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/client.rb +9 -2
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/operations.rb +9 -2
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/rest/client.rb +8 -1
- data/lib/google/cloud/storage_transfer/v1/storage_transfer_service/rest/operations.rb +8 -1
- data/lib/google/cloud/storage_transfer/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- data/proto_docs/google/storagetransfer/v1/transfer_types.rb +18 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c690c5c54cada950f49d273c4909ea8f4e60e1ab9060d0329afad1a13567887
|
4
|
+
data.tar.gz: 29267cf9f5ab1767600002301d7f5cc8432fa5b140995ded18883d2f5978065d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad297f92d78082eea3eaaf7558aef6a27ae20659abad041882f00490983a521bfaf994e3c3fab7f3d083b5636fa5f6dab8eca1ad9710907c73ba2a9f0bfa78d5
|
7
|
+
data.tar.gz: 5ed553e1e6fc29ed426a143ae545ec4c6a23900f084c372200f3e33804f06b0bffa44c6af88477900b987d4eaf74bfa813254514471907666c014f32b061eb6a
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -1579,6 +1579,13 @@ module Google
|
|
1579
1579
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
1580
1580
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
1581
1581
|
# * (`nil`) indicating no credentials
|
1582
|
+
#
|
1583
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1584
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1585
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1586
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1587
|
+
# For more information, refer to [Validate credential configurations from external
|
1588
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1582
1589
|
# @return [::Object]
|
1583
1590
|
# @!attribute [rw] scope
|
1584
1591
|
# The OAuth scopes
|
@@ -1633,8 +1640,8 @@ module Google
|
|
1633
1640
|
|
1634
1641
|
config_attr :endpoint, nil, ::String, nil
|
1635
1642
|
config_attr :credentials, nil do |value|
|
1636
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1637
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
1643
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1644
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
1638
1645
|
allowed.any? { |klass| klass === value }
|
1639
1646
|
end
|
1640
1647
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -640,6 +640,13 @@ module Google
|
|
640
640
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
641
641
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
642
642
|
# * (`nil`) indicating no credentials
|
643
|
+
#
|
644
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
645
|
+
# external source for authentication to Google Cloud, you must validate it before
|
646
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
647
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
648
|
+
# For more information, refer to [Validate credential configurations from external
|
649
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
643
650
|
# @return [::Object]
|
644
651
|
# @!attribute [rw] scope
|
645
652
|
# The OAuth scopes
|
@@ -694,8 +701,8 @@ module Google
|
|
694
701
|
|
695
702
|
config_attr :endpoint, nil, ::String, nil
|
696
703
|
config_attr :credentials, nil do |value|
|
697
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
698
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
704
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
705
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
699
706
|
allowed.any? { |klass| klass === value }
|
700
707
|
end
|
701
708
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -1488,6 +1488,13 @@ module Google
|
|
1488
1488
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
1489
1489
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
1490
1490
|
# * (`nil`) indicating no credentials
|
1491
|
+
#
|
1492
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
1493
|
+
# external source for authentication to Google Cloud, you must validate it before
|
1494
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
1495
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
1496
|
+
# For more information, refer to [Validate credential configurations from external
|
1497
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
1491
1498
|
# @return [::Object]
|
1492
1499
|
# @!attribute [rw] scope
|
1493
1500
|
# The OAuth scopes
|
@@ -1535,7 +1542,7 @@ module Google
|
|
1535
1542
|
|
1536
1543
|
config_attr :endpoint, nil, ::String, nil
|
1537
1544
|
config_attr :credentials, nil do |value|
|
1538
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
1545
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
1539
1546
|
allowed.any? { |klass| klass === value }
|
1540
1547
|
end
|
1541
1548
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -502,6 +502,13 @@ module Google
|
|
502
502
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
503
503
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
504
504
|
# * (`nil`) indicating no credentials
|
505
|
+
#
|
506
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
507
|
+
# external source for authentication to Google Cloud, you must validate it before
|
508
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
509
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
510
|
+
# For more information, refer to [Validate credential configurations from external
|
511
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
505
512
|
# @return [::Object]
|
506
513
|
# @!attribute [rw] scope
|
507
514
|
# The OAuth scopes
|
@@ -549,7 +556,7 @@ module Google
|
|
549
556
|
|
550
557
|
config_attr :endpoint, nil, ::String, nil
|
551
558
|
config_attr :credentials, nil do |value|
|
552
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
559
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
553
560
|
allowed.any? { |klass| klass === value }
|
554
561
|
end
|
555
562
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -40,6 +40,8 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
47
|
# The normal, successful response of the operation. If the original
|
@@ -50,6 +52,8 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -638,30 +638,48 @@ module Google
|
|
638
638
|
# @!attribute [rw] gcs_data_sink
|
639
639
|
# @return [::Google::Cloud::StorageTransfer::V1::GcsData]
|
640
640
|
# A Cloud Storage data sink.
|
641
|
+
#
|
642
|
+
# Note: The following fields are mutually exclusive: `gcs_data_sink`, `posix_data_sink`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
641
643
|
# @!attribute [rw] posix_data_sink
|
642
644
|
# @return [::Google::Cloud::StorageTransfer::V1::PosixFilesystem]
|
643
645
|
# A POSIX Filesystem data sink.
|
646
|
+
#
|
647
|
+
# Note: The following fields are mutually exclusive: `posix_data_sink`, `gcs_data_sink`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
644
648
|
# @!attribute [rw] gcs_data_source
|
645
649
|
# @return [::Google::Cloud::StorageTransfer::V1::GcsData]
|
646
650
|
# A Cloud Storage data source.
|
651
|
+
#
|
652
|
+
# Note: The following fields are mutually exclusive: `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
647
653
|
# @!attribute [rw] aws_s3_data_source
|
648
654
|
# @return [::Google::Cloud::StorageTransfer::V1::AwsS3Data]
|
649
655
|
# An AWS S3 data source.
|
656
|
+
#
|
657
|
+
# Note: The following fields are mutually exclusive: `aws_s3_data_source`, `gcs_data_source`, `http_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
650
658
|
# @!attribute [rw] http_data_source
|
651
659
|
# @return [::Google::Cloud::StorageTransfer::V1::HttpData]
|
652
660
|
# An HTTP URL data source.
|
661
|
+
#
|
662
|
+
# Note: The following fields are mutually exclusive: `http_data_source`, `gcs_data_source`, `aws_s3_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
653
663
|
# @!attribute [rw] posix_data_source
|
654
664
|
# @return [::Google::Cloud::StorageTransfer::V1::PosixFilesystem]
|
655
665
|
# A POSIX Filesystem data source.
|
666
|
+
#
|
667
|
+
# Note: The following fields are mutually exclusive: `posix_data_source`, `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
656
668
|
# @!attribute [rw] azure_blob_storage_data_source
|
657
669
|
# @return [::Google::Cloud::StorageTransfer::V1::AzureBlobStorageData]
|
658
670
|
# An Azure Blob Storage data source.
|
671
|
+
#
|
672
|
+
# Note: The following fields are mutually exclusive: `azure_blob_storage_data_source`, `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `posix_data_source`, `aws_s3_compatible_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
659
673
|
# @!attribute [rw] aws_s3_compatible_data_source
|
660
674
|
# @return [::Google::Cloud::StorageTransfer::V1::AwsS3CompatibleData]
|
661
675
|
# An AWS S3 compatible data source.
|
676
|
+
#
|
677
|
+
# Note: The following fields are mutually exclusive: `aws_s3_compatible_data_source`, `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `hdfs_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
662
678
|
# @!attribute [rw] hdfs_data_source
|
663
679
|
# @return [::Google::Cloud::StorageTransfer::V1::HdfsData]
|
664
680
|
# An HDFS cluster data source.
|
681
|
+
#
|
682
|
+
# Note: The following fields are mutually exclusive: `hdfs_data_source`, `gcs_data_source`, `aws_s3_data_source`, `http_data_source`, `posix_data_source`, `azure_blob_storage_data_source`, `aws_s3_compatible_data_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
665
683
|
# @!attribute [rw] gcs_intermediate_data_location
|
666
684
|
# @return [::Google::Cloud::StorageTransfer::V1::GcsData]
|
667
685
|
# For transfers between file systems, specifies a Cloud Storage bucket
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-storage_transfer-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -96,7 +95,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
96
95
|
licenses:
|
97
96
|
- Apache-2.0
|
98
97
|
metadata: {}
|
99
|
-
post_install_message:
|
100
98
|
rdoc_options: []
|
101
99
|
require_paths:
|
102
100
|
- lib
|
@@ -104,15 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
104
102
|
requirements:
|
105
103
|
- - ">="
|
106
104
|
- !ruby/object:Gem::Version
|
107
|
-
version: '
|
105
|
+
version: '3.0'
|
108
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
107
|
requirements:
|
110
108
|
- - ">="
|
111
109
|
- !ruby/object:Gem::Version
|
112
110
|
version: '0'
|
113
111
|
requirements: []
|
114
|
-
rubygems_version: 3.
|
115
|
-
signing_key:
|
112
|
+
rubygems_version: 3.6.8
|
116
113
|
specification_version: 4
|
117
114
|
summary: Transfers data from external data sources to a Google Cloud Storage bucket
|
118
115
|
or between Google Cloud Storage buckets.
|