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: c858367964d1b2b636a77bd5623297291e5a73c1eecd12327104a1acbad3209a
4
- data.tar.gz: 388bd13ebdad8f6475f97cd82032f61907259ee6b04b62a2f47d0a510e9d447a
3
+ metadata.gz: fe5062a665deac8fbe3bfcd2e7fbf9a6628cb3b4564ae9762fe77c0e4d2bb73b
4
+ data.tar.gz: de369a0365470ebddd4e713639e3e88dc19da8c92924c6b403f5a8a8953c1192
5
5
  SHA512:
6
- metadata.gz: caeeed916f6f00294b85fa7d0e06e32ddc2554b7e030d67fd3621f0ed3ed5a1ad05ae1d0a923ac465c55a61c934da946bb4271278f1789624c7e8736a2a1f33d
7
- data.tar.gz: c5153a2ebacb8699bd43e9f0db2659aea4a36a35d330dd0ef9f55bb3c8e069cb14a2a8adb504c28e96854437ee85ad89c8efdb72a6beb2e09764b32f758c5b3d
6
+ metadata.gz: 50dfe087ad3d0af5a95fa25d4ac2863aecbc3cbb1455705b947b65c38aa499462d370206cfe7f221c785591c47ebefd416309ac944b9883b567249c590bc0181
7
+ data.tar.gz: 270ad3e70c81827e6d2361811145b1c22d384b9709d3bebf48cf462dc3173707b5478fb68928b1ab8409432b7ce74e09cae6e977631a54aac18cef233dc06a7d
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module VmwareEngine
23
23
  module V1
24
- VERSION = "1.3.0"
24
+ VERSION = "1.3.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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: If you accept a credential configuration (JSON file or Hash) from an
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: If you accept a credential configuration (JSON file or Hash) from an
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.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-vmware_engine-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC