google-cloud-notebooks-v1beta1 0.15.0 → 0.15.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: 036e6e2343e1d87c19c0b3a8f4481593717466b804f1ec4286fddb2e10231645
|
|
4
|
+
data.tar.gz: 3ba0871296ddaa7b7846cbe9254acb2d9c6bc356aba407261ba01b0482bd6878
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa96e0e6b695f0eac495dc9db269ecad1bc21039a144ada9f126e9cdf5f226644e944833726158a99b40fcb96801aa40e310daa567e69ba8230ab3c4f17d1df8
|
|
7
|
+
data.tar.gz: b6bb0dcd98c84bc9628ea4bf443d16b9152a34533ac9889788fb394a4a5a48f4e34d84818688bee4dd64c9b41da6cb9fc1a7bcb3a485eeef16f9e04273888c43
|
|
@@ -2141,8 +2141,6 @@ module Google
|
|
|
2141
2141
|
# @return [::String,nil]
|
|
2142
2142
|
# @!attribute [rw] credentials
|
|
2143
2143
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2144
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2145
|
-
# * (`Hash`) A service account key as a Hash
|
|
2146
2144
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2147
2145
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2148
2146
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2151,7 +2149,26 @@ module Google
|
|
|
2151
2149
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2152
2150
|
# * (`nil`) indicating no credentials
|
|
2153
2151
|
#
|
|
2154
|
-
# Warning:
|
|
2152
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2153
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2154
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2155
|
+
#
|
|
2156
|
+
# @example
|
|
2157
|
+
#
|
|
2158
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2159
|
+
# # on the appropriate credentials class for your environment.
|
|
2160
|
+
#
|
|
2161
|
+
# require "googleauth"
|
|
2162
|
+
#
|
|
2163
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2164
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2165
|
+
# )
|
|
2166
|
+
#
|
|
2167
|
+
# client = ::Google::Cloud::Notebooks::V1beta1::NotebookService::Client.new do |config|
|
|
2168
|
+
# config.credentials = credentials
|
|
2169
|
+
# end
|
|
2170
|
+
#
|
|
2171
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2155
2172
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2156
2173
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2157
2174
|
# 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.
|