google-cloud-tasks-v2beta2 0.16.0 → 0.16.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: 6344dfc43caf610ad1156ccf807c58adbcbb6d393a2d1b03cf9e896f5c06a814
4
- data.tar.gz: 04f3855e48762cb01b53d3675fc339b4aafac00944a3850ddc177ac02ddaf843
3
+ metadata.gz: 400b5d3d6767519b7a2d3d43237979f32c2626b34dafea61ac2cf4e3660208a5
4
+ data.tar.gz: 614bf8a1794ec316333dfd13a1848f3621d748f3671bcfd335dea8d027f5ce51
5
5
  SHA512:
6
- metadata.gz: 2d87a73e02fcb169db97a769915058c2719aaef4732cf05541ffe93e0e5b0d5e957feb57a404c6701ceacece7e62d475dccc5e8805d11ed8fd5f03b5158f02c8
7
- data.tar.gz: 9373ec007d0bf987ca9302b417b848d0df95364f9b82e1cd5bd995f074e5c51359f6777f1889a26b6ac0d85668cfd1e5b85db11e1b0a70b0490a7f2642ffcfef
6
+ metadata.gz: 60a7afffb88b364da2b9f92837f86f6dffb6454b1c2e24d47cffcb22a7f29079091b066c63b939436bbd2df4ab4af905029b14ac10b5bdbb1651819539592ecb
7
+ data.tar.gz: 4c80b3a7acb81eb2c60a2d277472fa90652d1b6d1591edd5534a94f40602532dfede660a7dbbf85e07c0e71ad7199e4c12a7a42b6c3932e1d312ed4947d14fbe
@@ -2625,8 +2625,6 @@ module Google
2625
2625
  # @return [::String,nil]
2626
2626
  # @!attribute [rw] credentials
2627
2627
  # Credentials to send with calls. You may provide any of the following types:
2628
- # * (`String`) The path to a service account key file in JSON format
2629
- # * (`Hash`) A service account key as a Hash
2630
2628
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2631
2629
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2632
2630
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2635,7 +2633,26 @@ module Google
2635
2633
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2636
2634
  # * (`nil`) indicating no credentials
2637
2635
  #
2638
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2636
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2637
+ # is deprecated. Providing an unvalidated credential configuration to
2638
+ # Google APIs can compromise the security of your systems and data.
2639
+ #
2640
+ # @example
2641
+ #
2642
+ # # The recommended way to provide credentials is to use the `make_creds` method
2643
+ # # on the appropriate credentials class for your environment.
2644
+ #
2645
+ # require "googleauth"
2646
+ #
2647
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2648
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2649
+ # )
2650
+ #
2651
+ # client = ::Google::Cloud::Tasks::V2beta2::CloudTasks::Client.new do |config|
2652
+ # config.credentials = credentials
2653
+ # end
2654
+ #
2655
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2639
2656
  # external source for authentication to Google Cloud, you must validate it before
2640
2657
  # providing it to a Google API client library. Providing an unvalidated credential
2641
2658
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Tasks
23
23
  module V2beta2
24
- VERSION = "0.16.0"
24
+ VERSION = "0.16.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-tasks-v2beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC