google-apis-billingbudgets_v1 0.24.0 → 0.26.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5db226166624f50a7fa83392cf61c55a934658282ec7a0494408a09fdfe2921
|
4
|
+
data.tar.gz: 9824ee8a1da1dd336d4867117cb3fff6382d1cc07d90e57e0fa95da7830e5d24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a19fb551f98538a0bf9831b37eb16757a6723cd2b9094db7e8a0602ddfe315703e164cb3042d6bfb4afb21b31bd8ac7227ed46de2fdc6a26bf20d797ae7bf696
|
7
|
+
data.tar.gz: ac703069af874089413f3e818c9f7f82c9cfc10535096e4aefecb4a04bdf4853cdfcc08389389acbd76e39d5f56312356893bc4a158a3dd6a21fcfc8f30429cc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-billingbudgets_v1
|
2
2
|
|
3
|
+
### v0.26.0 (2023-08-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230818
|
6
|
+
|
7
|
+
### v0.25.0 (2023-07-02)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230624
|
10
|
+
|
3
11
|
### v0.24.0 (2023-06-04)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230529
|
@@ -208,8 +208,9 @@ module Google
|
|
208
208
|
# Optional. A set of folder and organization names of the form `folders/`
|
209
209
|
# folderId`` or `organizations/`organizationId``, specifying that usage from
|
210
210
|
# only this set of folders and organizations should be included in the budget.
|
211
|
-
# If omitted, the
|
212
|
-
#
|
211
|
+
# If omitted, the budget includes all usage that the billing account pays for.
|
212
|
+
# If the folder or organization contains projects that are paid for by a
|
213
|
+
# different Cloud Billing account, the budget *doesn't* apply to those projects.
|
213
214
|
# Corresponds to the JSON property `resourceAncestors`
|
214
215
|
# @return [Array<String>]
|
215
216
|
attr_accessor :resource_ancestors
|
@@ -306,6 +307,16 @@ module Google
|
|
306
307
|
attr_accessor :disable_default_iam_recipients
|
307
308
|
alias_method :disable_default_iam_recipients?, :disable_default_iam_recipients
|
308
309
|
|
310
|
+
# Optional. When set to true, and when the budget has a single project
|
311
|
+
# configured, notifications will be sent to project level recipients of that
|
312
|
+
# project. This field will be ignored if the budget has multiple or no project
|
313
|
+
# configured. Currently, project level recipients are the users with `Owner`
|
314
|
+
# role on a cloud project.
|
315
|
+
# Corresponds to the JSON property `enableProjectLevelRecipients`
|
316
|
+
# @return [Boolean]
|
317
|
+
attr_accessor :enable_project_level_recipients
|
318
|
+
alias_method :enable_project_level_recipients?, :enable_project_level_recipients
|
319
|
+
|
309
320
|
# Optional. Email targets to send notifications to when a threshold is exceeded.
|
310
321
|
# This is in addition to the `DefaultIamRecipients` who receive alert emails
|
311
322
|
# based on their billing account IAM role. The value is the full REST resource
|
@@ -365,6 +376,7 @@ module Google
|
|
365
376
|
# Update properties of this object
|
366
377
|
def update!(**args)
|
367
378
|
@disable_default_iam_recipients = args[:disable_default_iam_recipients] if args.key?(:disable_default_iam_recipients)
|
379
|
+
@enable_project_level_recipients = args[:enable_project_level_recipients] if args.key?(:enable_project_level_recipients)
|
368
380
|
@monitoring_notification_channels = args[:monitoring_notification_channels] if args.key?(:monitoring_notification_channels)
|
369
381
|
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
370
382
|
@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.26.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
|
@@ -164,6 +164,7 @@ module Google
|
|
164
164
|
# @private
|
165
165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
166
166
|
property :disable_default_iam_recipients, as: 'disableDefaultIamRecipients'
|
167
|
+
property :enable_project_level_recipients, as: 'enableProjectLevelRecipients'
|
167
168
|
collection :monitoring_notification_channels, as: 'monitoringNotificationChannels'
|
168
169
|
property :pubsub_topic, as: 'pubsubTopic'
|
169
170
|
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.26.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_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.26.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
|