google-cloud-filestore-v1 2.4.0 → 2.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: cb8525dd7b93b3a6205588670eb48197d4150d0598ab07e484433ee77d7a3ec9
|
|
4
|
+
data.tar.gz: a2bd9a0ad2b339405882192c359b93b253d2a6579bf80a0916193f85c97973ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3f8b7b847699685e0478970b1622779f51bad1475d478403da7c45d0fe0f008b0751540a1e473bd3f924ed239cb7dc2dce543394b1acd9be611226c55bc1c922
|
|
7
|
+
data.tar.gz: 971b68c2ed49bbdd103bbd733588e669186bdc50eb4bdf4b8aae7383120c939900dc413fb9fffae04e8a573a29f908ac7cfa666f8c8f46b68f3c4580780a3f86
|
|
@@ -2080,8 +2080,6 @@ module Google
|
|
|
2080
2080
|
# @return [::String,nil]
|
|
2081
2081
|
# @!attribute [rw] credentials
|
|
2082
2082
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2083
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2084
|
-
# * (`Hash`) A service account key as a Hash
|
|
2085
2083
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2086
2084
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2087
2085
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2090,7 +2088,26 @@ module Google
|
|
|
2090
2088
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2091
2089
|
# * (`nil`) indicating no credentials
|
|
2092
2090
|
#
|
|
2093
|
-
# Warning:
|
|
2091
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2092
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2093
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2094
|
+
#
|
|
2095
|
+
# @example
|
|
2096
|
+
#
|
|
2097
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2098
|
+
# # on the appropriate credentials class for your environment.
|
|
2099
|
+
#
|
|
2100
|
+
# require "googleauth"
|
|
2101
|
+
#
|
|
2102
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2103
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2104
|
+
# )
|
|
2105
|
+
#
|
|
2106
|
+
# client = ::Google::Cloud::Filestore::V1::CloudFilestoreManager::Client.new do |config|
|
|
2107
|
+
# config.credentials = credentials
|
|
2108
|
+
# end
|
|
2109
|
+
#
|
|
2110
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2094
2111
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2095
2112
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2096
2113
|
# 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.
|