google-cloud-workflows-executions-v1beta 0.12.0 → 0.12.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: ff2b2bce2ec154e75a8fd1a24b40620ae344ea357f608f1f3c4f5b484638fc61
4
- data.tar.gz: 764926e7f2c9cd0add51a63a8202018f66afa5bac55294fdab8d612f7da20df4
3
+ metadata.gz: 4bc656eb5abdf8425cc44b5fe9fd21c2e8a1936bd597b888ff8e37536bb37ef2
4
+ data.tar.gz: 5a2ddb97fdb3492dfad4f71be969b762f75fd28f30301df68b9d124b4045d5e8
5
5
  SHA512:
6
- metadata.gz: ddc2a627b7a1f364ac8e74ee8c2f3221d120d1ce382ff1843c7fbe98a60ad5d59183d7fde9c71f8c8b419ad48660b1709efbfc873d6e4ad7f0370bfe958f8138
7
- data.tar.gz: 49f574df9fff6893f2b51206c681c1bdbf05e0fad9be50094d5871877df11bcd57d63a314c7274b3edf31a33b9f59045d70c3af84e2d981769ad5b93e898ad6a
6
+ metadata.gz: d8c3bd7bd6893cfee100b486c384b67a199815c6ffb4f65f308a4010edadbdfd29ad1a31966fbd7707c3e8669bf0b67bdb35aad185d028e7b723f635e3048597
7
+ data.tar.gz: 305345f5bd71204f30374b6c9c54bcb8aca34fc0efc82576f1208b86104af5c0877502ed8fde64d5d11a3452e6220c076579b0e645277e8269d60de98bf90a89
@@ -596,8 +596,6 @@ module Google
596
596
  # @return [::String,nil]
597
597
  # @!attribute [rw] credentials
598
598
  # Credentials to send with calls. You may provide any of the following types:
599
- # * (`String`) The path to a service account key file in JSON format
600
- # * (`Hash`) A service account key as a Hash
601
599
  # * (`Google::Auth::Credentials`) A googleauth credentials object
602
600
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
603
601
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -606,7 +604,26 @@ module Google
606
604
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
607
605
  # * (`nil`) indicating no credentials
608
606
  #
609
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
607
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
608
+ # is deprecated. Providing an unvalidated credential configuration to
609
+ # Google APIs can compromise the security of your systems and data.
610
+ #
611
+ # @example
612
+ #
613
+ # # The recommended way to provide credentials is to use the `make_creds` method
614
+ # # on the appropriate credentials class for your environment.
615
+ #
616
+ # require "googleauth"
617
+ #
618
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
619
+ # json_key_io: ::File.open("/path/to/keyfile.json")
620
+ # )
621
+ #
622
+ # client = ::Google::Cloud::Workflows::Executions::V1beta::Executions::Client.new do |config|
623
+ # config.credentials = credentials
624
+ # end
625
+ #
626
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
610
627
  # external source for authentication to Google Cloud, you must validate it before
611
628
  # providing it to a Google API client library. Providing an unvalidated credential
612
629
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Workflows
23
23
  module Executions
24
24
  module V1beta
25
- VERSION = "0.12.0"
25
+ VERSION = "0.12.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-workflows-executions-v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC