google-cloud-workstations-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: 91d4ab9952e6c90f3e648b11e98631fa7fa874c774a07aa2654af84781065f79
|
|
4
|
+
data.tar.gz: 1a5f4af970117c312c6d0b64404d87b6fb83ed55eb3ebf989af938e797c37a64
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 476819b7b6591c90c753de6a49c0edbe777638a46f02bf273bb9abc6e6c9feb75e7434b2aa7cdb5ce519cf09c50a96488d5336eb806d8f89fa01b3691177615e
|
|
7
|
+
data.tar.gz: 12a8a4c2e91d96e579d7b16106f75d7b2bdb6a455f20a5dcbccd7bc7a5df2cd6c37f0e9d271aeb021cbf429af5dfaa6eb6320502e5069755f05afc4e850adb02
|
|
@@ -2291,8 +2291,6 @@ module Google
|
|
|
2291
2291
|
# @return [::String,nil]
|
|
2292
2292
|
# @!attribute [rw] credentials
|
|
2293
2293
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2294
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2295
|
-
# * (`Hash`) A service account key as a Hash
|
|
2296
2294
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2297
2295
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2298
2296
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2301,7 +2299,26 @@ module Google
|
|
|
2301
2299
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2302
2300
|
# * (`nil`) indicating no credentials
|
|
2303
2301
|
#
|
|
2304
|
-
# Warning:
|
|
2302
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2303
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2304
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2305
|
+
#
|
|
2306
|
+
# @example
|
|
2307
|
+
#
|
|
2308
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2309
|
+
# # on the appropriate credentials class for your environment.
|
|
2310
|
+
#
|
|
2311
|
+
# require "googleauth"
|
|
2312
|
+
#
|
|
2313
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2314
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2315
|
+
# )
|
|
2316
|
+
#
|
|
2317
|
+
# client = ::Google::Cloud::Workstations::V1::Workstations::Client.new do |config|
|
|
2318
|
+
# config.credentials = credentials
|
|
2319
|
+
# end
|
|
2320
|
+
#
|
|
2321
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2305
2322
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2306
2323
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2307
2324
|
# 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.
|