google-cloud-billing-budgets-v1beta1 0.1.0 → 0.2.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: 63eeef2e2f9b198587ca684920224fed03884db141982a3ab9932bd4b7e7626e
4
- data.tar.gz: 9aabe5a29e721716365cc55ee829fb616624cacb37c6210a28b426c1099d7342
3
+ metadata.gz: 5108f1d063d42c2c6c68f33ef7338ec91c6630195457e4d7ff1f06ff3510d3af
4
+ data.tar.gz: 4ee063c279061ae38c5104d89af67b8130de991270a82cff904875acd3aa0ebd
5
5
  SHA512:
6
- metadata.gz: b2ff224ead15d6845ea67a86933c1497266e2df9620ec9e466b194474a7486b7d3d27de5decd72e958f2a1f040ec2127b888770d98d9ee21f12f0b6f94d469a9
7
- data.tar.gz: e9301e9246b48678b6319892ba3305cd015d5e8a0bddc8bd16d39016232c0c9328d78053bef2e81b12668c05a0879c74d90ff35d2969c965a8aa4d119d4cdf44
6
+ metadata.gz: 3b2b28e4ff3696a6a220a58943f9f67dda6a37822cbf6c42932a78aa884e7af8e32b47c3db3a15f774e0cfd5a12f99579e1e2503d533ac5a3a39b5fdf3d88aba
7
+ data.tar.gz: 79977811f31352a1f8f10cc0b5fd9a9c2b51b67cf018dce17ea672c33fef9276bc23d30c61ecc8ba0610b108793b70664d6d2f11b55d22420aee1d80a30a280d
@@ -39,6 +39,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
39
39
  optional :pubsub_topic, :string, 1
40
40
  optional :schema_version, :string, 2
41
41
  repeated :monitoring_notification_channels, :string, 3
42
+ optional :disable_default_iam_recipients, :bool, 4
42
43
  end
43
44
  add_message "google.cloud.billing.budgets.v1beta1.Filter" do
44
45
  repeated :projects, :string, 1
@@ -27,6 +27,7 @@ module Google
27
27
  # Credentials for the BudgetService API.
28
28
  class Credentials < ::Google::Auth::Credentials
29
29
  self.scope = [
30
+ "https://www.googleapis.com/auth/cloud-billing",
30
31
  "https://www.googleapis.com/auth/cloud-platform"
31
32
  ]
32
33
  self.env_vars = [
@@ -22,7 +22,7 @@ module Google
22
22
  module Billing
23
23
  module Budgets
24
24
  module V1beta1
25
- VERSION = "0.1.0"
25
+ VERSION = "0.2.0"
26
26
  end
27
27
  end
28
28
  end
@@ -124,8 +124,8 @@ module Google
124
124
  # and thresholds.
125
125
  # @!attribute [rw] pubsub_topic
126
126
  # @return [::String]
127
- # Required. The name of the Cloud Pub/Sub topic where budget related messages
128
- # will be published, in the form `projects/{project_id}/topics/{topic_id}`.
127
+ # Optional. The name of the Pub/Sub topic where budget related messages will
128
+ # be published, in the form `projects/{project_id}/topics/{topic_id}`.
129
129
  # Updates are sent at regular intervals to the topic. The topic needs to be
130
130
  # created before the budget is created; see
131
131
  # https://cloud.google.com/billing/docs/how-to/budgets#manage-notifications
@@ -133,21 +133,28 @@ module Google
133
133
  # Caller is expected to have
134
134
  # `pubsub.topics.setIamPolicy` permission on the topic when it's set for a
135
135
  # budget, otherwise, the API call will fail with PERMISSION_DENIED. See
136
- # https://cloud.google.com/pubsub/docs/access-control for more details on
137
- # Pub/Sub roles and permissions.
136
+ # https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
137
+ # for more details on Pub/Sub roles and permissions.
138
138
  # @!attribute [rw] schema_version
139
139
  # @return [::String]
140
- # Required. The schema version of the notification sent to `pubsub_topic`.
140
+ # Optional. The schema version of the notification sent to `pubsub_topic`.
141
141
  # Only "1.0" is accepted. It represents the JSON schema as defined in
142
- # https://cloud.google.com/billing/docs/how-to/budgets#notification_format
142
+ # https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format
143
143
  # @!attribute [rw] monitoring_notification_channels
144
144
  # @return [::Array<::String>]
145
145
  # Optional. Targets to send notifications to when a threshold is exceeded.
146
- # This is in addition to default recipients who have billing account roles.
147
- # The value is the full REST resource name of a monitoring notification
148
- # channel with the form
146
+ # This is in addition to default recipients who have billing account IAM
147
+ # roles. The value is the full REST resource name of a monitoring
148
+ # notification channel with the form
149
149
  # `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
150
- # channels are allowed.
150
+ # channels are allowed. See
151
+ # https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
152
+ # for more details.
153
+ # @!attribute [rw] disable_default_iam_recipients
154
+ # @return [::Boolean]
155
+ # Optional. When set to true, disables default notifications sent when a
156
+ # threshold is exceeded. Recipients are those with Billing Account
157
+ # Administrators and Billing Account Users IAM roles for the target account.
151
158
  class AllUpdatesRule
152
159
  include ::Google::Protobuf::MessageExts
153
160
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -176,10 +183,10 @@ module Google
176
183
  # @return [::Array<::String>]
177
184
  # Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
178
185
  # specifying that usage from only this set of subaccounts should be included
179
- # in the budget. If a subaccount is set to the name of the reseller account,
180
- # usage from the reseller account will be included. If omitted, the report
181
- # will include usage from the reseller account and all subaccounts, if they
182
- # exist.
186
+ # in the budget. If a subaccount is set to the name of the parent account,
187
+ # usage from the parent account will be included. If omitted, the
188
+ # report will include usage from the parent account and all
189
+ # subaccounts, if they exist.
183
190
  # @!attribute [rw] labels
184
191
  # @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::ListValue}]
185
192
  # Optional. A single label and value pair specifying that usage from only
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-billing-budgets-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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: 2020-09-10 00:00:00.000000000 Z
11
+ date: 2020-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  - !ruby/object:Gem::Version
200
200
  version: '0'
201
201
  requirements: []
202
- rubygems_version: 3.1.3
202
+ rubygems_version: 3.1.4
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: API Client library for the Billing Budgets V1beta1 API