google-cloud-billing-budgets-v1 1.1.0 → 1.2.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/billing/budgets/v1/budget_service/client.rb +9 -2
- data/lib/google/cloud/billing/budgets/v1/budget_service/rest/client.rb +8 -1
- data/lib/google/cloud/billing/budgets/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/cloud/billing/budgets/v1/budget_model.rb +8 -0
- data/proto_docs/google/protobuf/struct.rb +12 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be9ef1765b70c0239f2edbf98c26b9b54d601f4cc6388513b392f2c7074688b5
|
4
|
+
data.tar.gz: bc8f9435c9d5b74910ca2b9402a7847504ca536451da1d9ec6b6c7e1fa3accae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c03783cb45337f72488d7836ded71d7a8891d39f5a45819febf0ea63186291baea373d1871b3e8c7d58d75581b8bc6c547917cdcb622328c651bd4129038444
|
7
|
+
data.tar.gz: 26daacb037aea9b51344050f5e3ad3ed2236ccbdcc19546da6ff9fba1eb66f19fdd8b5776a6bae499088ad001b267b19305fbf334ea0c2e3171e33e2b65a38ad
|
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
|
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
|
@@ -780,8 +787,8 @@ module Google
|
|
780
787
|
|
781
788
|
config_attr :endpoint, nil, ::String, nil
|
782
789
|
config_attr :credentials, nil do |value|
|
783
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
784
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
790
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
791
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
785
792
|
allowed.any? { |klass| klass === value }
|
786
793
|
end
|
787
794
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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
|
@@ -729,7 +736,7 @@ module Google
|
|
729
736
|
|
730
737
|
config_attr :endpoint, nil, ::String, nil
|
731
738
|
config_attr :credentials, nil do |value|
|
732
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
739
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
733
740
|
allowed.any? { |klass| klass === value }
|
734
741
|
end
|
735
742
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -221,6 +221,12 @@ module Google
|
|
221
221
|
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
222
|
# enabled by default 1 month after launching the feature in preview
|
223
223
|
# packages.
|
224
|
+
# @!attribute [rw] unversioned_package_disabled
|
225
|
+
# @return [::Boolean]
|
226
|
+
# Disables generation of an unversioned Python package for this client
|
227
|
+
# library. This means that the module names will need to be versioned in
|
228
|
+
# import statements. For example `import google.cloud.library_v2` instead
|
229
|
+
# of `import google.cloud.library`.
|
224
230
|
class ExperimentalFeatures
|
225
231
|
include ::Google::Protobuf::MessageExts
|
226
232
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -409,6 +415,14 @@ module Google
|
|
409
415
|
# @return [::Array<::String>]
|
410
416
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
417
|
# on public client surfaces.
|
418
|
+
# @!attribute [rw] generate_omitted_as_internal
|
419
|
+
# @return [::Boolean]
|
420
|
+
# Setting this to true indicates to the client generators that methods
|
421
|
+
# that would be excluded from the generation should instead be generated
|
422
|
+
# in a way that indicates these methods should not be consumed by
|
423
|
+
# end users. How this is expressed is up to individual language
|
424
|
+
# implementations to decide. Some examples may be: added annotations,
|
425
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
426
|
class SelectiveGapicGeneration
|
413
427
|
include ::Google::Protobuf::MessageExts
|
414
428
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -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
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 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.
|
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.
|
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: '
|
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.
|
107
|
-
signing_key:
|
104
|
+
rubygems_version: 3.6.8
|
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.
|