google-cloud-lustre-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: 83c7691a460c26bd33a43746a6b0e1d14dfdd2527395caa2046cc2832e34dee5
|
|
4
|
+
data.tar.gz: df51d9f9daa114b5762614ee3a9b225119f1bb740f4145cda7c6be7260c60a4d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf54aebae473fbff552e7f9f017c066ab13a8903e45f568e55cc8d1b1bd493b29fec25cd310be3182f40f82945e4c527ab74e2164ba1f96f50ba75573e7e3415
|
|
7
|
+
data.tar.gz: 187fec7d794f141ae1783a4912159e48a6e1a99e804c4832f0462509f1c3f5c69f044b154c53fdf8ded75927cbafa344a0fcbb3fa680e0f1777cd886e883d4e0
|
|
@@ -997,8 +997,6 @@ module Google
|
|
|
997
997
|
# @return [::String,nil]
|
|
998
998
|
# @!attribute [rw] credentials
|
|
999
999
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1000
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1001
|
-
# * (`Hash`) A service account key as a Hash
|
|
1002
1000
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1003
1001
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1004
1002
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1007,7 +1005,26 @@ module Google
|
|
|
1007
1005
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1008
1006
|
# * (`nil`) indicating no credentials
|
|
1009
1007
|
#
|
|
1010
|
-
# Warning:
|
|
1008
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1009
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1010
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1011
|
+
#
|
|
1012
|
+
# @example
|
|
1013
|
+
#
|
|
1014
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1015
|
+
# # on the appropriate credentials class for your environment.
|
|
1016
|
+
#
|
|
1017
|
+
# require "googleauth"
|
|
1018
|
+
#
|
|
1019
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1020
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1021
|
+
# )
|
|
1022
|
+
#
|
|
1023
|
+
# client = ::Google::Cloud::Lustre::V1::Lustre::Client.new do |config|
|
|
1024
|
+
# config.credentials = credentials
|
|
1025
|
+
# end
|
|
1026
|
+
#
|
|
1027
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1011
1028
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1012
1029
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1013
1030
|
# 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.
|