google-cloud-storage_batch_operations-v1 0.4.0 → 0.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6ccae6c5fc0354351c765abed5f5e1662cd3f57b64cb504a9b3d27a445c7bd37
|
|
4
|
+
data.tar.gz: e06810c909088714ca6cf07e2c0f98b3ca4aee97d4f04ad53e4ed7df4fa46b2e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa0ee06dc21a7d63fc0e28d52f4849ce0e3646ea5b22cd9378c8bd773973547ef16f028d6f44e130dcd33a5afb81ad30bff7d9ca88ddfa47fe58be4a00dd47f2
|
|
7
|
+
data.tar.gz: 59b28a61889bd5a76236b27ef37ebc1be16a513293424f18599a4450d198d58e99019ff6651f95c213c2de6c9f433bbc3eaade07f6870395032df1887177e994
|
|
@@ -746,8 +746,6 @@ module Google
|
|
|
746
746
|
# @return [::String,nil]
|
|
747
747
|
# @!attribute [rw] credentials
|
|
748
748
|
# Credentials to send with calls. You may provide any of the following types:
|
|
749
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
750
|
-
# * (`Hash`) A service account key as a Hash
|
|
751
749
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
752
750
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
753
751
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -756,7 +754,26 @@ module Google
|
|
|
756
754
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
757
755
|
# * (`nil`) indicating no credentials
|
|
758
756
|
#
|
|
759
|
-
# Warning:
|
|
757
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
758
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
759
|
+
# Google APIs can compromise the security of your systems and data.
|
|
760
|
+
#
|
|
761
|
+
# @example
|
|
762
|
+
#
|
|
763
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
764
|
+
# # on the appropriate credentials class for your environment.
|
|
765
|
+
#
|
|
766
|
+
# require "googleauth"
|
|
767
|
+
#
|
|
768
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
769
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
770
|
+
# )
|
|
771
|
+
#
|
|
772
|
+
# client = ::Google::Cloud::StorageBatchOperations::V1::StorageBatchOperations::Client.new do |config|
|
|
773
|
+
# config.credentials = credentials
|
|
774
|
+
# end
|
|
775
|
+
#
|
|
776
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
760
777
|
# external source for authentication to Google Cloud, you must validate it before
|
|
761
778
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
762
779
|
# 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.
|