google-cloud-workflows-executions-v1 1.4.0 → 1.4.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: fd9ea736d3836ff4b2748e209227ecfcaabc4dc3b7e4027dbee11a5ad6d8b53d
4
- data.tar.gz: 96e1a20ccb41500e2796b8cc9c72fec1b8ba76806e3a3643a47978763656d81c
3
+ metadata.gz: 804671167e0f47e5f2d86415410d23ccbc399216b64df02d9e38c1d74d52ad2b
4
+ data.tar.gz: b71598fa58f4218f03d51a915d1b9e4e346b157dbf37cc003506b02f92c9879c
5
5
  SHA512:
6
- metadata.gz: 936cdd784b0c09ee5fce6870c670b183eae8691ff33eacbd179d7f43144069026b9c128be5e86d274846276811f222d4795ea373f14da40570de486e453eb03f
7
- data.tar.gz: 411d2dd376d40463bb9efa120b61f35b7eafe1a37fec20c4841e581a1261070e227dbe8b0eea231028aee4ace334c0e14ec4ec19f47b2990130a91f32b891b50
6
+ metadata.gz: 82abbc87316b188c46f921acfcd798fe7abfff80ac06dfe08c236e16160cdeaca9f450fd501504e012ee4681c6b3bedb9fde8de520e9c14ebf5e34744e12ec3f
7
+ data.tar.gz: df286c5a18f8372cfced49464ee691082ced859d49a03b2797197d192a6ded6b8d711788eb80645b95f2d75e8bdb37c94b7f8215d083f25a17dda5398115b88c
@@ -609,8 +609,6 @@ module Google
609
609
  # @return [::String,nil]
610
610
  # @!attribute [rw] credentials
611
611
  # Credentials to send with calls. You may provide any of the following types:
612
- # * (`String`) The path to a service account key file in JSON format
613
- # * (`Hash`) A service account key as a Hash
614
612
  # * (`Google::Auth::Credentials`) A googleauth credentials object
615
613
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
616
614
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -619,7 +617,26 @@ module Google
619
617
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
620
618
  # * (`nil`) indicating no credentials
621
619
  #
622
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
620
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
621
+ # is deprecated. Providing an unvalidated credential configuration to
622
+ # Google APIs can compromise the security of your systems and data.
623
+ #
624
+ # @example
625
+ #
626
+ # # The recommended way to provide credentials is to use the `make_creds` method
627
+ # # on the appropriate credentials class for your environment.
628
+ #
629
+ # require "googleauth"
630
+ #
631
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
632
+ # json_key_io: ::File.open("/path/to/keyfile.json")
633
+ # )
634
+ #
635
+ # client = ::Google::Cloud::Workflows::Executions::V1::Executions::Client.new do |config|
636
+ # config.credentials = credentials
637
+ # end
638
+ #
639
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
623
640
  # external source for authentication to Google Cloud, you must validate it before
624
641
  # providing it to a Google API client library. Providing an unvalidated credential
625
642
  # 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 V1
25
- VERSION = "1.4.0"
25
+ VERSION = "1.4.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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC