proto_docs/google/cloud/billing/budgets/v1beta1/budget_model.rb in google-cloud-billing-budgets-v1beta1-0.4.0 vs proto_docs/google/cloud/billing/budgets/v1beta1/budget_model.rb in google-cloud-billing-budgets-v1beta1-0.4.1
- old
+ new
@@ -63,13 +63,14 @@
# The budgeted amount for each usage period.
# @!attribute [rw] specified_amount
# @return [::Google::Type::Money]
# A specified amount to use as the budget.
- # `currency_code` is optional. If specified, it must match the
- # currency of the billing account. The `currency_code` is provided on
- # output.
+ # `currency_code` is optional. If specified when creating a budget, it must
+ # match the currency of the billing account. If specified when updating a
+ # budget, it must match the existing budget currency_code.
+ # The `currency_code` is provided on output.
# @!attribute [rw] last_period_amount
# @return [::Google::Cloud::Billing::Budgets::V1beta1::LastPeriodAmount]
# Use the last period's actual spend as the budget for the present period.
class BudgetAmount
include ::Google::Protobuf::MessageExts
@@ -135,12 +136,15 @@
# budget, otherwise, the API call will fail with PERMISSION_DENIED. See
# https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
# for more details on Pub/Sub roles and permissions.
# @!attribute [rw] schema_version
# @return [::String]
- # Optional. The schema version of the notification sent to `pubsub_topic`.
+ # Optional. Required when
+ # {::Google::Cloud::Billing::Budgets::V1beta1::AllUpdatesRule#pubsub_topic AllUpdatesRule.pubsub_topic}
+ # is set. The schema version of the notification sent to
+ # {::Google::Cloud::Billing::Budgets::V1beta1::AllUpdatesRule#pubsub_topic AllUpdatesRule.pubsub_topic}.
# Only "1.0" is accepted. It represents the JSON schema as defined in
- # https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format
+ # https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format.
# @!attribute [rw] monitoring_notification_channels
# @return [::Array<::String>]
# Optional. Targets to send notifications to when a threshold is exceeded.
# This is in addition to default recipients who have billing account IAM
# roles. The value is the full REST resource name of a monitoring