google-cloud-notebooks-v2 1.3.0 → 1.3.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: 892a2f313a31f3352589979f36af1520cf9607302ee31724c044023749ab2c0f
|
|
4
|
+
data.tar.gz: 4f3af3540bacf198211bd7eadd64b086daf64b3cf42957a33e1f5d0663ca7d85
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc1b390be363a1e466feabce24320aa6263078e99dd064195c7b7d4dd64bd3a589ac169b96e3e90f2126ad0d4d59fd34707c862a7298b1f2f7c0f2c72a03f7f0
|
|
7
|
+
data.tar.gz: e055e9e9492b8af34f7c4960f242ae832c6d9027c1114f99f9eb069b75643294dc108b55c69b3e3c38c18c0eb4b2e2ec77b0c0ad280e4f62881bbc3536b681b5
|
|
@@ -1434,8 +1434,6 @@ module Google
|
|
|
1434
1434
|
# @return [::String,nil]
|
|
1435
1435
|
# @!attribute [rw] credentials
|
|
1436
1436
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1437
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1438
|
-
# * (`Hash`) A service account key as a Hash
|
|
1439
1437
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1440
1438
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1441
1439
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1444,7 +1442,26 @@ module Google
|
|
|
1444
1442
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1445
1443
|
# * (`nil`) indicating no credentials
|
|
1446
1444
|
#
|
|
1447
|
-
# Warning:
|
|
1445
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1446
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1447
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1448
|
+
#
|
|
1449
|
+
# @example
|
|
1450
|
+
#
|
|
1451
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1452
|
+
# # on the appropriate credentials class for your environment.
|
|
1453
|
+
#
|
|
1454
|
+
# require "googleauth"
|
|
1455
|
+
#
|
|
1456
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1457
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1458
|
+
# )
|
|
1459
|
+
#
|
|
1460
|
+
# client = ::Google::Cloud::Notebooks::V2::NotebookService::Client.new do |config|
|
|
1461
|
+
# config.credentials = credentials
|
|
1462
|
+
# end
|
|
1463
|
+
#
|
|
1464
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1448
1465
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1449
1466
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1450
1467
|
# 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.
|