google-cloud-billing-budgets-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: 547935670000b9cf0eb2347b5ec46ddcb06288ed217a4e54eb84ea4ed5c3b6f3
4
- data.tar.gz: d4a9b4f782fed2e4d53dd144d13fd52713fdf6a0fc650162f0ac6943b9b61c27
3
+ metadata.gz: 59b010284a70c34c609e520f51dadd3eb5b7e7a39ec782423fc7b9fc778629c0
4
+ data.tar.gz: 0636a69799511a8bf451409e5618e4e760c8ff03b5565425e6f7efc8ef620b98
5
5
  SHA512:
6
- metadata.gz: fbff5d50dca6e07d8121e2f0153c4f519544b9b7d5464570a44083f762da35cd3b0deebe26269d5bd36fb8eed2232338cf28b4e695f024f44886ea303015cbf2
7
- data.tar.gz: c62dd9ea0c7ee29a0e52ddc170bfa39add5d1735159f3c7a9e1228370d1761df9eafc03ae536e2d728252ee2b39674a8fd9eb35f3191c573d07e77c342a73dbf
6
+ metadata.gz: d1d2d783e20aa88edbe00c9160090cb02c07b85719828745c914fa4c8437bf797e5a78c91a7fb76df5c85c0cf776dc5258256da1845df629b14cf3044fa48e2c
7
+ data.tar.gz: f7ec21cb8949511de1278e4ce9c01de673b09240666d850b368076c1fe66134b3e5c3f480657acdd8168866926711282f7511b1b4116155c06ef53d3590ba80c
@@ -717,8 +717,6 @@ module Google
717
717
  # @return [::String,nil]
718
718
  # @!attribute [rw] credentials
719
719
  # Credentials to send with calls. You may provide any of the following types:
720
- # * (`String`) The path to a service account key file in JSON format
721
- # * (`Hash`) A service account key as a Hash
722
720
  # * (`Google::Auth::Credentials`) A googleauth credentials object
723
721
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
724
722
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -727,7 +725,26 @@ module Google
727
725
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
728
726
  # * (`nil`) indicating no credentials
729
727
  #
730
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
728
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
729
+ # is deprecated. Providing an unvalidated credential configuration to
730
+ # Google APIs can compromise the security of your systems and data.
731
+ #
732
+ # @example
733
+ #
734
+ # # The recommended way to provide credentials is to use the `make_creds` method
735
+ # # on the appropriate credentials class for your environment.
736
+ #
737
+ # require "googleauth"
738
+ #
739
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
740
+ # json_key_io: ::File.open("/path/to/keyfile.json")
741
+ # )
742
+ #
743
+ # client = ::Google::Cloud::Billing::Budgets::V1::BudgetService::Client.new do |config|
744
+ # config.credentials = credentials
745
+ # end
746
+ #
747
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
731
748
  # external source for authentication to Google Cloud, you must validate it before
732
749
  # providing it to a Google API client library. Providing an unvalidated credential
733
750
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Billing
23
23
  module Budgets
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-billing-budgets-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