google-apis-billingbudgets_v1 0.25.0 → 0.27.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf967542f9b35f7aa9b43bf5bb803a93b9b3cb88e7d8003d6173cd491ac01529
|
4
|
+
data.tar.gz: 121ae5cad6f1590c0ca6fda4dda973f4e5fd90815ff4c8de80ec6579711cceef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dad44e29d044f323e003b0016b06e9cf9a93adddbf3acae9c61725d2d90c59384fe72e8a3643c5fb7419fe934f8f920c42f964825b23f38994b7f28f553dd05
|
7
|
+
data.tar.gz: 787114db664f32e549d3d6e99e582e344f6ba26afde98cd97947dd7cf9297f1730d70b14f7ee74e68ca8b2d3fea9f7c522465443eb6d0cc621aaf199f99e5337
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-billingbudgets_v1
|
2
2
|
|
3
|
+
### v0.27.0 (2023-11-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20231029
|
6
|
+
|
7
|
+
### v0.26.0 (2023-08-27)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230818
|
10
|
+
|
3
11
|
### v0.25.0 (2023-07-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230624
|
@@ -65,6 +65,11 @@ module Google
|
|
65
65
|
# @return [Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1NotificationsRule]
|
66
66
|
attr_accessor :notifications_rule
|
67
67
|
|
68
|
+
#
|
69
|
+
# Corresponds to the JSON property `ownershipScope`
|
70
|
+
# @return [String]
|
71
|
+
attr_accessor :ownership_scope
|
72
|
+
|
68
73
|
# Optional. Rules that trigger alerts (notifications of thresholds being crossed)
|
69
74
|
# when spend exceeds the specified percentages of the budget. Optional for `
|
70
75
|
# pubsubTopic` notifications. Required if using email notifications.
|
@@ -84,6 +89,7 @@ module Google
|
|
84
89
|
@etag = args[:etag] if args.key?(:etag)
|
85
90
|
@name = args[:name] if args.key?(:name)
|
86
91
|
@notifications_rule = args[:notifications_rule] if args.key?(:notifications_rule)
|
92
|
+
@ownership_scope = args[:ownership_scope] if args.key?(:ownership_scope)
|
87
93
|
@threshold_rules = args[:threshold_rules] if args.key?(:threshold_rules)
|
88
94
|
end
|
89
95
|
end
|
@@ -307,6 +313,16 @@ module Google
|
|
307
313
|
attr_accessor :disable_default_iam_recipients
|
308
314
|
alias_method :disable_default_iam_recipients?, :disable_default_iam_recipients
|
309
315
|
|
316
|
+
# Optional. When set to true, and when the budget has a single project
|
317
|
+
# configured, notifications will be sent to project level recipients of that
|
318
|
+
# project. This field will be ignored if the budget has multiple or no project
|
319
|
+
# configured. Currently, project level recipients are the users with `Owner`
|
320
|
+
# role on a cloud project.
|
321
|
+
# Corresponds to the JSON property `enableProjectLevelRecipients`
|
322
|
+
# @return [Boolean]
|
323
|
+
attr_accessor :enable_project_level_recipients
|
324
|
+
alias_method :enable_project_level_recipients?, :enable_project_level_recipients
|
325
|
+
|
310
326
|
# Optional. Email targets to send notifications to when a threshold is exceeded.
|
311
327
|
# This is in addition to the `DefaultIamRecipients` who receive alert emails
|
312
328
|
# based on their billing account IAM role. The value is the full REST resource
|
@@ -366,6 +382,7 @@ module Google
|
|
366
382
|
# Update properties of this object
|
367
383
|
def update!(**args)
|
368
384
|
@disable_default_iam_recipients = args[:disable_default_iam_recipients] if args.key?(:disable_default_iam_recipients)
|
385
|
+
@enable_project_level_recipients = args[:enable_project_level_recipients] if args.key?(:enable_project_level_recipients)
|
369
386
|
@monitoring_notification_channels = args[:monitoring_notification_channels] if args.key?(:monitoring_notification_channels)
|
370
387
|
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
371
388
|
@schema_version = args[:schema_version] if args.key?(:schema_version)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BillingbudgetsV1
|
18
18
|
# Version of the google-apis-billingbudgets_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.27.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 = "20231029"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,7 @@ module Google
|
|
100
100
|
property :name, as: 'name'
|
101
101
|
property :notifications_rule, as: 'notificationsRule', class: Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1NotificationsRule, decorator: Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1NotificationsRule::Representation
|
102
102
|
|
103
|
+
property :ownership_scope, as: 'ownershipScope'
|
103
104
|
collection :threshold_rules, as: 'thresholdRules', class: Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1ThresholdRule, decorator: Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1ThresholdRule::Representation
|
104
105
|
|
105
106
|
end
|
@@ -164,6 +165,7 @@ module Google
|
|
164
165
|
# @private
|
165
166
|
class Representation < Google::Apis::Core::JsonRepresentation
|
166
167
|
property :disable_default_iam_recipients, as: 'disableDefaultIamRecipients'
|
168
|
+
property :enable_project_level_recipients, as: 'enableProjectLevelRecipients'
|
167
169
|
collection :monitoring_notification_channels, as: 'monitoringNotificationChannels'
|
168
170
|
property :pubsub_topic, as: 'pubsubTopic'
|
169
171
|
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, 'v1/{+parent}/budgets', options)
|
187
194
|
command.response_representation = Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1ListBudgetsResponse::Representation
|
188
195
|
command.response_class = Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1ListBudgetsResponse
|
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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.27.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-11-05 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-billingbudgets_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-billingbudgets_v1/v0.27.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-billingbudgets_v1
|
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 V1
|