google-cloud-shell-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: 4fea5cf36e418433767b9e702aff97b5ac69120507a5332e3b51ed2620d24dd2
|
|
4
|
+
data.tar.gz: 94ac109cf8aae188a2f68f748ae3c07643b6ed8d9070adde559dd592fdf54c6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5eb7ffd7eb617bceb492355ed990d2f5163ff06734ea3bb0f07518a8f5a3cd1cb5a6f5fcc9710c5e81085cf0699fd8155733d0d5d274655a46d835306e392dc9
|
|
7
|
+
data.tar.gz: 4ab882ae28c346c20996fb2102f34b23e2bea70af7082ee1095c8cf47e5746b2bafc48d7944c7ed05249655a9180fecb86f3d33ac066b9c7b24abe5a8ed0a8fe
|
|
@@ -755,8 +755,6 @@ module Google
|
|
|
755
755
|
# @return [::String,nil]
|
|
756
756
|
# @!attribute [rw] credentials
|
|
757
757
|
# Credentials to send with calls. You may provide any of the following types:
|
|
758
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
759
|
-
# * (`Hash`) A service account key as a Hash
|
|
760
758
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
761
759
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
762
760
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -765,7 +763,26 @@ module Google
|
|
|
765
763
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
766
764
|
# * (`nil`) indicating no credentials
|
|
767
765
|
#
|
|
768
|
-
# Warning:
|
|
766
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
767
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
768
|
+
# Google APIs can compromise the security of your systems and data.
|
|
769
|
+
#
|
|
770
|
+
# @example
|
|
771
|
+
#
|
|
772
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
773
|
+
# # on the appropriate credentials class for your environment.
|
|
774
|
+
#
|
|
775
|
+
# require "googleauth"
|
|
776
|
+
#
|
|
777
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
778
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
779
|
+
# )
|
|
780
|
+
#
|
|
781
|
+
# client = ::Google::Cloud::Shell::V1::CloudShellService::Client.new do |config|
|
|
782
|
+
# config.credentials = credentials
|
|
783
|
+
# end
|
|
784
|
+
#
|
|
785
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
769
786
|
# external source for authentication to Google Cloud, you must validate it before
|
|
770
787
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
771
788
|
# 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.
|