google-cloud-billing-budgets-v1 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e56f8a9d4e83db16a52f731d019545a524b80393f1039501148ba4e6ba7b452
4
- data.tar.gz: 846bf279ab4cb52418e6b2ccf4e5df4f29d0eb807eb531a2ac08e11ee11d4eb5
3
+ metadata.gz: 8bd4313cd8bc9a8a9f8fff1e87cb4d3d0640dc81ec60cdfabd50a11c81724380
4
+ data.tar.gz: 778d67da3b727210d599faa7b3ae49d34f3f4387c254a8fed6c1eecd88128b25
5
5
  SHA512:
6
- metadata.gz: 479f1dcee8336e2b812dca1a14a66c930ade34a914b08a3b859e1646df46cea0da18970c61f2eb66bcdabd0de9fc07a7f056d9142bc1243f35ca8aae7e54b208
7
- data.tar.gz: f29930ab38d49b4fff7e3f66b9fd3614ed207955db81fac2130d79e57460b103ec4b93257d9b210621267a19164887acde8e2c32ade391f83c792e0638172d9d
6
+ metadata.gz: d304e59ae444fb095c4537df6ba306fc1f6eabfe8b67d70ea7598e7474d4e9ad8fb735923482b6984180979b51e0f0e5a922cba4d62c5848417ff4b02023abf5
7
+ data.tar.gz: 1aec10ab46832631f53ad615889dfa81dccc9d90bc3fd2f789fcebc3001687e9f040766655e378eb97cabb0dcc07cabaa81338a282886d12e79fd21b4c450d9b
data/README.md CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
86
86
 
87
87
  ## Supported Ruby Versions
88
88
 
89
- This library is supported on Ruby 2.7+.
89
+ This library is supported on Ruby 3.0+.
90
90
 
91
91
  Google provides official support for Ruby versions that are actively supported
92
92
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -726,6 +726,13 @@ module Google
726
726
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
727
727
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
728
728
  # * (`nil`) indicating no credentials
729
+ #
730
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
731
+ # external source for authentication to Google Cloud, you must validate it before
732
+ # providing it to a Google API client library. Providing an unvalidated credential
733
+ # configuration to Google APIs can compromise the security of your systems and data.
734
+ # For more information, refer to [Validate credential configurations from external
735
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
729
736
  # @return [::Object]
730
737
  # @!attribute [rw] scope
731
738
  # The OAuth scopes
@@ -682,6 +682,13 @@ module Google
682
682
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
683
683
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
684
684
  # * (`nil`) indicating no credentials
685
+ #
686
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
687
+ # external source for authentication to Google Cloud, you must validate it before
688
+ # providing it to a Google API client library. Providing an unvalidated credential
689
+ # configuration to Google APIs can compromise the security of your systems and data.
690
+ # For more information, refer to [Validate credential configurations from external
691
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
685
692
  # @return [::Object]
686
693
  # @!attribute [rw] scope
687
694
  # The OAuth scopes
@@ -22,7 +22,7 @@ module Google
22
22
  module Billing
23
23
  module Budgets
24
24
  module V1
25
- VERSION = "1.1.0"
25
+ VERSION = "1.2.0"
26
26
  end
27
27
  end
28
28
  end
@@ -74,6 +74,8 @@ module Google
74
74
  # match the currency of the billing account. If specified when updating a
75
75
  # budget, it must match the currency_code of the existing budget.
76
76
  # The `currency_code` is provided on output.
77
+ #
78
+ # Note: The following fields are mutually exclusive: `specified_amount`, `last_period_amount`. If a field in that set is populated, all other fields in the set will automatically be cleared.
77
79
  # @!attribute [rw] last_period_amount
78
80
  # @return [::Google::Cloud::Billing::Budgets::V1::LastPeriodAmount]
79
81
  # Use the last period's actual spend as the budget for the present period.
@@ -81,6 +83,8 @@ module Google
81
83
  # {::Google::Cloud::Billing::Budgets::V1::Filter#calendar_period Filter.calendar_period}.
82
84
  # It cannot be set in combination with
83
85
  # {::Google::Cloud::Billing::Budgets::V1::Filter#custom_period Filter.custom_period}.
86
+ #
87
+ # Note: The following fields are mutually exclusive: `last_period_amount`, `specified_amount`. If a field in that set is populated, all other fields in the set will automatically be cleared.
84
88
  class BudgetAmount
85
89
  include ::Google::Protobuf::MessageExts
86
90
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -299,10 +303,14 @@ module Google
299
303
  # April, May, June. After that, it tracks usage from July 1 to
300
304
  # September 30 when the current calendar month is July, August, September,
301
305
  # so on.
306
+ #
307
+ # Note: The following fields are mutually exclusive: `calendar_period`, `custom_period`. If a field in that set is populated, all other fields in the set will automatically be cleared.
302
308
  # @!attribute [rw] custom_period
303
309
  # @return [::Google::Cloud::Billing::Budgets::V1::CustomPeriod]
304
310
  # Optional. Specifies to track usage from any start date (required) to any
305
311
  # end date (optional). This time period is static, it does not recur.
312
+ #
313
+ # Note: The following fields are mutually exclusive: `custom_period`, `calendar_period`. If a field in that set is populated, all other fields in the set will automatically be cleared.
306
314
  class Filter
307
315
  include ::Google::Protobuf::MessageExts
308
316
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-billing-budgets-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-01-29 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -88,7 +87,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
88
87
  licenses:
89
88
  - Apache-2.0
90
89
  metadata: {}
91
- post_install_message:
92
90
  rdoc_options: []
93
91
  require_paths:
94
92
  - lib
@@ -96,15 +94,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
96
94
  requirements:
97
95
  - - ">="
98
96
  - !ruby/object:Gem::Version
99
- version: '2.7'
97
+ version: '3.0'
100
98
  required_rubygems_version: !ruby/object:Gem::Requirement
101
99
  requirements:
102
100
  - - ">="
103
101
  - !ruby/object:Gem::Version
104
102
  version: '0'
105
103
  requirements: []
106
- rubygems_version: 3.5.23
107
- signing_key:
104
+ rubygems_version: 3.6.2
108
105
  specification_version: 4
109
106
  summary: The Cloud Billing Budget API stores Cloud Billing budgets, which define a
110
107
  budget plan and the rules to execute as spend is tracked against that plan.