google-cloud-billing-budgets-v1beta1 0.15.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: 86ebe43c4fde1303af34c1ad78ba91c8fa4a02326c1d52306ca0fb04f96f9bc9
4
- data.tar.gz: f06cf086eec31cd4bdcbb1c4728b23941ef6ac8ea596647c3d8a55de029f9b32
3
+ metadata.gz: 6f8fb4aa964bf36e89876a896bfe1ae905379d5aa66d90639e8c9488b6226b53
4
+ data.tar.gz: 256be7b6673f5c887df336878a536d3fe383e3e30ed2848af28c0e17751198eb
5
5
  SHA512:
6
- metadata.gz: 56c5e6b659be13922bef590a21c9f9aea7c19128a80a05584783ebba58d425b5519771bd8046320675c05d4f42a93821fe6ca3f9b64d0bbf7a55559b34138938
7
- data.tar.gz: 207f07474991018ea14c134e4de3bec01fab911a7de48d4b782f3b84bb66989b91a58a4a3a8ff36f120b605f983767621ff217cfae92bbdcd762965247d894b2
6
+ metadata.gz: de4aff04bd7395dc29b7c7df09771c87f1c44de39e66212b7a781d59e0b1422ffda342cd66d6160d7c84c85c3463952985750b50f11b274338b7648c81b4e6a4
7
+ data.tar.gz: 072a78b33f0bb3aa836384e23338c79bbd5138d948a4d674487d0eaba9c3de858163f957b5617e72bfcb895e9383b058865d5957d3a9482c932b605afcda4da7
@@ -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::V1beta1::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 V1beta1
25
- VERSION = "0.15.0"
25
+ VERSION = "0.16.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-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  - !ruby/object:Gem::Version
92
92
  version: '0'
93
93
  requirements: []
94
- rubygems_version: 3.6.8
94
+ rubygems_version: 3.6.9
95
95
  specification_version: 4
96
96
  summary: The Cloud Billing Budget API stores Cloud Billing budgets, which define a
97
97
  budget plan and the rules to execute as spend is tracked against that plan.