google-apis-billingbudgets_v1 0.8.0 → 0.12.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: 27f6a7121ce8801cb1f94dffadeadfcc747c2cc68f1a6eef93928f10afa59c10
4
- data.tar.gz: 7b55a4a6b1a4a312363b3573202c4f303a597bb48a977d1b222fe6ca9774a2e3
3
+ metadata.gz: d56fe84917e91d0aed6fea0372b84af7407a174a9fcbbb3de7623629fb522d4d
4
+ data.tar.gz: c49f73a92d54680f45450349e09510feec20b14c9943636fbe5a04fbd2ccffc5
5
5
  SHA512:
6
- metadata.gz: 663ee8ed47a86d13f999c4a177cd3c6b64afb8fb58d9588e80087d92e6931c2fee90d6a89a4ce981761102ed74b8171b2e4f383892e72ff14e6d1ddc835dc1f1
7
- data.tar.gz: d7f013ad0bdf58d6437baaa963dc6a4976e9a6c89e3877e2efa504742543eaac9bbc3a31d49b328444f31c5522f351a130e5b5d39f7c2addda96ee1cac605aab
6
+ metadata.gz: f39071462f66ac9869ed3b04215ca9423469a35947e63201d7e7673a3f0ecc31b206936a4f39448c4b67e0b862956f7ab6e5bc594983ce0551fae07b3d67b0fd
7
+ data.tar.gz: d03dc74bd44dc722de1fda5c272da53fd7d4629af60dc5954579b78e9d96c16d1e5f2c5aba1d8fc9e68ccd7e08e859a4c15d3a6bafbb149f67474f2a69a8b8ae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-billingbudgets_v1
2
2
 
3
+ ### v0.12.0 (2021-12-14)
4
+
5
+ * Unspecified changes
6
+
7
+ ### v0.11.0 (2021-10-20)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.10.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210813
14
+
15
+ ### v0.9.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.8.0 (2021-06-24)
4
20
 
5
21
  * Regenerated from discovery document revision 20210621
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/billingbudgets_v1"
51
51
  client = Google::Apis::BillingbudgetsV1::CloudBillingBudgetService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Billingbudgets service in particular.)
67
67
 
@@ -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 will cause an update to overwrite other changes.
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. Future configuration options
98
- # will be described here (for example, configuring a percentage of last period's
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 will track usage from
166
- # April 1 to June 30, when the current calendar month is April, May, June. After
167
- # that, it will track usage from July 1 to September 30 when the current
168
- # calendar month is July, August, September, so on.
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. Currently, multiple
195
- # entries or multiple values per entry are not allowed. If omitted, the report
196
- # will include all labeled and unlabeled usage.
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 will include all usage for the billing account, regardless
204
- # of which project the usage occurred on. Only zero or one project can be
205
- # specified currently.
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 will include usage for all the services. The service names
213
- # are available through the Catalog API: https://cloud.google.com/billing/v1/how-
214
- # tos/catalog-api.
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 will be included. If the field is omitted, the report
223
- # will include usage from the parent account and all subaccounts, if they exist.
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. Future configuration options
248
- # will be described here (for example, configuring a percentage of last period's
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. Targets to send notifications to when a threshold is exceeded. This
304
- # is in addition to default recipients who have billing account IAM roles. The
305
- # value is the full REST resource name of a monitoring notification channel with
306
- # the form `projects/`project_id`/notificationChannels/`channel_id``. A maximum
307
- # of 5 channels are allowed. See https://cloud.google.com/billing/docs/how-to/
308
- # budgets-notification-recipients for more details.
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 related messages will be
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 to the topic. The topic needs to be created before
316
- # the budget is created; see https://cloud.google.com/billing/docs/how-to/
317
- # budgets#manage-notifications for more details. Caller is expected to have `
318
- # pubsub.topics.setIamPolicy` permission on the topic when it's set for a budget,
319
- # otherwise, the API call will fail with PERMISSION_DENIED. See https://cloud.
320
- # google.com/billing/docs/how-to/budgets-programmatic-notifications for more
321
- # details on Pub/Sub roles and permissions.
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.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210621"
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 Platform data
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.8.0
4
+ version: 0.12.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-06-28 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
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.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-billingbudgets_v1
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.12.0
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: []
65
65
  require_paths:
@@ -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.2.17
78
+ rubygems_version: 3.3.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Billing Budget API V1