google-apis-billingbudgets_v1beta1 0.24.0 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- data/lib/google/apis/billingbudgets_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/lib/google/apis/billingbudgets_v1beta1/service.rb +9 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b039c9ffa48164a02002a99ee0507b2ff91c1f40f8c19afa7051de3364e6b0b
|
4
|
+
data.tar.gz: 546210888c41a731112b87267057e587eff7aa4d0f29c6707a3fc6bafc4d3cd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a686f7595ec62ca49968d89d4b05b586821d9947e66eb821d6acf621ec83ed33ef8078f5b2a8421f68e0ce968009295e2b0e459f439dca440ca4bc82237d4b03
|
7
|
+
data.tar.gz: bc760825ded4fcded4fd0032a426e010c3f4c281600169b77a71ae5de1e341460ae5b0f730a99bd7731ea0cf03c458f8020c8a1dfa572c7fec10ebdea1b29493
|
data/CHANGELOG.md
CHANGED
@@ -36,6 +36,16 @@ module Google
|
|
36
36
|
attr_accessor :disable_default_iam_recipients
|
37
37
|
alias_method :disable_default_iam_recipients?, :disable_default_iam_recipients
|
38
38
|
|
39
|
+
# Optional. When set to true, and when the budget has a single project
|
40
|
+
# configured, notifications will be sent to project level recipients of that
|
41
|
+
# project. This field will be ignored if the budget has multiple or no project
|
42
|
+
# configured. Currently, project level recipients are the users with `Owner`
|
43
|
+
# role on a cloud project.
|
44
|
+
# Corresponds to the JSON property `enableProjectLevelRecipients`
|
45
|
+
# @return [Boolean]
|
46
|
+
attr_accessor :enable_project_level_recipients
|
47
|
+
alias_method :enable_project_level_recipients?, :enable_project_level_recipients
|
48
|
+
|
39
49
|
# Optional. Targets to send notifications to when a threshold is exceeded. This
|
40
50
|
# is in addition to default recipients who have billing account IAM roles. The
|
41
51
|
# value is the full REST resource name of a monitoring notification channel with
|
@@ -75,6 +85,7 @@ module Google
|
|
75
85
|
# Update properties of this object
|
76
86
|
def update!(**args)
|
77
87
|
@disable_default_iam_recipients = args[:disable_default_iam_recipients] if args.key?(:disable_default_iam_recipients)
|
88
|
+
@enable_project_level_recipients = args[:enable_project_level_recipients] if args.key?(:enable_project_level_recipients)
|
78
89
|
@monitoring_notification_channels = args[:monitoring_notification_channels] if args.key?(:monitoring_notification_channels)
|
79
90
|
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
80
91
|
@schema_version = args[:schema_version] if args.key?(:schema_version)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BillingbudgetsV1beta1
|
18
18
|
# Version of the google-apis-billingbudgets_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.25.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230818"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -104,6 +104,7 @@ module Google
|
|
104
104
|
# @private
|
105
105
|
class Representation < Google::Apis::Core::JsonRepresentation
|
106
106
|
property :disable_default_iam_recipients, as: 'disableDefaultIamRecipients'
|
107
|
+
property :enable_project_level_recipients, as: 'enableProjectLevelRecipients'
|
107
108
|
collection :monitoring_notification_channels, as: 'monitoringNotificationChannels'
|
108
109
|
property :pubsub_topic, as: 'pubsubTopic'
|
109
110
|
property :schema_version, as: 'schemaVersion'
|
@@ -165,6 +165,13 @@ module Google
|
|
165
165
|
# Optional. The value returned by the last `ListBudgetsResponse` which indicates
|
166
166
|
# that this is a continuation of a prior `ListBudgets` call, and that the system
|
167
167
|
# should return the next page of data.
|
168
|
+
# @param [String] scope
|
169
|
+
# Optional. Set the scope of the budgets to be returned, in the format of the
|
170
|
+
# resource name. The scope of a budget is the cost that it tracks, such as costs
|
171
|
+
# for a single project, or the costs for all projects in a folder. Only project
|
172
|
+
# scope (in the format of "projects/project-id" or "projects/123") is supported
|
173
|
+
# in this field. When this field is set to a project's resource name, the
|
174
|
+
# budgets returned are tracking the costs for that project.
|
168
175
|
# @param [String] fields
|
169
176
|
# Selector specifying which fields to include in a partial response.
|
170
177
|
# @param [String] quota_user
|
@@ -182,13 +189,14 @@ module Google
|
|
182
189
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
183
190
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
184
191
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
185
|
-
def list_billing_account_budgets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
192
|
+
def list_billing_account_budgets(parent, page_size: nil, page_token: nil, scope: nil, fields: nil, quota_user: nil, options: nil, &block)
|
186
193
|
command = make_simple_command(:get, 'v1beta1/{+parent}/budgets', options)
|
187
194
|
command.response_representation = Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse::Representation
|
188
195
|
command.response_class = Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1ListBudgetsResponse
|
189
196
|
command.params['parent'] = parent unless parent.nil?
|
190
197
|
command.query['pageSize'] = page_size unless page_size.nil?
|
191
198
|
command.query['pageToken'] = page_token unless page_token.nil?
|
199
|
+
command.query['scope'] = scope unless scope.nil?
|
192
200
|
command.query['fields'] = fields unless fields.nil?
|
193
201
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
194
202
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-billingbudgets_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.25.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-billingbudgets_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-billingbudgets_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-billingbudgets_v1beta1/v0.25.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-billingbudgets_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Billing Budget API V1beta1
|