google-apis-billingbudgets_v1beta1 0.3.0 → 0.8.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: 6e907de533828f360d4f408a6637bd93b5f34d9c0dbe9945ba688cdf2e19e727
|
4
|
+
data.tar.gz: a2ff499b478f09b654ad22f7e367ece0b29dff824c3b87e49c4d04c04295b6f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b82db330dccfb57ea3630a95cf4ceeda4584b36616e44b2a4b0b3153b2b9c4c7864c76bd957848465a0fea98bb7b826c648c4a6f43c8692b29755b008a9c512
|
7
|
+
data.tar.gz: 41047a0c1336fb9c54bbaf8da028f0e66a37d90bf1b4ff2edff31ad9bf1806fab44527a91feca9fc6084e18c7489df031479afacd35f4d85c642d8303b0a665d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-billingbudgets_v1beta1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210621
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.7.0 (2021-05-19)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.6.0 (2021-04-16)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210412
|
15
|
+
|
16
|
+
### v0.5.0 (2021-03-25)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210319
|
19
|
+
* Regenerated using generator version 0.2.0
|
20
|
+
|
21
|
+
### v0.4.0 (2021-03-04)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210220
|
24
|
+
|
3
25
|
### v0.3.0 (2021-02-17)
|
4
26
|
|
5
27
|
* Regenerated from discovery document revision 20210213
|
@@ -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
|
-
#
|
36
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
37
37
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
38
38
|
end
|
39
39
|
end
|
@@ -124,7 +124,8 @@ module Google
|
|
124
124
|
attr_accessor :name
|
125
125
|
|
126
126
|
# Optional. Rules that trigger alerts (notifications of thresholds being crossed)
|
127
|
-
# when spend exceeds the specified percentages of the budget.
|
127
|
+
# when spend exceeds the specified percentages of the budget. Optional for `
|
128
|
+
# pubsubTopic` notifications. Required if using email notifications.
|
128
129
|
# Corresponds to the JSON property `thresholdRules`
|
129
130
|
# @return [Array<Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1ThresholdRule>]
|
130
131
|
attr_accessor :threshold_rules
|
@@ -149,10 +150,12 @@ module Google
|
|
149
150
|
class GoogleCloudBillingBudgetsV1beta1BudgetAmount
|
150
151
|
include Google::Apis::Core::Hashable
|
151
152
|
|
152
|
-
# Describes a budget amount targeted to last
|
153
|
-
# amount is automatically 100% of last period's
|
154
|
-
# other options yet. Future configuration
|
155
|
-
# configuring a percentage of last period's
|
153
|
+
# Describes a budget amount targeted to the last Filter.calendar_period spend.
|
154
|
+
# At this time, the amount is automatically 100% of the last calendar period's
|
155
|
+
# spend; that is, there are no other options yet. Future configuration options
|
156
|
+
# will be described here (for example, configuring a percentage of last period's
|
157
|
+
# spend). LastPeriodAmount cannot be set for a budget configured with a Filter.
|
158
|
+
# custom_period.
|
156
159
|
# Corresponds to the JSON property `lastPeriodAmount`
|
157
160
|
# @return [Google::Apis::BillingbudgetsV1beta1::GoogleCloudBillingBudgetsV1beta1LastPeriodAmount]
|
158
161
|
attr_accessor :last_period_amount
|
@@ -239,21 +242,21 @@ module Google
|
|
239
242
|
class GoogleCloudBillingBudgetsV1beta1Filter
|
240
243
|
include Google::Apis::Core::Hashable
|
241
244
|
|
242
|
-
# Optional. Specifies to track usage for recurring calendar period.
|
243
|
-
# that CalendarPeriod.QUARTER is set. The budget will track usage from
|
244
|
-
# to June 30, when current calendar month is April, May, June. After
|
245
|
-
# will track usage from July 1 to September 30 when current
|
246
|
-
# July, August, September,
|
245
|
+
# Optional. Specifies to track usage for recurring calendar period. For example,
|
246
|
+
# assume that CalendarPeriod.QUARTER is set. The budget will track usage from
|
247
|
+
# April 1 to June 30, when the current calendar month is April, May, June. After
|
248
|
+
# that, it will track usage from July 1 to September 30 when the current
|
249
|
+
# calendar month is July, August, September, so on.
|
247
250
|
# Corresponds to the JSON property `calendarPeriod`
|
248
251
|
# @return [String]
|
249
252
|
attr_accessor :calendar_period
|
250
253
|
|
251
254
|
# Optional. If Filter.credit_types_treatment is INCLUDE_SPECIFIED_CREDITS, this
|
252
255
|
# is a list of credit types to be subtracted from gross cost to determine the
|
253
|
-
# spend for threshold calculations.
|
254
|
-
#
|
255
|
-
#
|
256
|
-
#
|
256
|
+
# spend for threshold calculations. See [a list of acceptable credit type values]
|
257
|
+
# (https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#
|
258
|
+
# credits-type). If Filter.credit_types_treatment is **not**
|
259
|
+
# INCLUDE_SPECIFIED_CREDITS, this field must be empty.
|
257
260
|
# Corresponds to the JSON property `creditTypes`
|
258
261
|
# @return [Array<String>]
|
259
262
|
attr_accessor :credit_types
|
@@ -320,10 +323,12 @@ module Google
|
|
320
323
|
end
|
321
324
|
end
|
322
325
|
|
323
|
-
# Describes a budget amount targeted to last
|
324
|
-
# amount is automatically 100% of last period's
|
325
|
-
# other options yet. Future configuration
|
326
|
-
# configuring a percentage of last period's
|
326
|
+
# Describes a budget amount targeted to the last Filter.calendar_period spend.
|
327
|
+
# At this time, the amount is automatically 100% of the last calendar period's
|
328
|
+
# spend; that is, there are no other options yet. Future configuration options
|
329
|
+
# will be described here (for example, configuring a percentage of last period's
|
330
|
+
# spend). LastPeriodAmount cannot be set for a budget configured with a Filter.
|
331
|
+
# custom_period.
|
327
332
|
class GoogleCloudBillingBudgetsV1beta1LastPeriodAmount
|
328
333
|
include Google::Apis::Core::Hashable
|
329
334
|
|
@@ -362,12 +367,19 @@ module Google
|
|
362
367
|
end
|
363
368
|
end
|
364
369
|
|
365
|
-
# ThresholdRule contains
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
370
|
+
# ThresholdRule contains the definition of a threshold. Threshold rules define
|
371
|
+
# the triggering events used to generate a budget notification email. When a
|
372
|
+
# threshold is crossed (spend exceeds the specified percentages of the budget),
|
373
|
+
# budget alert emails are sent to the email recipients you specify in the [
|
374
|
+
# NotificationsRule](#notificationsrule). Threshold rules also affect the fields
|
375
|
+
# included in the [JSON data object](https://cloud.google.com/billing/docs/how-
|
376
|
+
# to/budgets-programmatic-notifications#notification_format) sent to a Pub/Sub
|
377
|
+
# topic. Threshold rules are _required_ if using email notifications. Threshold
|
378
|
+
# rules are _optional_ if only setting a [`pubsubTopic` NotificationsRule](#
|
379
|
+
# NotificationsRule), unless you want your JSON data object to include data
|
380
|
+
# about the thresholds you set. For more information, see [set budget threshold
|
381
|
+
# rules and actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-
|
382
|
+
# actions).
|
371
383
|
class GoogleCloudBillingBudgetsV1beta1ThresholdRule
|
372
384
|
include Google::Apis::Core::Hashable
|
373
385
|
|
@@ -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.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210621"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.8.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-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Cloud Billing Budget API V1beta1.
|
28
34
|
Simple REST clients are Ruby client libraries that provide access to Google services
|
29
35
|
via their HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-billingbudgets_v1beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-billingbudgets_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-billingbudgets_v1beta1/v0.8.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-billingbudgets_v1beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -62,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
68
|
requirements:
|
63
69
|
- - ">="
|
64
70
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
71
|
+
version: '2.5'
|
66
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
73
|
requirements:
|
68
74
|
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for Cloud Billing Budget API V1beta1
|