google-cloud-tpu-v1 1.5.0 → 1.5.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: be9ee849528d62b4fbc451a304f642f032ae80f05a21ab1c1d655081cb84ae64
|
|
4
|
+
data.tar.gz: 071cd6bdb88e7c1ecb55ffd25e2bcd674e9834e64f7b7c9d52d6b511c44a4d2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84cdf3a3b1798c34584c175b32770bf69c890a411276f768232ae204685a58ba92ad920d7ec2eefaf3d7df676ea6c520038d7982fc6569b6ac150bdee0e2a8a9
|
|
7
|
+
data.tar.gz: a285cc82851a003996fae3ff13f4285d56288194e5a8f1913fa5c1cc470c62b2f70327da8f7ab573d307852ea1245c29d97a8243671af498588d0f0b03823a56
|
|
@@ -1276,8 +1276,6 @@ module Google
|
|
|
1276
1276
|
# @return [::String,nil]
|
|
1277
1277
|
# @!attribute [rw] credentials
|
|
1278
1278
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1279
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1280
|
-
# * (`Hash`) A service account key as a Hash
|
|
1281
1279
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1282
1280
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1283
1281
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1286,7 +1284,26 @@ module Google
|
|
|
1286
1284
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1287
1285
|
# * (`nil`) indicating no credentials
|
|
1288
1286
|
#
|
|
1289
|
-
# Warning:
|
|
1287
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1288
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1289
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1290
|
+
#
|
|
1291
|
+
# @example
|
|
1292
|
+
#
|
|
1293
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1294
|
+
# # on the appropriate credentials class for your environment.
|
|
1295
|
+
#
|
|
1296
|
+
# require "googleauth"
|
|
1297
|
+
#
|
|
1298
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1299
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1300
|
+
# )
|
|
1301
|
+
#
|
|
1302
|
+
# client = ::Google::Cloud::Tpu::V1::Tpu::Client.new do |config|
|
|
1303
|
+
# config.credentials = credentials
|
|
1304
|
+
# end
|
|
1305
|
+
#
|
|
1306
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1290
1307
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1291
1308
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1292
1309
|
# 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.
|