google-cloud-storage_transfer-v1 1.8.0 → 1.8.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8824f425923a96e6c0645303ebc4287880bfca6edb8f2a14a41a449f766702cd
|
|
4
|
+
data.tar.gz: 923d32eb3c4210df4e041525f3ffa3c9bca46cfc6cbfae918b7ca99a4d61cbc4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49fe4f260474e0ddbd593e80a305a8f2946e5d3546aad604240009f6e828d9d97640792db6baab1da684cb9315250c1b519e4968545fa1c77a28530eb74f2620
|
|
7
|
+
data.tar.gz: 63d8b2267f2e05bb103529b3fc9eab60a2811154d4f7d97b0fe684f9d34972263fa29732e610f295566be1f99813dbdf1b1c2cbbc0d6cdc4042386530b1b3b8e
|
|
@@ -1570,8 +1570,6 @@ module Google
|
|
|
1570
1570
|
# @return [::String,nil]
|
|
1571
1571
|
# @!attribute [rw] credentials
|
|
1572
1572
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1573
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1574
|
-
# * (`Hash`) A service account key as a Hash
|
|
1575
1573
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1576
1574
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1577
1575
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1580,7 +1578,26 @@ module Google
|
|
|
1580
1578
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1581
1579
|
# * (`nil`) indicating no credentials
|
|
1582
1580
|
#
|
|
1583
|
-
# Warning:
|
|
1581
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1582
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1583
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1584
|
+
#
|
|
1585
|
+
# @example
|
|
1586
|
+
#
|
|
1587
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1588
|
+
# # on the appropriate credentials class for your environment.
|
|
1589
|
+
#
|
|
1590
|
+
# require "googleauth"
|
|
1591
|
+
#
|
|
1592
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1593
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1594
|
+
# )
|
|
1595
|
+
#
|
|
1596
|
+
# client = ::Google::Cloud::StorageTransfer::V1::StorageTransferService::Client.new do |config|
|
|
1597
|
+
# config.credentials = credentials
|
|
1598
|
+
# end
|
|
1599
|
+
#
|
|
1600
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1584
1601
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1585
1602
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1586
1603
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -642,8 +642,6 @@ module Google
|
|
|
642
642
|
# @return [::String,nil]
|
|
643
643
|
# @!attribute [rw] credentials
|
|
644
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
645
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
646
|
-
# * (`Hash`) A service account key as a Hash
|
|
647
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
648
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
649
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -652,7 +650,26 @@ module Google
|
|
|
652
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
653
651
|
# * (`nil`) indicating no credentials
|
|
654
652
|
#
|
|
655
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
656
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
657
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
658
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|