google-cloud-parallelstore-v1beta 0.11.0 → 0.11.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: 7a168dd5316a35f606428de473ed608a65f6f2eb1ce053170c4b156f27e926fd
|
|
4
|
+
data.tar.gz: 79edb5001a739196a585d4033045dbaa405284f8f126e903d59304c42d70bf30
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e58b776f41b725e815d20ae47574cd6d8af4aa698611e7d4bf4f440d3390e9057ad548396e0650474bde3a46a0d740bcf903814d859e1186072f239478af8be6
|
|
7
|
+
data.tar.gz: 1a5b5c5483d17a2d6f9e2bd90c058faf79f2542996d7094a30d1d47912e20209de9348f7bf703fbf3ce9e436116dfa46e874cc66aca9ad8a0a402ccd1dbe20da
|
|
@@ -1044,8 +1044,6 @@ module Google
|
|
|
1044
1044
|
# @return [::String,nil]
|
|
1045
1045
|
# @!attribute [rw] credentials
|
|
1046
1046
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1047
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1048
|
-
# * (`Hash`) A service account key as a Hash
|
|
1049
1047
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1050
1048
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1051
1049
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1054,7 +1052,26 @@ module Google
|
|
|
1054
1052
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1055
1053
|
# * (`nil`) indicating no credentials
|
|
1056
1054
|
#
|
|
1057
|
-
# Warning:
|
|
1055
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1056
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1057
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1058
|
+
#
|
|
1059
|
+
# @example
|
|
1060
|
+
#
|
|
1061
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1062
|
+
# # on the appropriate credentials class for your environment.
|
|
1063
|
+
#
|
|
1064
|
+
# require "googleauth"
|
|
1065
|
+
#
|
|
1066
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1067
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1068
|
+
# )
|
|
1069
|
+
#
|
|
1070
|
+
# client = ::Google::Cloud::Parallelstore::V1beta::Parallelstore::Client.new do |config|
|
|
1071
|
+
# config.credentials = credentials
|
|
1072
|
+
# end
|
|
1073
|
+
#
|
|
1074
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1058
1075
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1059
1076
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1060
1077
|
# 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.
|