google-apis-billingbudgets_v1 0.25.0 → 0.26.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: fbcc6ebcd421e7d25ebbe74c42737ea42b55dc27556a39fc58a76bc6cacf354c
4
- data.tar.gz: 7a92d2014f186f7da4f1a501f4a51518d88968497c0aef827d5660f96fcff3fb
3
+ metadata.gz: c5db226166624f50a7fa83392cf61c55a934658282ec7a0494408a09fdfe2921
4
+ data.tar.gz: 9824ee8a1da1dd336d4867117cb3fff6382d1cc07d90e57e0fa95da7830e5d24
5
5
  SHA512:
6
- metadata.gz: 2e8ac2ac272bd5824e967bdef5ca1cf21fee6f20115be189fdf2cd861787a39079f5754d19b570a189028dbcaa6c589970139c98c6e88c792aa710fd09f0f978
7
- data.tar.gz: 95c286469770e7fa9bf2688c5f8473c870fffdce5d19cf6ced4cfe80d2c723ca1b91c5999531c330629bc188dc6200239b168ed1cb97a6e06a64f66ee0d7c1dd
6
+ metadata.gz: a19fb551f98538a0bf9831b37eb16757a6723cd2b9094db7e8a0602ddfe315703e164cb3042d6bfb4afb21b31bd8ac7227ed46de2fdc6a26bf20d797ae7bf696
7
+ data.tar.gz: ac703069af874089413f3e818c9f7f82c9cfc10535096e4aefecb4a04bdf4853cdfcc08389389acbd76e39d5f56312356893bc4a158a3dd6a21fcfc8f30429cc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.25.0 (2023-07-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230624
@@ -307,6 +307,16 @@ module Google
307
307
  attr_accessor :disable_default_iam_recipients
308
308
  alias_method :disable_default_iam_recipients?, :disable_default_iam_recipients
309
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
+
310
320
  # Optional. Email targets to send notifications to when a threshold is exceeded.
311
321
  # This is in addition to the `DefaultIamRecipients` who receive alert emails
312
322
  # based on their billing account IAM role. The value is the full REST resource
@@ -366,6 +376,7 @@ module Google
366
376
  # Update properties of this object
367
377
  def update!(**args)
368
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)
369
380
  @monitoring_notification_channels = args[:monitoring_notification_channels] if args.key?(:monitoring_notification_channels)
370
381
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
371
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.25.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 = "20230624"
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.25.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-07-02 00:00:00.000000000 Z
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.25.0
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.2
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