google-cloud-edge_container-v1 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: 8dacdd2e5ef6301a76df72e0090e59851eda32a4ca5106c8247c6a8b210f2d6c
|
|
4
|
+
data.tar.gz: 16eef343279c6f839bab9ffda45380b185cf828c8f07d4aaee1014e6d90abae5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30f2a618b011af5778fab7cb14701abbe5f4ed427f59808b87c29787718d0e97fde3dd2b9b799273434d9015d1e353e1cc70df0a4158316d4b2d61e6310509d7
|
|
7
|
+
data.tar.gz: 3b0695c8a74826bd50d996e2216e4deb42d6844d057337daa2d6b25c74787b7c893c1d8bb3ebffdf2fcbb47df3a845f058d84e7c2dfffa624b0ef9d68a858a8d
|
|
@@ -2226,8 +2226,6 @@ module Google
|
|
|
2226
2226
|
# @return [::String,nil]
|
|
2227
2227
|
# @!attribute [rw] credentials
|
|
2228
2228
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2229
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2230
|
-
# * (`Hash`) A service account key as a Hash
|
|
2231
2229
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2232
2230
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2233
2231
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2236,7 +2234,26 @@ module Google
|
|
|
2236
2234
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2237
2235
|
# * (`nil`) indicating no credentials
|
|
2238
2236
|
#
|
|
2239
|
-
# Warning:
|
|
2237
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2238
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2239
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2240
|
+
#
|
|
2241
|
+
# @example
|
|
2242
|
+
#
|
|
2243
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2244
|
+
# # on the appropriate credentials class for your environment.
|
|
2245
|
+
#
|
|
2246
|
+
# require "googleauth"
|
|
2247
|
+
#
|
|
2248
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2249
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2250
|
+
# )
|
|
2251
|
+
#
|
|
2252
|
+
# client = ::Google::Cloud::EdgeContainer::V1::EdgeContainer::Client.new do |config|
|
|
2253
|
+
# config.credentials = credentials
|
|
2254
|
+
# end
|
|
2255
|
+
#
|
|
2256
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2240
2257
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2241
2258
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2242
2259
|
# 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.
|