google-cloud-vmware_engine-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: fe5062a665deac8fbe3bfcd2e7fbf9a6628cb3b4564ae9762fe77c0e4d2bb73b
|
|
4
|
+
data.tar.gz: de369a0365470ebddd4e713639e3e88dc19da8c92924c6b403f5a8a8953c1192
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50dfe087ad3d0af5a95fa25d4ac2863aecbc3cbb1455705b947b65c38aa499462d370206cfe7f221c785591c47ebefd416309ac944b9883b567249c590bc0181
|
|
7
|
+
data.tar.gz: 270ad3e70c81827e6d2361811145b1c22d384b9709d3bebf48cf462dc3173707b5478fb68928b1ab8409432b7ce74e09cae6e977631a54aac18cef233dc06a7d
|
|
@@ -8873,8 +8873,6 @@ module Google
|
|
|
8873
8873
|
# @return [::String,nil]
|
|
8874
8874
|
# @!attribute [rw] credentials
|
|
8875
8875
|
# Credentials to send with calls. You may provide any of the following types:
|
|
8876
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
8877
|
-
# * (`Hash`) A service account key as a Hash
|
|
8878
8876
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
8879
8877
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
8880
8878
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -8883,7 +8881,26 @@ module Google
|
|
|
8883
8881
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
8884
8882
|
# * (`nil`) indicating no credentials
|
|
8885
8883
|
#
|
|
8886
|
-
# Warning:
|
|
8884
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
8885
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
8886
|
+
# Google APIs can compromise the security of your systems and data.
|
|
8887
|
+
#
|
|
8888
|
+
# @example
|
|
8889
|
+
#
|
|
8890
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
8891
|
+
# # on the appropriate credentials class for your environment.
|
|
8892
|
+
#
|
|
8893
|
+
# require "googleauth"
|
|
8894
|
+
#
|
|
8895
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
8896
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
8897
|
+
# )
|
|
8898
|
+
#
|
|
8899
|
+
# client = ::Google::Cloud::VmwareEngine::V1::VmwareEngine::Client.new do |config|
|
|
8900
|
+
# config.credentials = credentials
|
|
8901
|
+
# end
|
|
8902
|
+
#
|
|
8903
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
8887
8904
|
# external source for authentication to Google Cloud, you must validate it before
|
|
8888
8905
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
8889
8906
|
# 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.
|