google-apis-billingbudgets_v1 0.9.0 → 0.10.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: 04e74543f3f2cc51aa2235756c7b58e05c0719c76d7b37867b061a878dbc5d35
|
4
|
+
data.tar.gz: 62e5f9899c16e71048e4fa46d3151172ea388bd009c047b55337888f400f0c4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8beb3fdff564ed27bf773d654fe5fef80ac4db9c9b0266c19731ea50bf041bdc94ea53307c27160a5f9595dab344be8d1dded5e04573472969369e9f7f47c14f
|
7
|
+
data.tar.gz: 7ee9e181dbf22da11f59f6c1b35e4dc6fa51453e9c2d78dada4829b02f4cabba802285cf039522347c2ce3ca1c2d3aed64bfed782c4707a21ea408a748b5be85
|
data/CHANGELOG.md
CHANGED
@@ -47,7 +47,7 @@ module Google
|
|
47
47
|
attr_accessor :display_name
|
48
48
|
|
49
49
|
# Optional. Etag to validate that the object is unchanged for a read-modify-
|
50
|
-
# write operation. An empty etag
|
50
|
+
# write operation. An empty etag causes an update to overwrite other changes.
|
51
51
|
# Corresponds to the JSON property `etag`
|
52
52
|
# @return [String]
|
53
53
|
attr_accessor :etag
|
@@ -94,10 +94,8 @@ module Google
|
|
94
94
|
|
95
95
|
# Describes a budget amount targeted to the last Filter.calendar_period spend.
|
96
96
|
# At this time, the amount is automatically 100% of the last calendar period's
|
97
|
-
# spend; that is, there are no other options yet.
|
98
|
-
#
|
99
|
-
# spend). LastPeriodAmount cannot be set for a budget configured with a Filter.
|
100
|
-
# custom_period.
|
97
|
+
# spend; that is, there are no other options yet. LastPeriodAmount cannot be set
|
98
|
+
# for a budget configured with a Filter.custom_period.
|
101
99
|
# Corresponds to the JSON property `lastPeriodAmount`
|
102
100
|
# @return [Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1LastPeriodAmount]
|
103
101
|
attr_accessor :last_period_amount
|
@@ -162,10 +160,10 @@ module Google
|
|
162
160
|
include Google::Apis::Core::Hashable
|
163
161
|
|
164
162
|
# Optional. Specifies to track usage for recurring calendar period. For example,
|
165
|
-
# assume that CalendarPeriod.QUARTER is set. The budget
|
166
|
-
#
|
167
|
-
#
|
168
|
-
#
|
163
|
+
# assume that CalendarPeriod.QUARTER is set. The budget tracks usage from April
|
164
|
+
# 1 to June 30, when the current calendar month is April, May, June. After that,
|
165
|
+
# it tracks usage from July 1 to September 30 when the current calendar month is
|
166
|
+
# July, August, September, so on.
|
169
167
|
# Corresponds to the JSON property `calendarPeriod`
|
170
168
|
# @return [String]
|
171
169
|
attr_accessor :calendar_period
|
@@ -191,27 +189,28 @@ module Google
|
|
191
189
|
attr_accessor :custom_period
|
192
190
|
|
193
191
|
# Optional. A single label and value pair specifying that usage from only this
|
194
|
-
# set of labeled resources should be included in the budget.
|
195
|
-
#
|
196
|
-
#
|
192
|
+
# set of labeled resources should be included in the budget. If omitted, the
|
193
|
+
# report includes all labeled and unlabeled usage. An object containing a single
|
194
|
+
# `"key": value` pair. Example: `` "name": "wrench" ``. _Currently, multiple
|
195
|
+
# entries or multiple values per entry are not allowed._
|
197
196
|
# Corresponds to the JSON property `labels`
|
198
197
|
# @return [Hash<String,Array<Object>>]
|
199
198
|
attr_accessor :labels
|
200
199
|
|
201
200
|
# Optional. A set of projects of the form `projects/`project``, specifying that
|
202
201
|
# usage from only this set of projects should be included in the budget. If
|
203
|
-
# omitted, the report
|
204
|
-
#
|
205
|
-
#
|
202
|
+
# omitted, the report includes all usage for the billing account, regardless of
|
203
|
+
# which project the usage occurred on. Only zero or one project can be specified
|
204
|
+
# currently.
|
206
205
|
# Corresponds to the JSON property `projects`
|
207
206
|
# @return [Array<String>]
|
208
207
|
attr_accessor :projects
|
209
208
|
|
210
209
|
# Optional. A set of services of the form `services/`service_id``, specifying
|
211
210
|
# that usage from only this set of services should be included in the budget. If
|
212
|
-
# omitted, the report
|
213
|
-
#
|
214
|
-
#
|
211
|
+
# omitted, the report includes usage for all the services. The service names are
|
212
|
+
# available through the Catalog API: https://cloud.google.com/billing/v1/how-tos/
|
213
|
+
# catalog-api.
|
215
214
|
# Corresponds to the JSON property `services`
|
216
215
|
# @return [Array<String>]
|
217
216
|
attr_accessor :services
|
@@ -219,8 +218,8 @@ module Google
|
|
219
218
|
# Optional. A set of subaccounts of the form `billingAccounts/`account_id``,
|
220
219
|
# specifying that usage from only this set of subaccounts should be included in
|
221
220
|
# the budget. If a subaccount is set to the name of the parent account, usage
|
222
|
-
# from the parent account
|
223
|
-
#
|
221
|
+
# from the parent account is included. If the field is omitted, the report
|
222
|
+
# includes usage from the parent account and all subaccounts, if they exist.
|
224
223
|
# Corresponds to the JSON property `subaccounts`
|
225
224
|
# @return [Array<String>]
|
226
225
|
attr_accessor :subaccounts
|
@@ -244,10 +243,8 @@ module Google
|
|
244
243
|
|
245
244
|
# Describes a budget amount targeted to the last Filter.calendar_period spend.
|
246
245
|
# At this time, the amount is automatically 100% of the last calendar period's
|
247
|
-
# spend; that is, there are no other options yet.
|
248
|
-
#
|
249
|
-
# spend). LastPeriodAmount cannot be set for a budget configured with a Filter.
|
250
|
-
# custom_period.
|
246
|
+
# spend; that is, there are no other options yet. LastPeriodAmount cannot be set
|
247
|
+
# for a budget configured with a Filter.custom_period.
|
251
248
|
class GoogleCloudBillingBudgetsV1LastPeriodAmount
|
252
249
|
include Google::Apis::Core::Hashable
|
253
250
|
|
@@ -300,25 +297,46 @@ module Google
|
|
300
297
|
attr_accessor :disable_default_iam_recipients
|
301
298
|
alias_method :disable_default_iam_recipients?, :disable_default_iam_recipients
|
302
299
|
|
303
|
-
# Optional.
|
304
|
-
# is in addition to
|
305
|
-
#
|
306
|
-
# the form `projects/`
|
307
|
-
#
|
308
|
-
#
|
300
|
+
# Optional. Email targets to send notifications to when a threshold is exceeded.
|
301
|
+
# This is in addition to the `DefaultIamRecipients` who receive alert emails
|
302
|
+
# based on their billing account IAM role. The value is the full REST resource
|
303
|
+
# name of a Cloud Monitoring email notification channel with the form `projects/`
|
304
|
+
# project_id`/notificationChannels/`channel_id``. A maximum of 5 email
|
305
|
+
# notifications are allowed. To customize budget alert email recipients with
|
306
|
+
# monitoring notification channels, you _must create the monitoring notification
|
307
|
+
# channels before you link them to a budget_. For guidance on setting up
|
308
|
+
# notification channels to use with budgets, see [Customize budget alert email
|
309
|
+
# recipients](https://cloud.google.com/billing/docs/how-to/budgets-notification-
|
310
|
+
# recipients). For Cloud Billing budget alerts, you _must use email notification
|
311
|
+
# channels_. The other types of notification channels are _not_ supported, such
|
312
|
+
# as Slack, SMS, or PagerDuty. If you want to [send budget notifications to
|
313
|
+
# Slack](https://cloud.google.com/billing/docs/how-to/notify#
|
314
|
+
# send_notifications_to_slack), use a pubsubTopic and configure [programmatic
|
315
|
+
# notifications](https://cloud.google.com/billing/docs/how-to/budgets-
|
316
|
+
# programmatic-notifications).
|
309
317
|
# Corresponds to the JSON property `monitoringNotificationChannels`
|
310
318
|
# @return [Array<String>]
|
311
319
|
attr_accessor :monitoring_notification_channels
|
312
320
|
|
313
|
-
# Optional. The name of the Pub/Sub topic where budget
|
321
|
+
# Optional. The name of the Pub/Sub topic where budget-related messages are
|
314
322
|
# published, in the form `projects/`project_id`/topics/`topic_id``. Updates are
|
315
|
-
# sent at regular intervals
|
316
|
-
# the
|
317
|
-
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
321
|
-
#
|
323
|
+
# sent to the topic at regular intervals; the timing of the updates is not
|
324
|
+
# dependent on the [threshold rules](#thresholdrule) you've set. Note that if
|
325
|
+
# you want your [Pub/Sub JSON object](https://cloud.google.com/billing/docs/how-
|
326
|
+
# to/budgets-programmatic-notifications#notification_format) to contain data for
|
327
|
+
# `alertThresholdExceeded`, you need at least one [alert threshold rule](#
|
328
|
+
# thresholdrule). When you set threshold rules, you must also enable at least
|
329
|
+
# one of the email notification options, either using the default IAM recipients
|
330
|
+
# or Cloud Monitoring email notification channels. To use Pub/Sub topics with
|
331
|
+
# budgets, you must do the following: 1. Create the Pub/Sub topic before
|
332
|
+
# connecting it to your budget. For guidance, see [Manage programmatic budget
|
333
|
+
# alert notifications](https://cloud.google.com/billing/docs/how-to/budgets-
|
334
|
+
# programmatic-notifications). 2. Grant the API caller the `pubsub.topics.
|
335
|
+
# setIamPolicy` permission on the Pub/Sub topic. If not set, the API call fails
|
336
|
+
# with PERMISSION_DENIED. For additional details on Pub/Sub roles and
|
337
|
+
# permissions, see [Permissions required for this task](https://cloud.google.com/
|
338
|
+
# billing/docs/how-to/budgets-programmatic-notifications#
|
339
|
+
# permissions_required_for_this_task).
|
322
340
|
# Corresponds to the JSON property `pubsubTopic`
|
323
341
|
# @return [String]
|
324
342
|
attr_accessor :pubsub_topic
|
@@ -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.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210813"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
# View and manage your Google Cloud Platform billing accounts
|
34
34
|
AUTH_CLOUD_BILLING = 'https://www.googleapis.com/auth/cloud-billing'
|
35
35
|
|
36
|
-
# See, edit, configure, and delete your Google Cloud
|
36
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
37
37
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
38
38
|
end
|
39
39
|
end
|
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.10.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: 2021-
|
11
|
+
date: 2021-09-06 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/master/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.10.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-billingbudgets_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|