From 008f5321d26aba1ae5a01ef3dfe5ef4051f9e2d0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 11 Feb 2022 22:44:39 +0000 Subject: [PATCH] docs: Formatting change from HTML to markdown; Additional clarifications (#666) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 427761663 Source-Link: https://github.com/googleapis/googleapis/commit/46c5d659418fa6a8c64792bf132e4d147522109c Source-Link: https://github.com/googleapis/googleapis-gen/commit/f86bdde29db53037289ac2daa2047779d891d34e Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjg2YmRkZTI5ZGI1MzAzNzI4OWFjMmRhYTIwNDc3NzlkODkxZDM0ZSJ9 --- .../budgets/v1beta1/BudgetServiceClient.java | 8 +- .../budgets/v1beta1/BudgetServiceGrpc.java | 8 +- .../budgets/v1beta1/AllUpdatesRule.java | 244 +++++----- .../v1beta1/AllUpdatesRuleOrBuilder.java | 71 ++- .../cloud/billing/budgets/v1beta1/Budget.java | 154 ++++--- .../billing/budgets/v1beta1/BudgetAmount.java | 36 +- .../v1beta1/BudgetAmountOrBuilder.java | 9 +- .../budgets/v1beta1/BudgetOrBuilder.java | 37 +- .../budgets/v1beta1/CalendarPeriod.java | 22 +- .../billing/budgets/v1beta1/CustomPeriod.java | 72 +-- .../v1beta1/CustomPeriodOrBuilder.java | 18 +- .../cloud/billing/budgets/v1beta1/Filter.java | 429 +++++++++--------- .../budgets/v1beta1/FilterOrBuilder.java | 147 +++--- .../budgets/v1beta1/LastPeriodAmount.java | 12 +- .../budgets/v1beta1/ThresholdRule.java | 56 ++- .../budgets/v1beta1/budget_model.proto | 157 ++++--- .../budgets/v1beta1/budget_service.proto | 7 +- 17 files changed, 775 insertions(+), 712 deletions(-) diff --git a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClient.java b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClient.java index fe018850..02bd1c01 100644 --- a/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClient.java +++ b/google-cloud-billingbudgets/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceClient.java @@ -155,8 +155,8 @@ public BudgetServiceStub getStub() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a new budget. See <a href="https://cloud.google.com/billing/quotas">Quotas and - * limits</a> for more information on the limits of the number of budgets you can create. + * Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more + * information on the limits of the number of budgets you can create. * *

Sample code: * @@ -180,8 +180,8 @@ public final Budget createBudget(CreateBudgetRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a new budget. See <a href="https://cloud.google.com/billing/quotas">Quotas and - * limits</a> for more information on the limits of the number of budgets you can create. + * Creates a new budget. See [Quotas and limits](https://cloud.google.com/billing/quotas) for more + * information on the limits of the number of budgets you can create. * *

Sample code: * diff --git a/grpc-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceGrpc.java b/grpc-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceGrpc.java index 25a5b1c0..09d6b6fa 100644 --- a/grpc-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceGrpc.java +++ b/grpc-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetServiceGrpc.java @@ -318,7 +318,7 @@ public abstract static class BudgetServiceImplBase implements io.grpc.BindableSe * *

      * Creates a new budget. See
-     * <a href="https://cloud.google.com/billing/quotas">Quotas and limits</a>
+     * [Quotas and limits](https://cloud.google.com/billing/quotas)
      * for more information on the limits of the number of budgets you can create.
      * 
*/ @@ -463,7 +463,7 @@ protected BudgetServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions c * *
      * Creates a new budget. See
-     * <a href="https://cloud.google.com/billing/quotas">Quotas and limits</a>
+     * [Quotas and limits](https://cloud.google.com/billing/quotas)
      * for more information on the limits of the number of budgets you can create.
      * 
*/ @@ -579,7 +579,7 @@ protected BudgetServiceBlockingStub build( * *
      * Creates a new budget. See
-     * <a href="https://cloud.google.com/billing/quotas">Quotas and limits</a>
+     * [Quotas and limits](https://cloud.google.com/billing/quotas)
      * for more information on the limits of the number of budgets you can create.
      * 
*/ @@ -678,7 +678,7 @@ protected BudgetServiceFutureStub build( * *
      * Creates a new budget. See
-     * <a href="https://cloud.google.com/billing/quotas">Quotas and limits</a>
+     * [Quotas and limits](https://cloud.google.com/billing/quotas)
      * for more information on the limits of the number of budgets you can create.
      * 
*/ diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRule.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRule.java index 7498793e..7d57214a 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRule.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRule.java @@ -146,10 +146,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Optional. The name of the Pub/Sub topic where budget related messages will
-   * be published, in the form `projects/{project_id}/topics/{topic_id}`.
-   * Updates are sent at regular intervals to the topic. The topic needs to be
-   * created before the budget is created; see
+   * Optional. The name of the Pub/Sub topic where budget related messages will be
+   * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+   * are sent at regular intervals to the topic.
+   * The topic needs to be created before the budget is created; see
    * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
    * for more details.
    * Caller is expected to have
@@ -179,10 +179,10 @@ public java.lang.String getPubsubTopic() {
    *
    *
    * 
-   * Optional. The name of the Pub/Sub topic where budget related messages will
-   * be published, in the form `projects/{project_id}/topics/{topic_id}`.
-   * Updates are sent at regular intervals to the topic. The topic needs to be
-   * created before the budget is created; see
+   * Optional. The name of the Pub/Sub topic where budget related messages will be
+   * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+   * are sent at regular intervals to the topic.
+   * The topic needs to be created before the budget is created; see
    * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
    * for more details.
    * Caller is expected to have
@@ -215,11 +215,9 @@ public com.google.protobuf.ByteString getPubsubTopicBytes() {
    *
    *
    * 
-   * Optional. Required when
-   * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]
-   * is set. The schema version of the notification sent to
-   * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic].
-   * Only "1.0" is accepted. It represents the JSON schema as defined in
+   * Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of
+   * the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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.
    * 
* @@ -243,11 +241,9 @@ public java.lang.String getSchemaVersion() { * * *
-   * Optional. Required when
-   * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]
-   * is set. The schema version of the notification sent to
-   * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic].
-   * Only "1.0" is accepted. It represents the JSON schema as defined in
+   * Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of
+   * the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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.
    * 
* @@ -274,10 +270,10 @@ public com.google.protobuf.ByteString getSchemaVersionBytes() { * * *
-   * 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
-   * notification channel with the form
+   * 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 notification
+   * channel with the form
    * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
    * channels are allowed. See
    * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -297,10 +293,10 @@ public com.google.protobuf.ProtocolStringList getMonitoringNotificationChannelsL
    *
    *
    * 
-   * 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
-   * notification channel with the form
+   * 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 notification
+   * channel with the form
    * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
    * channels are allowed. See
    * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -320,10 +316,10 @@ public int getMonitoringNotificationChannelsCount() {
    *
    *
    * 
-   * 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
-   * notification channel with the form
+   * 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 notification
+   * channel with the form
    * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
    * channels are allowed. See
    * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -344,10 +340,10 @@ public java.lang.String getMonitoringNotificationChannels(int index) {
    *
    *
    * 
-   * 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
-   * notification channel with the form
+   * 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 notification
+   * channel with the form
    * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
    * channels are allowed. See
    * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -371,10 +367,9 @@ public com.google.protobuf.ByteString getMonitoringNotificationChannelsBytes(int
    *
    *
    * 
-   * Optional. When set to true, disables default notifications sent when a
-   * threshold is exceeded. Default notifications are sent to those with Billing
-   * Account Administrator and Billing Account User IAM roles for the target
-   * account.
+   * Optional. When set to true, disables default notifications sent when a threshold is
+   * exceeded. Default notifications are sent to those with Billing Account
+   * Administrator and Billing Account User IAM roles for the target account.
    * 
* * bool disable_default_iam_recipients = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -781,10 +776,10 @@ public Builder mergeFrom( * * *
-     * Optional. The name of the Pub/Sub topic where budget related messages will
-     * be published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic. The topic needs to be
-     * created before the budget is created; see
+     * Optional. The name of the Pub/Sub topic where budget related messages will be
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic.
+     * The topic needs to be created before the budget is created; see
      * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
      * for more details.
      * Caller is expected to have
@@ -813,10 +808,10 @@ public java.lang.String getPubsubTopic() {
      *
      *
      * 
-     * Optional. The name of the Pub/Sub topic where budget related messages will
-     * be published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic. The topic needs to be
-     * created before the budget is created; see
+     * Optional. The name of the Pub/Sub topic where budget related messages will be
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic.
+     * The topic needs to be created before the budget is created; see
      * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
      * for more details.
      * Caller is expected to have
@@ -845,10 +840,10 @@ public com.google.protobuf.ByteString getPubsubTopicBytes() {
      *
      *
      * 
-     * Optional. The name of the Pub/Sub topic where budget related messages will
-     * be published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic. The topic needs to be
-     * created before the budget is created; see
+     * Optional. The name of the Pub/Sub topic where budget related messages will be
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic.
+     * The topic needs to be created before the budget is created; see
      * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
      * for more details.
      * Caller is expected to have
@@ -876,10 +871,10 @@ public Builder setPubsubTopic(java.lang.String value) {
      *
      *
      * 
-     * Optional. The name of the Pub/Sub topic where budget related messages will
-     * be published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic. The topic needs to be
-     * created before the budget is created; see
+     * Optional. The name of the Pub/Sub topic where budget related messages will be
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic.
+     * The topic needs to be created before the budget is created; see
      * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
      * for more details.
      * Caller is expected to have
@@ -903,10 +898,10 @@ public Builder clearPubsubTopic() {
      *
      *
      * 
-     * Optional. The name of the Pub/Sub topic where budget related messages will
-     * be published, in the form `projects/{project_id}/topics/{topic_id}`.
-     * Updates are sent at regular intervals to the topic. The topic needs to be
-     * created before the budget is created; see
+     * Optional. The name of the Pub/Sub topic where budget related messages will be
+     * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+     * are sent at regular intervals to the topic.
+     * The topic needs to be created before the budget is created; see
      * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
      * for more details.
      * Caller is expected to have
@@ -937,11 +932,9 @@ public Builder setPubsubTopicBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Optional. Required when
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]
-     * is set. The schema version of the notification sent to
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic].
-     * Only "1.0" is accepted. It represents the JSON schema as defined in
+     * Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of
+     * the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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.
      * 
* @@ -964,11 +957,9 @@ public java.lang.String getSchemaVersion() { * * *
-     * Optional. Required when
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]
-     * is set. The schema version of the notification sent to
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic].
-     * Only "1.0" is accepted. It represents the JSON schema as defined in
+     * Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of
+     * the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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.
      * 
* @@ -991,11 +982,9 @@ public com.google.protobuf.ByteString getSchemaVersionBytes() { * * *
-     * Optional. Required when
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]
-     * is set. The schema version of the notification sent to
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic].
-     * Only "1.0" is accepted. It represents the JSON schema as defined in
+     * Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of
+     * the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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.
      * 
* @@ -1017,11 +1006,9 @@ public Builder setSchemaVersion(java.lang.String value) { * * *
-     * Optional. Required when
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]
-     * is set. The schema version of the notification sent to
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic].
-     * Only "1.0" is accepted. It represents the JSON schema as defined in
+     * Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of
+     * the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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.
      * 
* @@ -1039,11 +1026,9 @@ public Builder clearSchemaVersion() { * * *
-     * Optional. Required when
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]
-     * is set. The schema version of the notification sent to
-     * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic].
-     * Only "1.0" is accepted. It represents the JSON schema as defined in
+     * Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of
+     * the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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.
      * 
* @@ -1077,10 +1062,10 @@ private void ensureMonitoringNotificationChannelsIsMutable() { * * *
-     * 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
-     * notification channel with the form
+     * 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 notification
+     * channel with the form
      * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
      * channels are allowed. See
      * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -1100,10 +1085,10 @@ public com.google.protobuf.ProtocolStringList getMonitoringNotificationChannelsL
      *
      *
      * 
-     * 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
-     * notification channel with the form
+     * 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 notification
+     * channel with the form
      * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
      * channels are allowed. See
      * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -1123,10 +1108,10 @@ public int getMonitoringNotificationChannelsCount() {
      *
      *
      * 
-     * 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
-     * notification channel with the form
+     * 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 notification
+     * channel with the form
      * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
      * channels are allowed. See
      * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -1147,10 +1132,10 @@ public java.lang.String getMonitoringNotificationChannels(int index) {
      *
      *
      * 
-     * 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
-     * notification channel with the form
+     * 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 notification
+     * channel with the form
      * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
      * channels are allowed. See
      * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -1171,10 +1156,10 @@ public com.google.protobuf.ByteString getMonitoringNotificationChannelsBytes(int
      *
      *
      * 
-     * 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
-     * notification channel with the form
+     * 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 notification
+     * channel with the form
      * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
      * channels are allowed. See
      * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -1202,10 +1187,10 @@ public Builder setMonitoringNotificationChannels(int index, java.lang.String val
      *
      *
      * 
-     * 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
-     * notification channel with the form
+     * 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 notification
+     * channel with the form
      * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
      * channels are allowed. See
      * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -1232,10 +1217,10 @@ public Builder addMonitoringNotificationChannels(java.lang.String value) {
      *
      *
      * 
-     * 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
-     * notification channel with the form
+     * 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 notification
+     * channel with the form
      * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
      * channels are allowed. See
      * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -1261,10 +1246,10 @@ public Builder addAllMonitoringNotificationChannels(
      *
      *
      * 
-     * 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
-     * notification channel with the form
+     * 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 notification
+     * channel with the form
      * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
      * channels are allowed. See
      * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -1287,10 +1272,10 @@ public Builder clearMonitoringNotificationChannels() {
      *
      *
      * 
-     * 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
-     * notification channel with the form
+     * 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 notification
+     * channel with the form
      * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
      * channels are allowed. See
      * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -1320,10 +1305,9 @@ public Builder addMonitoringNotificationChannelsBytes(com.google.protobuf.ByteSt
      *
      *
      * 
-     * Optional. When set to true, disables default notifications sent when a
-     * threshold is exceeded. Default notifications are sent to those with Billing
-     * Account Administrator and Billing Account User IAM roles for the target
-     * account.
+     * Optional. When set to true, disables default notifications sent when a threshold is
+     * exceeded. Default notifications are sent to those with Billing Account
+     * Administrator and Billing Account User IAM roles for the target account.
      * 
* * bool disable_default_iam_recipients = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1339,10 +1323,9 @@ public boolean getDisableDefaultIamRecipients() { * * *
-     * Optional. When set to true, disables default notifications sent when a
-     * threshold is exceeded. Default notifications are sent to those with Billing
-     * Account Administrator and Billing Account User IAM roles for the target
-     * account.
+     * Optional. When set to true, disables default notifications sent when a threshold is
+     * exceeded. Default notifications are sent to those with Billing Account
+     * Administrator and Billing Account User IAM roles for the target account.
      * 
* * bool disable_default_iam_recipients = 4 [(.google.api.field_behavior) = OPTIONAL]; @@ -1361,10 +1344,9 @@ public Builder setDisableDefaultIamRecipients(boolean value) { * * *
-     * Optional. When set to true, disables default notifications sent when a
-     * threshold is exceeded. Default notifications are sent to those with Billing
-     * Account Administrator and Billing Account User IAM roles for the target
-     * account.
+     * Optional. When set to true, disables default notifications sent when a threshold is
+     * exceeded. Default notifications are sent to those with Billing Account
+     * Administrator and Billing Account User IAM roles for the target account.
      * 
* * bool disable_default_iam_recipients = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRuleOrBuilder.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRuleOrBuilder.java index 0e23f7d0..89309fc3 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRuleOrBuilder.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/AllUpdatesRuleOrBuilder.java @@ -27,10 +27,10 @@ public interface AllUpdatesRuleOrBuilder * * *
-   * Optional. The name of the Pub/Sub topic where budget related messages will
-   * be published, in the form `projects/{project_id}/topics/{topic_id}`.
-   * Updates are sent at regular intervals to the topic. The topic needs to be
-   * created before the budget is created; see
+   * Optional. The name of the Pub/Sub topic where budget related messages will be
+   * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+   * are sent at regular intervals to the topic.
+   * The topic needs to be created before the budget is created; see
    * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
    * for more details.
    * Caller is expected to have
@@ -49,10 +49,10 @@ public interface AllUpdatesRuleOrBuilder
    *
    *
    * 
-   * Optional. The name of the Pub/Sub topic where budget related messages will
-   * be published, in the form `projects/{project_id}/topics/{topic_id}`.
-   * Updates are sent at regular intervals to the topic. The topic needs to be
-   * created before the budget is created; see
+   * Optional. The name of the Pub/Sub topic where budget related messages will be
+   * published, in the form `projects/{project_id}/topics/{topic_id}`. Updates
+   * are sent at regular intervals to the topic.
+   * The topic needs to be created before the budget is created; see
    * https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications
    * for more details.
    * Caller is expected to have
@@ -72,11 +72,9 @@ public interface AllUpdatesRuleOrBuilder
    *
    *
    * 
-   * Optional. Required when
-   * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]
-   * is set. The schema version of the notification sent to
-   * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic].
-   * Only "1.0" is accepted. It represents the JSON schema as defined in
+   * Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of
+   * the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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.
    * 
* @@ -89,11 +87,9 @@ public interface AllUpdatesRuleOrBuilder * * *
-   * Optional. Required when
-   * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]
-   * is set. The schema version of the notification sent to
-   * [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic].
-   * Only "1.0" is accepted. It represents the JSON schema as defined in
+   * Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of
+   * the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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.
    * 
* @@ -107,10 +103,10 @@ public interface AllUpdatesRuleOrBuilder * * *
-   * 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
-   * notification channel with the form
+   * 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 notification
+   * channel with the form
    * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
    * channels are allowed. See
    * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -128,10 +124,10 @@ public interface AllUpdatesRuleOrBuilder
    *
    *
    * 
-   * 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
-   * notification channel with the form
+   * 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 notification
+   * channel with the form
    * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
    * channels are allowed. See
    * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -149,10 +145,10 @@ public interface AllUpdatesRuleOrBuilder
    *
    *
    * 
-   * 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
-   * notification channel with the form
+   * 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 notification
+   * channel with the form
    * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
    * channels are allowed. See
    * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -171,10 +167,10 @@ public interface AllUpdatesRuleOrBuilder
    *
    *
    * 
-   * 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
-   * notification channel with the form
+   * 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 notification
+   * channel with the form
    * `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5
    * channels are allowed. See
    * https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients
@@ -194,10 +190,9 @@ public interface AllUpdatesRuleOrBuilder
    *
    *
    * 
-   * Optional. When set to true, disables default notifications sent when a
-   * threshold is exceeded. Default notifications are sent to those with Billing
-   * Account Administrator and Billing Account User IAM roles for the target
-   * account.
+   * Optional. When set to true, disables default notifications sent when a threshold is
+   * exceeded. Default notifications are sent to those with Billing Account
+   * Administrator and Billing Account User IAM roles for the target account.
    * 
* * bool disable_default_iam_recipients = 4 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/Budget.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/Budget.java index c71f7f2f..42ce2b56 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/Budget.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/Budget.java @@ -310,9 +310,9 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { * * *
-   * Optional. Filters that define which resources are used to compute the
-   * actual spend against the budget amount, such as projects, services, and the
-   * budget's time period, as well as other filters.
+   * Optional. Filters that define which resources are used to compute the actual spend
+   * against the budget amount, such as projects, services, and the budget's
+   * time period, as well as other filters.
    * 
* * @@ -329,9 +329,9 @@ public boolean hasBudgetFilter() { * * *
-   * Optional. Filters that define which resources are used to compute the
-   * actual spend against the budget amount, such as projects, services, and the
-   * budget's time period, as well as other filters.
+   * Optional. Filters that define which resources are used to compute the actual spend
+   * against the budget amount, such as projects, services, and the budget's
+   * time period, as well as other filters.
    * 
* * @@ -350,9 +350,9 @@ public com.google.cloud.billing.budgets.v1beta1.Filter getBudgetFilter() { * * *
-   * Optional. Filters that define which resources are used to compute the
-   * actual spend against the budget amount, such as projects, services, and the
-   * budget's time period, as well as other filters.
+   * Optional. Filters that define which resources are used to compute the actual spend
+   * against the budget amount, such as projects, services, and the budget's
+   * time period, as well as other filters.
    * 
* * @@ -426,6 +426,8 @@ public com.google.cloud.billing.budgets.v1beta1.BudgetAmountOrBuilder getAmountO *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -443,6 +445,8 @@ public com.google.cloud.billing.budgets.v1beta1.BudgetAmountOrBuilder getAmountO *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -460,6 +464,8 @@ public com.google.cloud.billing.budgets.v1beta1.BudgetAmountOrBuilder getAmountO *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -476,6 +482,8 @@ public int getThresholdRulesCount() { *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -492,6 +500,8 @@ public com.google.cloud.billing.budgets.v1beta1.ThresholdRule getThresholdRules( *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -510,8 +520,7 @@ public com.google.cloud.billing.budgets.v1beta1.ThresholdRuleOrBuilder getThresh * * *
-   * Optional. Rules to apply to notifications sent based on budget spend and
-   * thresholds.
+   * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
    * 
* * @@ -528,8 +537,7 @@ public boolean hasAllUpdatesRule() { * * *
-   * Optional. Rules to apply to notifications sent based on budget spend and
-   * thresholds.
+   * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
    * 
* * @@ -548,8 +556,7 @@ public com.google.cloud.billing.budgets.v1beta1.AllUpdatesRule getAllUpdatesRule * * *
-   * Optional. Rules to apply to notifications sent based on budget spend and
-   * thresholds.
+   * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
    * 
* * @@ -1347,9 +1354,9 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Optional. Filters that define which resources are used to compute the
-     * actual spend against the budget amount, such as projects, services, and the
-     * budget's time period, as well as other filters.
+     * Optional. Filters that define which resources are used to compute the actual spend
+     * against the budget amount, such as projects, services, and the budget's
+     * time period, as well as other filters.
      * 
* * @@ -1365,9 +1372,9 @@ public boolean hasBudgetFilter() { * * *
-     * Optional. Filters that define which resources are used to compute the
-     * actual spend against the budget amount, such as projects, services, and the
-     * budget's time period, as well as other filters.
+     * Optional. Filters that define which resources are used to compute the actual spend
+     * against the budget amount, such as projects, services, and the budget's
+     * time period, as well as other filters.
      * 
* * @@ -1389,9 +1396,9 @@ public com.google.cloud.billing.budgets.v1beta1.Filter getBudgetFilter() { * * *
-     * Optional. Filters that define which resources are used to compute the
-     * actual spend against the budget amount, such as projects, services, and the
-     * budget's time period, as well as other filters.
+     * Optional. Filters that define which resources are used to compute the actual spend
+     * against the budget amount, such as projects, services, and the budget's
+     * time period, as well as other filters.
      * 
* * @@ -1415,9 +1422,9 @@ public Builder setBudgetFilter(com.google.cloud.billing.budgets.v1beta1.Filter v * * *
-     * Optional. Filters that define which resources are used to compute the
-     * actual spend against the budget amount, such as projects, services, and the
-     * budget's time period, as well as other filters.
+     * Optional. Filters that define which resources are used to compute the actual spend
+     * against the budget amount, such as projects, services, and the budget's
+     * time period, as well as other filters.
      * 
* * @@ -1439,9 +1446,9 @@ public Builder setBudgetFilter( * * *
-     * Optional. Filters that define which resources are used to compute the
-     * actual spend against the budget amount, such as projects, services, and the
-     * budget's time period, as well as other filters.
+     * Optional. Filters that define which resources are used to compute the actual spend
+     * against the budget amount, such as projects, services, and the budget's
+     * time period, as well as other filters.
      * 
* * @@ -1469,9 +1476,9 @@ public Builder mergeBudgetFilter(com.google.cloud.billing.budgets.v1beta1.Filter * * *
-     * Optional. Filters that define which resources are used to compute the
-     * actual spend against the budget amount, such as projects, services, and the
-     * budget's time period, as well as other filters.
+     * Optional. Filters that define which resources are used to compute the actual spend
+     * against the budget amount, such as projects, services, and the budget's
+     * time period, as well as other filters.
      * 
* * @@ -1493,9 +1500,9 @@ public Builder clearBudgetFilter() { * * *
-     * Optional. Filters that define which resources are used to compute the
-     * actual spend against the budget amount, such as projects, services, and the
-     * budget's time period, as well as other filters.
+     * Optional. Filters that define which resources are used to compute the actual spend
+     * against the budget amount, such as projects, services, and the budget's
+     * time period, as well as other filters.
      * 
* * @@ -1511,9 +1518,9 @@ public com.google.cloud.billing.budgets.v1beta1.Filter.Builder getBudgetFilterBu * * *
-     * Optional. Filters that define which resources are used to compute the
-     * actual spend against the budget amount, such as projects, services, and the
-     * budget's time period, as well as other filters.
+     * Optional. Filters that define which resources are used to compute the actual spend
+     * against the budget amount, such as projects, services, and the budget's
+     * time period, as well as other filters.
      * 
* * @@ -1533,9 +1540,9 @@ public com.google.cloud.billing.budgets.v1beta1.FilterOrBuilder getBudgetFilterO * * *
-     * Optional. Filters that define which resources are used to compute the
-     * actual spend against the budget amount, such as projects, services, and the
-     * budget's time period, as well as other filters.
+     * Optional. Filters that define which resources are used to compute the actual spend
+     * against the budget amount, such as projects, services, and the budget's
+     * time period, as well as other filters.
      * 
* * @@ -1787,6 +1794,8 @@ private void ensureThresholdRulesIsMutable() { *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -1807,6 +1816,8 @@ private void ensureThresholdRulesIsMutable() { *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -1826,6 +1837,8 @@ public int getThresholdRulesCount() { *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -1845,6 +1858,8 @@ public com.google.cloud.billing.budgets.v1beta1.ThresholdRule getThresholdRules( *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -1871,6 +1886,8 @@ public Builder setThresholdRules( *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -1894,6 +1911,8 @@ public Builder setThresholdRules( *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -1919,6 +1938,8 @@ public Builder addThresholdRules(com.google.cloud.billing.budgets.v1beta1.Thresh *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -1945,6 +1966,8 @@ public Builder addThresholdRules( *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -1968,6 +1991,8 @@ public Builder addThresholdRules( *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -1991,6 +2016,8 @@ public Builder addThresholdRules( *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -2015,6 +2042,8 @@ public Builder addAllThresholdRules( *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -2037,6 +2066,8 @@ public Builder clearThresholdRules() { *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -2059,6 +2090,8 @@ public Builder removeThresholdRules(int index) { *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -2075,6 +2108,8 @@ public com.google.cloud.billing.budgets.v1beta1.ThresholdRule.Builder getThresho *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -2095,6 +2130,8 @@ public com.google.cloud.billing.budgets.v1beta1.ThresholdRule.Builder getThresho *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -2115,6 +2152,8 @@ public com.google.cloud.billing.budgets.v1beta1.ThresholdRule.Builder getThresho *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -2132,6 +2171,8 @@ public com.google.cloud.billing.budgets.v1beta1.ThresholdRule.Builder getThresho *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -2150,6 +2191,8 @@ public com.google.cloud.billing.budgets.v1beta1.ThresholdRule.Builder addThresho *
      * Optional. Rules that trigger alerts (notifications of thresholds
      * being crossed) when spend exceeds the specified percentages of the budget.
+     * Optional for `pubsubTopic` notifications.
+     * Required if using email notifications.
      * 
* * @@ -2191,8 +2234,7 @@ public com.google.cloud.billing.budgets.v1beta1.ThresholdRule.Builder addThresho * * *
-     * Optional. Rules to apply to notifications sent based on budget spend and
-     * thresholds.
+     * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
      * 
* * @@ -2208,8 +2250,7 @@ public boolean hasAllUpdatesRule() { * * *
-     * Optional. Rules to apply to notifications sent based on budget spend and
-     * thresholds.
+     * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
      * 
* * @@ -2231,8 +2272,7 @@ public com.google.cloud.billing.budgets.v1beta1.AllUpdatesRule getAllUpdatesRule * * *
-     * Optional. Rules to apply to notifications sent based on budget spend and
-     * thresholds.
+     * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
      * 
* * @@ -2257,8 +2297,7 @@ public Builder setAllUpdatesRule( * * *
-     * Optional. Rules to apply to notifications sent based on budget spend and
-     * thresholds.
+     * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
      * 
* * @@ -2280,8 +2319,7 @@ public Builder setAllUpdatesRule( * * *
-     * Optional. Rules to apply to notifications sent based on budget spend and
-     * thresholds.
+     * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
      * 
* * @@ -2310,8 +2348,7 @@ public Builder mergeAllUpdatesRule( * * *
-     * Optional. Rules to apply to notifications sent based on budget spend and
-     * thresholds.
+     * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
      * 
* * @@ -2333,8 +2370,7 @@ public Builder clearAllUpdatesRule() { * * *
-     * Optional. Rules to apply to notifications sent based on budget spend and
-     * thresholds.
+     * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
      * 
* * @@ -2351,8 +2387,7 @@ public Builder clearAllUpdatesRule() { * * *
-     * Optional. Rules to apply to notifications sent based on budget spend and
-     * thresholds.
+     * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
      * 
* * @@ -2373,8 +2408,7 @@ public Builder clearAllUpdatesRule() { * * *
-     * Optional. Rules to apply to notifications sent based on budget spend and
-     * thresholds.
+     * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
      * 
* * diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetAmount.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetAmount.java index 46ad181d..33c995f3 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetAmount.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetAmount.java @@ -253,8 +253,7 @@ public com.google.type.MoneyOrBuilder getSpecifiedAmountOrBuilder() { *
    * Use the last period's actual spend as the budget for the present period.
    * LastPeriodAmount can only be set when the budget's time period is a
-   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-   * It cannot be set in combination with
+   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
    * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
    * 
* @@ -272,8 +271,7 @@ public boolean hasLastPeriodAmount() { *
    * Use the last period's actual spend as the budget for the present period.
    * LastPeriodAmount can only be set when the budget's time period is a
-   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-   * It cannot be set in combination with
+   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
    * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
    * 
* @@ -294,8 +292,7 @@ public com.google.cloud.billing.budgets.v1beta1.LastPeriodAmount getLastPeriodAm *
    * Use the last period's actual spend as the budget for the present period.
    * LastPeriodAmount can only be set when the budget's time period is a
-   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-   * It cannot be set in combination with
+   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
    * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
    * 
* @@ -947,8 +944,7 @@ public com.google.type.MoneyOrBuilder getSpecifiedAmountOrBuilder() { *
      * Use the last period's actual spend as the budget for the present period.
      * LastPeriodAmount can only be set when the budget's time period is a
-     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-     * It cannot be set in combination with
+     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
      * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
      * 
* @@ -966,8 +962,7 @@ public boolean hasLastPeriodAmount() { *
      * Use the last period's actual spend as the budget for the present period.
      * LastPeriodAmount can only be set when the budget's time period is a
-     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-     * It cannot be set in combination with
+     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
      * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
      * 
* @@ -995,8 +990,7 @@ public com.google.cloud.billing.budgets.v1beta1.LastPeriodAmount getLastPeriodAm *
      * Use the last period's actual spend as the budget for the present period.
      * LastPeriodAmount can only be set when the budget's time period is a
-     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-     * It cannot be set in combination with
+     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
      * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
      * 
* @@ -1022,8 +1016,7 @@ public Builder setLastPeriodAmount( *
      * Use the last period's actual spend as the budget for the present period.
      * LastPeriodAmount can only be set when the budget's time period is a
-     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-     * It cannot be set in combination with
+     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
      * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
      * 
* @@ -1046,8 +1039,7 @@ public Builder setLastPeriodAmount( *
      * Use the last period's actual spend as the budget for the present period.
      * LastPeriodAmount can only be set when the budget's time period is a
-     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-     * It cannot be set in combination with
+     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
      * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
      * 
* @@ -1083,8 +1075,7 @@ public Builder mergeLastPeriodAmount( *
      * Use the last period's actual spend as the budget for the present period.
      * LastPeriodAmount can only be set when the budget's time period is a
-     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-     * It cannot be set in combination with
+     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
      * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
      * 
* @@ -1112,8 +1103,7 @@ public Builder clearLastPeriodAmount() { *
      * Use the last period's actual spend as the budget for the present period.
      * LastPeriodAmount can only be set when the budget's time period is a
-     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-     * It cannot be set in combination with
+     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
      * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
      * 
* @@ -1129,8 +1119,7 @@ public Builder clearLastPeriodAmount() { *
      * Use the last period's actual spend as the budget for the present period.
      * LastPeriodAmount can only be set when the budget's time period is a
-     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-     * It cannot be set in combination with
+     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
      * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
      * 
* @@ -1154,8 +1143,7 @@ public Builder clearLastPeriodAmount() { *
      * Use the last period's actual spend as the budget for the present period.
      * LastPeriodAmount can only be set when the budget's time period is a
-     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-     * It cannot be set in combination with
+     * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
      * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
      * 
* diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetAmountOrBuilder.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetAmountOrBuilder.java index 46bbb041..58002f2a 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetAmountOrBuilder.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetAmountOrBuilder.java @@ -76,8 +76,7 @@ public interface BudgetAmountOrBuilder *
    * Use the last period's actual spend as the budget for the present period.
    * LastPeriodAmount can only be set when the budget's time period is a
-   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-   * It cannot be set in combination with
+   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
    * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
    * 
* @@ -92,8 +91,7 @@ public interface BudgetAmountOrBuilder *
    * Use the last period's actual spend as the budget for the present period.
    * LastPeriodAmount can only be set when the budget's time period is a
-   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-   * It cannot be set in combination with
+   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
    * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
    * 
* @@ -108,8 +106,7 @@ public interface BudgetAmountOrBuilder *
    * Use the last period's actual spend as the budget for the present period.
    * LastPeriodAmount can only be set when the budget's time period is a
-   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period].
-   * It cannot be set in combination with
+   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with
    * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
    * 
* diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetOrBuilder.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetOrBuilder.java index 3fac535c..e227af4d 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetOrBuilder.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/BudgetOrBuilder.java @@ -83,9 +83,9 @@ public interface BudgetOrBuilder * * *
-   * Optional. Filters that define which resources are used to compute the
-   * actual spend against the budget amount, such as projects, services, and the
-   * budget's time period, as well as other filters.
+   * Optional. Filters that define which resources are used to compute the actual spend
+   * against the budget amount, such as projects, services, and the budget's
+   * time period, as well as other filters.
    * 
* * @@ -99,9 +99,9 @@ public interface BudgetOrBuilder * * *
-   * Optional. Filters that define which resources are used to compute the
-   * actual spend against the budget amount, such as projects, services, and the
-   * budget's time period, as well as other filters.
+   * Optional. Filters that define which resources are used to compute the actual spend
+   * against the budget amount, such as projects, services, and the budget's
+   * time period, as well as other filters.
    * 
* * @@ -115,9 +115,9 @@ public interface BudgetOrBuilder * * *
-   * Optional. Filters that define which resources are used to compute the
-   * actual spend against the budget amount, such as projects, services, and the
-   * budget's time period, as well as other filters.
+   * Optional. Filters that define which resources are used to compute the actual spend
+   * against the budget amount, such as projects, services, and the budget's
+   * time period, as well as other filters.
    * 
* * @@ -173,6 +173,8 @@ public interface BudgetOrBuilder *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -186,6 +188,8 @@ public interface BudgetOrBuilder *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -199,6 +203,8 @@ public interface BudgetOrBuilder *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -212,6 +218,8 @@ public interface BudgetOrBuilder *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -226,6 +234,8 @@ public interface BudgetOrBuilder *
    * Optional. Rules that trigger alerts (notifications of thresholds
    * being crossed) when spend exceeds the specified percentages of the budget.
+   * Optional for `pubsubTopic` notifications.
+   * Required if using email notifications.
    * 
* * @@ -239,8 +249,7 @@ com.google.cloud.billing.budgets.v1beta1.ThresholdRuleOrBuilder getThresholdRule * * *
-   * Optional. Rules to apply to notifications sent based on budget spend and
-   * thresholds.
+   * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
    * 
* * @@ -254,8 +263,7 @@ com.google.cloud.billing.budgets.v1beta1.ThresholdRuleOrBuilder getThresholdRule * * *
-   * Optional. Rules to apply to notifications sent based on budget spend and
-   * thresholds.
+   * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
    * 
* * @@ -269,8 +277,7 @@ com.google.cloud.billing.budgets.v1beta1.ThresholdRuleOrBuilder getThresholdRule * * *
-   * Optional. Rules to apply to notifications sent based on budget spend and
-   * thresholds.
+   * Optional. Rules to apply to notifications sent based on budget spend and thresholds.
    * 
* * diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CalendarPeriod.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CalendarPeriod.java index b61f97c3..596de94c 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CalendarPeriod.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CalendarPeriod.java @@ -31,7 +31,16 @@ * Protobuf enum {@code google.cloud.billing.budgets.v1beta1.CalendarPeriod} */ public enum CalendarPeriod implements com.google.protobuf.ProtocolMessageEnum { - /** CALENDAR_PERIOD_UNSPECIFIED = 0; */ + /** + * + * + *
+   * Calendar period is unset. This is the default if the budget is for a
+   * custom time period (CustomPeriod).
+   * 
+ * + * CALENDAR_PERIOD_UNSPECIFIED = 0; + */ CALENDAR_PERIOD_UNSPECIFIED(0), /** * @@ -68,7 +77,16 @@ public enum CalendarPeriod implements com.google.protobuf.ProtocolMessageEnum { UNRECOGNIZED(-1), ; - /** CALENDAR_PERIOD_UNSPECIFIED = 0; */ + /** + * + * + *
+   * Calendar period is unset. This is the default if the budget is for a
+   * custom time period (CustomPeriod).
+   * 
+ * + * CALENDAR_PERIOD_UNSPECIFIED = 0; + */ public static final int CALENDAR_PERIOD_UNSPECIFIED_VALUE = 0; /** * diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CustomPeriod.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CustomPeriod.java index 66512860..4da141dc 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CustomPeriod.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CustomPeriod.java @@ -182,9 +182,9 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() { * * *
-   * Optional. The end date of the time period. Budgets with elapsed end date
-   * won't be processed. If unset, specifies to track all usage incurred since
-   * the start_date.
+   * Optional. The end date of the time period. Budgets with elapsed end date won't be
+   * processed. If unset, specifies to track all usage
+   * incurred since the start_date.
    * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -199,9 +199,9 @@ public boolean hasEndDate() { * * *
-   * Optional. The end date of the time period. Budgets with elapsed end date
-   * won't be processed. If unset, specifies to track all usage incurred since
-   * the start_date.
+   * Optional. The end date of the time period. Budgets with elapsed end date won't be
+   * processed. If unset, specifies to track all usage
+   * incurred since the start_date.
    * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -216,9 +216,9 @@ public com.google.type.Date getEndDate() { * * *
-   * Optional. The end date of the time period. Budgets with elapsed end date
-   * won't be processed. If unset, specifies to track all usage incurred since
-   * the start_date.
+   * Optional. The end date of the time period. Budgets with elapsed end date won't be
+   * processed. If unset, specifies to track all usage
+   * incurred since the start_date.
    * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -767,9 +767,9 @@ public com.google.type.DateOrBuilder getStartDateOrBuilder() { * * *
-     * Optional. The end date of the time period. Budgets with elapsed end date
-     * won't be processed. If unset, specifies to track all usage incurred since
-     * the start_date.
+     * Optional. The end date of the time period. Budgets with elapsed end date won't be
+     * processed. If unset, specifies to track all usage
+     * incurred since the start_date.
      * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -783,9 +783,9 @@ public boolean hasEndDate() { * * *
-     * Optional. The end date of the time period. Budgets with elapsed end date
-     * won't be processed. If unset, specifies to track all usage incurred since
-     * the start_date.
+     * Optional. The end date of the time period. Budgets with elapsed end date won't be
+     * processed. If unset, specifies to track all usage
+     * incurred since the start_date.
      * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -803,9 +803,9 @@ public com.google.type.Date getEndDate() { * * *
-     * Optional. The end date of the time period. Budgets with elapsed end date
-     * won't be processed. If unset, specifies to track all usage incurred since
-     * the start_date.
+     * Optional. The end date of the time period. Budgets with elapsed end date won't be
+     * processed. If unset, specifies to track all usage
+     * incurred since the start_date.
      * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -827,9 +827,9 @@ public Builder setEndDate(com.google.type.Date value) { * * *
-     * Optional. The end date of the time period. Budgets with elapsed end date
-     * won't be processed. If unset, specifies to track all usage incurred since
-     * the start_date.
+     * Optional. The end date of the time period. Budgets with elapsed end date won't be
+     * processed. If unset, specifies to track all usage
+     * incurred since the start_date.
      * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -848,9 +848,9 @@ public Builder setEndDate(com.google.type.Date.Builder builderForValue) { * * *
-     * Optional. The end date of the time period. Budgets with elapsed end date
-     * won't be processed. If unset, specifies to track all usage incurred since
-     * the start_date.
+     * Optional. The end date of the time period. Budgets with elapsed end date won't be
+     * processed. If unset, specifies to track all usage
+     * incurred since the start_date.
      * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -873,9 +873,9 @@ public Builder mergeEndDate(com.google.type.Date value) { * * *
-     * Optional. The end date of the time period. Budgets with elapsed end date
-     * won't be processed. If unset, specifies to track all usage incurred since
-     * the start_date.
+     * Optional. The end date of the time period. Budgets with elapsed end date won't be
+     * processed. If unset, specifies to track all usage
+     * incurred since the start_date.
      * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -895,9 +895,9 @@ public Builder clearEndDate() { * * *
-     * Optional. The end date of the time period. Budgets with elapsed end date
-     * won't be processed. If unset, specifies to track all usage incurred since
-     * the start_date.
+     * Optional. The end date of the time period. Budgets with elapsed end date won't be
+     * processed. If unset, specifies to track all usage
+     * incurred since the start_date.
      * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -911,9 +911,9 @@ public com.google.type.Date.Builder getEndDateBuilder() { * * *
-     * Optional. The end date of the time period. Budgets with elapsed end date
-     * won't be processed. If unset, specifies to track all usage incurred since
-     * the start_date.
+     * Optional. The end date of the time period. Budgets with elapsed end date won't be
+     * processed. If unset, specifies to track all usage
+     * incurred since the start_date.
      * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -929,9 +929,9 @@ public com.google.type.DateOrBuilder getEndDateOrBuilder() { * * *
-     * Optional. The end date of the time period. Budgets with elapsed end date
-     * won't be processed. If unset, specifies to track all usage incurred since
-     * the start_date.
+     * Optional. The end date of the time period. Budgets with elapsed end date won't be
+     * processed. If unset, specifies to track all usage
+     * incurred since the start_date.
      * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CustomPeriodOrBuilder.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CustomPeriodOrBuilder.java index dd4c4866..0a632827 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CustomPeriodOrBuilder.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/CustomPeriodOrBuilder.java @@ -62,9 +62,9 @@ public interface CustomPeriodOrBuilder * * *
-   * Optional. The end date of the time period. Budgets with elapsed end date
-   * won't be processed. If unset, specifies to track all usage incurred since
-   * the start_date.
+   * Optional. The end date of the time period. Budgets with elapsed end date won't be
+   * processed. If unset, specifies to track all usage
+   * incurred since the start_date.
    * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -76,9 +76,9 @@ public interface CustomPeriodOrBuilder * * *
-   * Optional. The end date of the time period. Budgets with elapsed end date
-   * won't be processed. If unset, specifies to track all usage incurred since
-   * the start_date.
+   * Optional. The end date of the time period. Budgets with elapsed end date won't be
+   * processed. If unset, specifies to track all usage
+   * incurred since the start_date.
    * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; @@ -90,9 +90,9 @@ public interface CustomPeriodOrBuilder * * *
-   * Optional. The end date of the time period. Budgets with elapsed end date
-   * won't be processed. If unset, specifies to track all usage incurred since
-   * the start_date.
+   * Optional. The end date of the time period. Budgets with elapsed end date won't be
+   * processed. If unset, specifies to track all usage
+   * incurred since the start_date.
    * 
* * .google.type.Date end_date = 2 [(.google.api.field_behavior) = OPTIONAL]; diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/Filter.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/Filter.java index 4ac01e7d..945656c9 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/Filter.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/Filter.java @@ -531,15 +531,13 @@ public com.google.protobuf.ByteString getProjectsBytes(int index) { * * *
-   * Optional. If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-   * subtracted from gross cost to determine the spend for threshold
-   * calculations. See [a list of acceptable credit type
+   * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+   * a list of credit types to be subtracted from gross cost to determine the
+   * spend for threshold calculations. See
+   * [a list of acceptable credit type
    * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-   * If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+   * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+   * this field must be empty.
    * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -553,15 +551,13 @@ public com.google.protobuf.ProtocolStringList getCreditTypesList() { * * *
-   * Optional. If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-   * subtracted from gross cost to determine the spend for threshold
-   * calculations. See [a list of acceptable credit type
+   * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+   * a list of credit types to be subtracted from gross cost to determine the
+   * spend for threshold calculations. See
+   * [a list of acceptable credit type
    * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-   * If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+   * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+   * this field must be empty.
    * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -575,15 +571,13 @@ public int getCreditTypesCount() { * * *
-   * Optional. If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-   * subtracted from gross cost to determine the spend for threshold
-   * calculations. See [a list of acceptable credit type
+   * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+   * a list of credit types to be subtracted from gross cost to determine the
+   * spend for threshold calculations. See
+   * [a list of acceptable credit type
    * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-   * If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+   * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+   * this field must be empty.
    * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -598,15 +592,13 @@ public java.lang.String getCreditTypes(int index) { * * *
-   * Optional. If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-   * subtracted from gross cost to determine the spend for threshold
-   * calculations. See [a list of acceptable credit type
+   * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+   * a list of credit types to be subtracted from gross cost to determine the
+   * spend for threshold calculations. See
+   * [a list of acceptable credit type
    * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-   * If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+   * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+   * this field must be empty.
    * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -749,9 +741,9 @@ public com.google.protobuf.ByteString getServicesBytes(int index) { * * *
-   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-   * specifying that usage from only this set of subaccounts should be included
-   * in the budget. If a subaccount is set to the name of the parent account,
+   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+   * that usage from only this set of subaccounts should be included in the
+   * budget. If a subaccount is set to the name of the parent account,
    * usage from the parent account will be included. If omitted, the
    * report will include usage from the parent account and all
    * subaccounts, if they exist.
@@ -768,9 +760,9 @@ public com.google.protobuf.ProtocolStringList getSubaccountsList() {
    *
    *
    * 
-   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-   * specifying that usage from only this set of subaccounts should be included
-   * in the budget. If a subaccount is set to the name of the parent account,
+   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+   * that usage from only this set of subaccounts should be included in the
+   * budget. If a subaccount is set to the name of the parent account,
    * usage from the parent account will be included. If omitted, the
    * report will include usage from the parent account and all
    * subaccounts, if they exist.
@@ -787,9 +779,9 @@ public int getSubaccountsCount() {
    *
    *
    * 
-   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-   * specifying that usage from only this set of subaccounts should be included
-   * in the budget. If a subaccount is set to the name of the parent account,
+   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+   * that usage from only this set of subaccounts should be included in the
+   * budget. If a subaccount is set to the name of the parent account,
    * usage from the parent account will be included. If omitted, the
    * report will include usage from the parent account and all
    * subaccounts, if they exist.
@@ -807,9 +799,9 @@ public java.lang.String getSubaccounts(int index) {
    *
    *
    * 
-   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-   * specifying that usage from only this set of subaccounts should be included
-   * in the budget. If a subaccount is set to the name of the parent account,
+   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+   * that usage from only this set of subaccounts should be included in the
+   * budget. If a subaccount is set to the name of the parent account,
    * usage from the parent account will be included. If omitted, the
    * report will include usage from the parent account and all
    * subaccounts, if they exist.
@@ -856,10 +848,13 @@ public int getLabelsCount() {
    *
    *
    * 
-   * Optional. A single label and value pair specifying that usage from only
-   * this set of labeled resources should be included in the budget. Currently,
-   * multiple entries or multiple values per entry are not allowed. If omitted,
-   * the report will include all labeled and unlabeled usage.
+   * Optional. A single label and value pair specifying that usage from only this set of
+   * labeled resources should be included in the budget. If omitted, the
+   * report will include all labeled and unlabeled usage.
+   * An object containing a single `"key": value` pair. Example: `{ "name":
+   * "wrench" }`.
+   *  _Currently, multiple entries or multiple values per entry are not
+   *  allowed._
    * 
* * @@ -883,10 +878,13 @@ public java.util.Map getLabels( * * *
-   * Optional. A single label and value pair specifying that usage from only
-   * this set of labeled resources should be included in the budget. Currently,
-   * multiple entries or multiple values per entry are not allowed. If omitted,
-   * the report will include all labeled and unlabeled usage.
+   * Optional. A single label and value pair specifying that usage from only this set of
+   * labeled resources should be included in the budget. If omitted, the
+   * report will include all labeled and unlabeled usage.
+   * An object containing a single `"key": value` pair. Example: `{ "name":
+   * "wrench" }`.
+   *  _Currently, multiple entries or multiple values per entry are not
+   *  allowed._
    * 
* * @@ -901,10 +899,13 @@ public java.util.Map getLabelsM * * *
-   * Optional. A single label and value pair specifying that usage from only
-   * this set of labeled resources should be included in the budget. Currently,
-   * multiple entries or multiple values per entry are not allowed. If omitted,
-   * the report will include all labeled and unlabeled usage.
+   * Optional. A single label and value pair specifying that usage from only this set of
+   * labeled resources should be included in the budget. If omitted, the
+   * report will include all labeled and unlabeled usage.
+   * An object containing a single `"key": value` pair. Example: `{ "name":
+   * "wrench" }`.
+   *  _Currently, multiple entries or multiple values per entry are not
+   *  allowed._
    * 
* * @@ -925,10 +926,13 @@ public com.google.protobuf.ListValue getLabelsOrDefault( * * *
-   * Optional. A single label and value pair specifying that usage from only
-   * this set of labeled resources should be included in the budget. Currently,
-   * multiple entries or multiple values per entry are not allowed. If omitted,
-   * the report will include all labeled and unlabeled usage.
+   * Optional. A single label and value pair specifying that usage from only this set of
+   * labeled resources should be included in the budget. If omitted, the
+   * report will include all labeled and unlabeled usage.
+   * An object containing a single `"key": value` pair. Example: `{ "name":
+   * "wrench" }`.
+   *  _Currently, multiple entries or multiple values per entry are not
+   *  allowed._
    * 
* * @@ -1030,8 +1034,8 @@ public com.google.cloud.billing.budgets.v1beta1.CalendarPeriod getCalendarPeriod * * *
-   * Optional. Specifies to track usage from any start date (required) to any
-   * end date (optional). This time period is static, it does not recur.
+   * Optional. Specifies to track usage from any start date (required) to any end date
+   * (optional). This time period is static, it does not recur.
    * 
* * @@ -1048,8 +1052,8 @@ public boolean hasCustomPeriod() { * * *
-   * Optional. Specifies to track usage from any start date (required) to any
-   * end date (optional). This time period is static, it does not recur.
+   * Optional. Specifies to track usage from any start date (required) to any end date
+   * (optional). This time period is static, it does not recur.
    * 
* * @@ -1069,8 +1073,8 @@ public com.google.cloud.billing.budgets.v1beta1.CustomPeriod getCustomPeriod() { * * *
-   * Optional. Specifies to track usage from any start date (required) to any
-   * end date (optional). This time period is static, it does not recur.
+   * Optional. Specifies to track usage from any start date (required) to any end date
+   * (optional). This time period is static, it does not recur.
    * 
* * @@ -1882,15 +1886,13 @@ private void ensureCreditTypesIsMutable() { * * *
-     * Optional. If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-     * subtracted from gross cost to determine the spend for threshold
-     * calculations. See [a list of acceptable credit type
+     * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+     * a list of credit types to be subtracted from gross cost to determine the
+     * spend for threshold calculations. See
+     * [a list of acceptable credit type
      * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-     * If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+     * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+     * this field must be empty.
      * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1904,15 +1906,13 @@ public com.google.protobuf.ProtocolStringList getCreditTypesList() { * * *
-     * Optional. If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-     * subtracted from gross cost to determine the spend for threshold
-     * calculations. See [a list of acceptable credit type
+     * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+     * a list of credit types to be subtracted from gross cost to determine the
+     * spend for threshold calculations. See
+     * [a list of acceptable credit type
      * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-     * If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+     * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+     * this field must be empty.
      * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1926,15 +1926,13 @@ public int getCreditTypesCount() { * * *
-     * Optional. If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-     * subtracted from gross cost to determine the spend for threshold
-     * calculations. See [a list of acceptable credit type
+     * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+     * a list of credit types to be subtracted from gross cost to determine the
+     * spend for threshold calculations. See
+     * [a list of acceptable credit type
      * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-     * If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+     * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+     * this field must be empty.
      * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1949,15 +1947,13 @@ public java.lang.String getCreditTypes(int index) { * * *
-     * Optional. If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-     * subtracted from gross cost to determine the spend for threshold
-     * calculations. See [a list of acceptable credit type
+     * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+     * a list of credit types to be subtracted from gross cost to determine the
+     * spend for threshold calculations. See
+     * [a list of acceptable credit type
      * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-     * If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+     * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+     * this field must be empty.
      * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -1972,15 +1968,13 @@ public com.google.protobuf.ByteString getCreditTypesBytes(int index) { * * *
-     * Optional. If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-     * subtracted from gross cost to determine the spend for threshold
-     * calculations. See [a list of acceptable credit type
+     * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+     * a list of credit types to be subtracted from gross cost to determine the
+     * spend for threshold calculations. See
+     * [a list of acceptable credit type
      * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-     * If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+     * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+     * this field must be empty.
      * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2002,15 +1996,13 @@ public Builder setCreditTypes(int index, java.lang.String value) { * * *
-     * Optional. If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-     * subtracted from gross cost to determine the spend for threshold
-     * calculations. See [a list of acceptable credit type
+     * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+     * a list of credit types to be subtracted from gross cost to determine the
+     * spend for threshold calculations. See
+     * [a list of acceptable credit type
      * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-     * If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+     * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+     * this field must be empty.
      * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2031,15 +2023,13 @@ public Builder addCreditTypes(java.lang.String value) { * * *
-     * Optional. If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-     * subtracted from gross cost to determine the spend for threshold
-     * calculations. See [a list of acceptable credit type
+     * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+     * a list of credit types to be subtracted from gross cost to determine the
+     * spend for threshold calculations. See
+     * [a list of acceptable credit type
      * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-     * If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+     * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+     * this field must be empty.
      * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2057,15 +2047,13 @@ public Builder addAllCreditTypes(java.lang.Iterable values) { * * *
-     * Optional. If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-     * subtracted from gross cost to determine the spend for threshold
-     * calculations. See [a list of acceptable credit type
+     * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+     * a list of credit types to be subtracted from gross cost to determine the
+     * spend for threshold calculations. See
+     * [a list of acceptable credit type
      * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-     * If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+     * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+     * this field must be empty.
      * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2082,15 +2070,13 @@ public Builder clearCreditTypes() { * * *
-     * Optional. If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-     * subtracted from gross cost to determine the spend for threshold
-     * calculations. See [a list of acceptable credit type
+     * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+     * a list of credit types to be subtracted from gross cost to determine the
+     * spend for threshold calculations. See
+     * [a list of acceptable credit type
      * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-     * If
-     * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-     * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+     * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+     * this field must be empty.
      * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -2441,9 +2427,9 @@ private void ensureSubaccountsIsMutable() { * * *
-     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-     * specifying that usage from only this set of subaccounts should be included
-     * in the budget. If a subaccount is set to the name of the parent account,
+     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+     * that usage from only this set of subaccounts should be included in the
+     * budget. If a subaccount is set to the name of the parent account,
      * usage from the parent account will be included. If omitted, the
      * report will include usage from the parent account and all
      * subaccounts, if they exist.
@@ -2460,9 +2446,9 @@ public com.google.protobuf.ProtocolStringList getSubaccountsList() {
      *
      *
      * 
-     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-     * specifying that usage from only this set of subaccounts should be included
-     * in the budget. If a subaccount is set to the name of the parent account,
+     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+     * that usage from only this set of subaccounts should be included in the
+     * budget. If a subaccount is set to the name of the parent account,
      * usage from the parent account will be included. If omitted, the
      * report will include usage from the parent account and all
      * subaccounts, if they exist.
@@ -2479,9 +2465,9 @@ public int getSubaccountsCount() {
      *
      *
      * 
-     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-     * specifying that usage from only this set of subaccounts should be included
-     * in the budget. If a subaccount is set to the name of the parent account,
+     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+     * that usage from only this set of subaccounts should be included in the
+     * budget. If a subaccount is set to the name of the parent account,
      * usage from the parent account will be included. If omitted, the
      * report will include usage from the parent account and all
      * subaccounts, if they exist.
@@ -2499,9 +2485,9 @@ public java.lang.String getSubaccounts(int index) {
      *
      *
      * 
-     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-     * specifying that usage from only this set of subaccounts should be included
-     * in the budget. If a subaccount is set to the name of the parent account,
+     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+     * that usage from only this set of subaccounts should be included in the
+     * budget. If a subaccount is set to the name of the parent account,
      * usage from the parent account will be included. If omitted, the
      * report will include usage from the parent account and all
      * subaccounts, if they exist.
@@ -2519,9 +2505,9 @@ public com.google.protobuf.ByteString getSubaccountsBytes(int index) {
      *
      *
      * 
-     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-     * specifying that usage from only this set of subaccounts should be included
-     * in the budget. If a subaccount is set to the name of the parent account,
+     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+     * that usage from only this set of subaccounts should be included in the
+     * budget. If a subaccount is set to the name of the parent account,
      * usage from the parent account will be included. If omitted, the
      * report will include usage from the parent account and all
      * subaccounts, if they exist.
@@ -2546,9 +2532,9 @@ public Builder setSubaccounts(int index, java.lang.String value) {
      *
      *
      * 
-     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-     * specifying that usage from only this set of subaccounts should be included
-     * in the budget. If a subaccount is set to the name of the parent account,
+     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+     * that usage from only this set of subaccounts should be included in the
+     * budget. If a subaccount is set to the name of the parent account,
      * usage from the parent account will be included. If omitted, the
      * report will include usage from the parent account and all
      * subaccounts, if they exist.
@@ -2572,9 +2558,9 @@ public Builder addSubaccounts(java.lang.String value) {
      *
      *
      * 
-     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-     * specifying that usage from only this set of subaccounts should be included
-     * in the budget. If a subaccount is set to the name of the parent account,
+     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+     * that usage from only this set of subaccounts should be included in the
+     * budget. If a subaccount is set to the name of the parent account,
      * usage from the parent account will be included. If omitted, the
      * report will include usage from the parent account and all
      * subaccounts, if they exist.
@@ -2595,9 +2581,9 @@ public Builder addAllSubaccounts(java.lang.Iterable values) {
      *
      *
      * 
-     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-     * specifying that usage from only this set of subaccounts should be included
-     * in the budget. If a subaccount is set to the name of the parent account,
+     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+     * that usage from only this set of subaccounts should be included in the
+     * budget. If a subaccount is set to the name of the parent account,
      * usage from the parent account will be included. If omitted, the
      * report will include usage from the parent account and all
      * subaccounts, if they exist.
@@ -2617,9 +2603,9 @@ public Builder clearSubaccounts() {
      *
      *
      * 
-     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-     * specifying that usage from only this set of subaccounts should be included
-     * in the budget. If a subaccount is set to the name of the parent account,
+     * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+     * that usage from only this set of subaccounts should be included in the
+     * budget. If a subaccount is set to the name of the parent account,
      * usage from the parent account will be included. If omitted, the
      * report will include usage from the parent account and all
      * subaccounts, if they exist.
@@ -2671,10 +2657,13 @@ public int getLabelsCount() {
      *
      *
      * 
-     * Optional. A single label and value pair specifying that usage from only
-     * this set of labeled resources should be included in the budget. Currently,
-     * multiple entries or multiple values per entry are not allowed. If omitted,
-     * the report will include all labeled and unlabeled usage.
+     * Optional. A single label and value pair specifying that usage from only this set of
+     * labeled resources should be included in the budget. If omitted, the
+     * report will include all labeled and unlabeled usage.
+     * An object containing a single `"key": value` pair. Example: `{ "name":
+     * "wrench" }`.
+     *  _Currently, multiple entries or multiple values per entry are not
+     *  allowed._
      * 
* * @@ -2698,10 +2687,13 @@ public java.util.Map getLabels( * * *
-     * Optional. A single label and value pair specifying that usage from only
-     * this set of labeled resources should be included in the budget. Currently,
-     * multiple entries or multiple values per entry are not allowed. If omitted,
-     * the report will include all labeled and unlabeled usage.
+     * Optional. A single label and value pair specifying that usage from only this set of
+     * labeled resources should be included in the budget. If omitted, the
+     * report will include all labeled and unlabeled usage.
+     * An object containing a single `"key": value` pair. Example: `{ "name":
+     * "wrench" }`.
+     *  _Currently, multiple entries or multiple values per entry are not
+     *  allowed._
      * 
* * @@ -2716,10 +2708,13 @@ public java.util.Map getLabelsM * * *
-     * Optional. A single label and value pair specifying that usage from only
-     * this set of labeled resources should be included in the budget. Currently,
-     * multiple entries or multiple values per entry are not allowed. If omitted,
-     * the report will include all labeled and unlabeled usage.
+     * Optional. A single label and value pair specifying that usage from only this set of
+     * labeled resources should be included in the budget. If omitted, the
+     * report will include all labeled and unlabeled usage.
+     * An object containing a single `"key": value` pair. Example: `{ "name":
+     * "wrench" }`.
+     *  _Currently, multiple entries or multiple values per entry are not
+     *  allowed._
      * 
* * @@ -2740,10 +2735,13 @@ public com.google.protobuf.ListValue getLabelsOrDefault( * * *
-     * Optional. A single label and value pair specifying that usage from only
-     * this set of labeled resources should be included in the budget. Currently,
-     * multiple entries or multiple values per entry are not allowed. If omitted,
-     * the report will include all labeled and unlabeled usage.
+     * Optional. A single label and value pair specifying that usage from only this set of
+     * labeled resources should be included in the budget. If omitted, the
+     * report will include all labeled and unlabeled usage.
+     * An object containing a single `"key": value` pair. Example: `{ "name":
+     * "wrench" }`.
+     *  _Currently, multiple entries or multiple values per entry are not
+     *  allowed._
      * 
* * @@ -2771,10 +2769,13 @@ public Builder clearLabels() { * * *
-     * Optional. A single label and value pair specifying that usage from only
-     * this set of labeled resources should be included in the budget. Currently,
-     * multiple entries or multiple values per entry are not allowed. If omitted,
-     * the report will include all labeled and unlabeled usage.
+     * Optional. A single label and value pair specifying that usage from only this set of
+     * labeled resources should be included in the budget. If omitted, the
+     * report will include all labeled and unlabeled usage.
+     * An object containing a single `"key": value` pair. Example: `{ "name":
+     * "wrench" }`.
+     *  _Currently, multiple entries or multiple values per entry are not
+     *  allowed._
      * 
* * @@ -2797,10 +2798,13 @@ public java.util.Map getMutable * * *
-     * Optional. A single label and value pair specifying that usage from only
-     * this set of labeled resources should be included in the budget. Currently,
-     * multiple entries or multiple values per entry are not allowed. If omitted,
-     * the report will include all labeled and unlabeled usage.
+     * Optional. A single label and value pair specifying that usage from only this set of
+     * labeled resources should be included in the budget. If omitted, the
+     * report will include all labeled and unlabeled usage.
+     * An object containing a single `"key": value` pair. Example: `{ "name":
+     * "wrench" }`.
+     *  _Currently, multiple entries or multiple values per entry are not
+     *  allowed._
      * 
* * @@ -2821,10 +2825,13 @@ public Builder putLabels(java.lang.String key, com.google.protobuf.ListValue val * * *
-     * Optional. A single label and value pair specifying that usage from only
-     * this set of labeled resources should be included in the budget. Currently,
-     * multiple entries or multiple values per entry are not allowed. If omitted,
-     * the report will include all labeled and unlabeled usage.
+     * Optional. A single label and value pair specifying that usage from only this set of
+     * labeled resources should be included in the budget. If omitted, the
+     * report will include all labeled and unlabeled usage.
+     * An object containing a single `"key": value` pair. Example: `{ "name":
+     * "wrench" }`.
+     *  _Currently, multiple entries or multiple values per entry are not
+     *  allowed._
      * 
* * @@ -3005,8 +3012,8 @@ public Builder clearCalendarPeriod() { * * *
-     * Optional. Specifies to track usage from any start date (required) to any
-     * end date (optional). This time period is static, it does not recur.
+     * Optional. Specifies to track usage from any start date (required) to any end date
+     * (optional). This time period is static, it does not recur.
      * 
* * @@ -3023,8 +3030,8 @@ public boolean hasCustomPeriod() { * * *
-     * Optional. Specifies to track usage from any start date (required) to any
-     * end date (optional). This time period is static, it does not recur.
+     * Optional. Specifies to track usage from any start date (required) to any end date
+     * (optional). This time period is static, it does not recur.
      * 
* * @@ -3051,8 +3058,8 @@ public com.google.cloud.billing.budgets.v1beta1.CustomPeriod getCustomPeriod() { * * *
-     * Optional. Specifies to track usage from any start date (required) to any
-     * end date (optional). This time period is static, it does not recur.
+     * Optional. Specifies to track usage from any start date (required) to any end date
+     * (optional). This time period is static, it does not recur.
      * 
* * @@ -3076,8 +3083,8 @@ public Builder setCustomPeriod(com.google.cloud.billing.budgets.v1beta1.CustomPe * * *
-     * Optional. Specifies to track usage from any start date (required) to any
-     * end date (optional). This time period is static, it does not recur.
+     * Optional. Specifies to track usage from any start date (required) to any end date
+     * (optional). This time period is static, it does not recur.
      * 
* * @@ -3099,8 +3106,8 @@ public Builder setCustomPeriod( * * *
-     * Optional. Specifies to track usage from any start date (required) to any
-     * end date (optional). This time period is static, it does not recur.
+     * Optional. Specifies to track usage from any start date (required) to any end date
+     * (optional). This time period is static, it does not recur.
      * 
* * @@ -3134,8 +3141,8 @@ public Builder mergeCustomPeriod(com.google.cloud.billing.budgets.v1beta1.Custom * * *
-     * Optional. Specifies to track usage from any start date (required) to any
-     * end date (optional). This time period is static, it does not recur.
+     * Optional. Specifies to track usage from any start date (required) to any end date
+     * (optional). This time period is static, it does not recur.
      * 
* * @@ -3162,8 +3169,8 @@ public Builder clearCustomPeriod() { * * *
-     * Optional. Specifies to track usage from any start date (required) to any
-     * end date (optional). This time period is static, it does not recur.
+     * Optional. Specifies to track usage from any start date (required) to any end date
+     * (optional). This time period is static, it does not recur.
      * 
* * @@ -3177,8 +3184,8 @@ public com.google.cloud.billing.budgets.v1beta1.CustomPeriod.Builder getCustomPe * * *
-     * Optional. Specifies to track usage from any start date (required) to any
-     * end date (optional). This time period is static, it does not recur.
+     * Optional. Specifies to track usage from any start date (required) to any end date
+     * (optional). This time period is static, it does not recur.
      * 
* * @@ -3201,8 +3208,8 @@ public com.google.cloud.billing.budgets.v1beta1.CustomPeriod.Builder getCustomPe * * *
-     * Optional. Specifies to track usage from any start date (required) to any
-     * end date (optional). This time period is static, it does not recur.
+     * Optional. Specifies to track usage from any start date (required) to any end date
+     * (optional). This time period is static, it does not recur.
      * 
* * diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/FilterOrBuilder.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/FilterOrBuilder.java index d20d8177..fa210d92 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/FilterOrBuilder.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/FilterOrBuilder.java @@ -94,15 +94,13 @@ public interface FilterOrBuilder * * *
-   * Optional. If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-   * subtracted from gross cost to determine the spend for threshold
-   * calculations. See [a list of acceptable credit type
+   * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+   * a list of credit types to be subtracted from gross cost to determine the
+   * spend for threshold calculations. See
+   * [a list of acceptable credit type
    * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-   * If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+   * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+   * this field must be empty.
    * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -114,15 +112,13 @@ public interface FilterOrBuilder * * *
-   * Optional. If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-   * subtracted from gross cost to determine the spend for threshold
-   * calculations. See [a list of acceptable credit type
+   * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+   * a list of credit types to be subtracted from gross cost to determine the
+   * spend for threshold calculations. See
+   * [a list of acceptable credit type
    * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-   * If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+   * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+   * this field must be empty.
    * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -134,15 +130,13 @@ public interface FilterOrBuilder * * *
-   * Optional. If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-   * subtracted from gross cost to determine the spend for threshold
-   * calculations. See [a list of acceptable credit type
+   * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+   * a list of credit types to be subtracted from gross cost to determine the
+   * spend for threshold calculations. See
+   * [a list of acceptable credit type
    * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-   * If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+   * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+   * this field must be empty.
    * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -155,15 +149,13 @@ public interface FilterOrBuilder * * *
-   * Optional. If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be
-   * subtracted from gross cost to determine the spend for threshold
-   * calculations. See [a list of acceptable credit type
+   * Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is
+   * a list of credit types to be subtracted from gross cost to determine the
+   * spend for threshold calculations. See
+   * [a list of acceptable credit type
    * values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type).
-   * If
-   * [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment]
-   * is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty.
+   * If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS,
+   * this field must be empty.
    * 
* * repeated string credit_types = 7 [(.google.api.field_behavior) = OPTIONAL]; @@ -277,9 +269,9 @@ public interface FilterOrBuilder * * *
-   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-   * specifying that usage from only this set of subaccounts should be included
-   * in the budget. If a subaccount is set to the name of the parent account,
+   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+   * that usage from only this set of subaccounts should be included in the
+   * budget. If a subaccount is set to the name of the parent account,
    * usage from the parent account will be included. If omitted, the
    * report will include usage from the parent account and all
    * subaccounts, if they exist.
@@ -294,9 +286,9 @@ public interface FilterOrBuilder
    *
    *
    * 
-   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-   * specifying that usage from only this set of subaccounts should be included
-   * in the budget. If a subaccount is set to the name of the parent account,
+   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+   * that usage from only this set of subaccounts should be included in the
+   * budget. If a subaccount is set to the name of the parent account,
    * usage from the parent account will be included. If omitted, the
    * report will include usage from the parent account and all
    * subaccounts, if they exist.
@@ -311,9 +303,9 @@ public interface FilterOrBuilder
    *
    *
    * 
-   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-   * specifying that usage from only this set of subaccounts should be included
-   * in the budget. If a subaccount is set to the name of the parent account,
+   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+   * that usage from only this set of subaccounts should be included in the
+   * budget. If a subaccount is set to the name of the parent account,
    * usage from the parent account will be included. If omitted, the
    * report will include usage from the parent account and all
    * subaccounts, if they exist.
@@ -329,9 +321,9 @@ public interface FilterOrBuilder
    *
    *
    * 
-   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`,
-   * specifying that usage from only this set of subaccounts should be included
-   * in the budget. If a subaccount is set to the name of the parent account,
+   * Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying
+   * that usage from only this set of subaccounts should be included in the
+   * budget. If a subaccount is set to the name of the parent account,
    * usage from the parent account will be included. If omitted, the
    * report will include usage from the parent account and all
    * subaccounts, if they exist.
@@ -348,10 +340,13 @@ public interface FilterOrBuilder
    *
    *
    * 
-   * Optional. A single label and value pair specifying that usage from only
-   * this set of labeled resources should be included in the budget. Currently,
-   * multiple entries or multiple values per entry are not allowed. If omitted,
-   * the report will include all labeled and unlabeled usage.
+   * Optional. A single label and value pair specifying that usage from only this set of
+   * labeled resources should be included in the budget. If omitted, the
+   * report will include all labeled and unlabeled usage.
+   * An object containing a single `"key": value` pair. Example: `{ "name":
+   * "wrench" }`.
+   *  _Currently, multiple entries or multiple values per entry are not
+   *  allowed._
    * 
* * @@ -363,10 +358,13 @@ public interface FilterOrBuilder * * *
-   * Optional. A single label and value pair specifying that usage from only
-   * this set of labeled resources should be included in the budget. Currently,
-   * multiple entries or multiple values per entry are not allowed. If omitted,
-   * the report will include all labeled and unlabeled usage.
+   * Optional. A single label and value pair specifying that usage from only this set of
+   * labeled resources should be included in the budget. If omitted, the
+   * report will include all labeled and unlabeled usage.
+   * An object containing a single `"key": value` pair. Example: `{ "name":
+   * "wrench" }`.
+   *  _Currently, multiple entries or multiple values per entry are not
+   *  allowed._
    * 
* * @@ -381,10 +379,13 @@ public interface FilterOrBuilder * * *
-   * Optional. A single label and value pair specifying that usage from only
-   * this set of labeled resources should be included in the budget. Currently,
-   * multiple entries or multiple values per entry are not allowed. If omitted,
-   * the report will include all labeled and unlabeled usage.
+   * Optional. A single label and value pair specifying that usage from only this set of
+   * labeled resources should be included in the budget. If omitted, the
+   * report will include all labeled and unlabeled usage.
+   * An object containing a single `"key": value` pair. Example: `{ "name":
+   * "wrench" }`.
+   *  _Currently, multiple entries or multiple values per entry are not
+   *  allowed._
    * 
* * @@ -396,10 +397,13 @@ public interface FilterOrBuilder * * *
-   * Optional. A single label and value pair specifying that usage from only
-   * this set of labeled resources should be included in the budget. Currently,
-   * multiple entries or multiple values per entry are not allowed. If omitted,
-   * the report will include all labeled and unlabeled usage.
+   * Optional. A single label and value pair specifying that usage from only this set of
+   * labeled resources should be included in the budget. If omitted, the
+   * report will include all labeled and unlabeled usage.
+   * An object containing a single `"key": value` pair. Example: `{ "name":
+   * "wrench" }`.
+   *  _Currently, multiple entries or multiple values per entry are not
+   *  allowed._
    * 
* * @@ -412,10 +416,13 @@ com.google.protobuf.ListValue getLabelsOrDefault( * * *
-   * Optional. A single label and value pair specifying that usage from only
-   * this set of labeled resources should be included in the budget. Currently,
-   * multiple entries or multiple values per entry are not allowed. If omitted,
-   * the report will include all labeled and unlabeled usage.
+   * Optional. A single label and value pair specifying that usage from only this set of
+   * labeled resources should be included in the budget. If omitted, the
+   * report will include all labeled and unlabeled usage.
+   * An object containing a single `"key": value` pair. Example: `{ "name":
+   * "wrench" }`.
+   *  _Currently, multiple entries or multiple values per entry are not
+   *  allowed._
    * 
* * @@ -486,8 +493,8 @@ com.google.protobuf.ListValue getLabelsOrDefault( * * *
-   * Optional. Specifies to track usage from any start date (required) to any
-   * end date (optional). This time period is static, it does not recur.
+   * Optional. Specifies to track usage from any start date (required) to any end date
+   * (optional). This time period is static, it does not recur.
    * 
* * @@ -501,8 +508,8 @@ com.google.protobuf.ListValue getLabelsOrDefault( * * *
-   * Optional. Specifies to track usage from any start date (required) to any
-   * end date (optional). This time period is static, it does not recur.
+   * Optional. Specifies to track usage from any start date (required) to any end date
+   * (optional). This time period is static, it does not recur.
    * 
* * @@ -516,8 +523,8 @@ com.google.protobuf.ListValue getLabelsOrDefault( * * *
-   * Optional. Specifies to track usage from any start date (required) to any
-   * end date (optional). This time period is static, it does not recur.
+   * Optional. Specifies to track usage from any start date (required) to any end date
+   * (optional). This time period is static, it does not recur.
    * 
* * diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/LastPeriodAmount.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/LastPeriodAmount.java index ef56e07f..6c3360f9 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/LastPeriodAmount.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/LastPeriodAmount.java @@ -22,15 +22,13 @@ * * *
- * Describes a budget amount targeted to the last
- * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]
+ * Describes a budget amount targeted to the last [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]
  * spend. At this time, the amount is automatically 100% of the last calendar
  * period's spend; that is, there are no other options yet.
  * Future configuration options will be described here (for example, configuring
  * a percentage of last period's spend).
  * LastPeriodAmount cannot be set for a budget configured with
- * a
- * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
+ * a [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
  * 
* * Protobuf type {@code google.cloud.billing.budgets.v1beta1.LastPeriodAmount} @@ -265,15 +263,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Describes a budget amount targeted to the last
-   * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]
+   * Describes a budget amount targeted to the last [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]
    * spend. At this time, the amount is automatically 100% of the last calendar
    * period's spend; that is, there are no other options yet.
    * Future configuration options will be described here (for example, configuring
    * a percentage of last period's spend).
    * LastPeriodAmount cannot be set for a budget configured with
-   * a
-   * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
+   * a [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
    * 
* * Protobuf type {@code google.cloud.billing.budgets.v1beta1.LastPeriodAmount} diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/ThresholdRule.java b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/ThresholdRule.java index d5e40549..aab9b3aa 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/ThresholdRule.java +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/java/com/google/cloud/billing/budgets/v1beta1/ThresholdRule.java @@ -22,13 +22,24 @@ * * *
- * ThresholdRule contains a definition of a threshold which triggers
- * an alert (a notification of a threshold being crossed) to be sent when
- * spend goes above the specified amount.
- * Alerts are automatically e-mailed to users with the Billing Account
- * Administrator role or the Billing Account User role.
- * The thresholds here have no effect on notifications sent to anything
- * configured under `Budget.all_updates_rule`.
+ * ThresholdRule contains the definition of a threshold. Threshold rules define
+ * the triggering events used to generate a budget notification email. When a
+ * threshold is crossed (spend exceeds the specified percentages of the
+ * budget), budget alert emails are sent to the email recipients you specify
+ * in the
+ * [NotificationsRule](#notificationsrule).
+ * Threshold rules also affect the fields included in the
+ * [JSON data
+ * object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format)
+ * sent to a Pub/Sub topic.
+ * Threshold rules are _required_ if using email notifications.
+ * Threshold rules are _optional_ if only setting a
+ * [`pubsubTopic` NotificationsRule](#NotificationsRule),
+ * unless you want your JSON data object to include data about the thresholds
+ * you set.
+ * For more information, see
+ * [set budget threshold rules and
+ * actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-actions).
  * 
* * Protobuf type {@code google.cloud.billing.budgets.v1beta1.ThresholdRule} @@ -159,8 +170,7 @@ public enum Basis implements com.google.protobuf.ProtocolMessageEnum { * Use forecasted spend for the period as the basis for comparison against * the threshold. * FORECASTED_SPEND can only be set when the budget's time period is a - * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. - * It cannot be set in combination with + * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. *
* @@ -197,8 +207,7 @@ public enum Basis implements com.google.protobuf.ProtocolMessageEnum { * Use forecasted spend for the period as the basis for comparison against * the threshold. * FORECASTED_SPEND can only be set when the budget's time period is a - * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. - * It cannot be set in combination with + * [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with * [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. *
* @@ -536,13 +545,24 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * ThresholdRule contains a definition of a threshold which triggers
-   * an alert (a notification of a threshold being crossed) to be sent when
-   * spend goes above the specified amount.
-   * Alerts are automatically e-mailed to users with the Billing Account
-   * Administrator role or the Billing Account User role.
-   * The thresholds here have no effect on notifications sent to anything
-   * configured under `Budget.all_updates_rule`.
+   * ThresholdRule contains the definition of a threshold. Threshold rules define
+   * the triggering events used to generate a budget notification email. When a
+   * threshold is crossed (spend exceeds the specified percentages of the
+   * budget), budget alert emails are sent to the email recipients you specify
+   * in the
+   * [NotificationsRule](#notificationsrule).
+   * Threshold rules also affect the fields included in the
+   * [JSON data
+   * object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format)
+   * sent to a Pub/Sub topic.
+   * Threshold rules are _required_ if using email notifications.
+   * Threshold rules are _optional_ if only setting a
+   * [`pubsubTopic` NotificationsRule](#NotificationsRule),
+   * unless you want your JSON data object to include data about the thresholds
+   * you set.
+   * For more information, see
+   * [set budget threshold rules and
+   * actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-actions).
    * 
* * Protobuf type {@code google.cloud.billing.budgets.v1beta1.ThresholdRule} diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto b/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto index 8d68393d..c269c819 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_model.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -46,9 +46,9 @@ message Budget { // Validation: <= 60 chars. string display_name = 2; - // Optional. Filters that define which resources are used to compute the - // actual spend against the budget amount, such as projects, services, and the - // budget's time period, as well as other filters. + // Optional. Filters that define which resources are used to compute the actual spend + // against the budget amount, such as projects, services, and the budget's + // time period, as well as other filters. Filter budget_filter = 3 [(google.api.field_behavior) = OPTIONAL]; // Required. Budgeted amount. @@ -56,11 +56,13 @@ message Budget { // Optional. Rules that trigger alerts (notifications of thresholds // being crossed) when spend exceeds the specified percentages of the budget. - repeated ThresholdRule threshold_rules = 5 - [(google.api.field_behavior) = OPTIONAL]; + // + // Optional for `pubsubTopic` notifications. + // + // Required if using email notifications. + repeated ThresholdRule threshold_rules = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Rules to apply to notifications sent based on budget spend and - // thresholds. + // Optional. Rules to apply to notifications sent based on budget spend and thresholds. AllUpdatesRule all_updates_rule = 6 [(google.api.field_behavior) = OPTIONAL]; // Optional. Etag to validate that the object is unchanged for a @@ -82,31 +84,45 @@ message BudgetAmount { // Use the last period's actual spend as the budget for the present period. // LastPeriodAmount can only be set when the budget's time period is a - // [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. - // It cannot be set in combination with + // [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with // [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. LastPeriodAmount last_period_amount = 2; } } -// Describes a budget amount targeted to the last -// [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period] +// Describes a budget amount targeted to the last [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period] // spend. At this time, the amount is automatically 100% of the last calendar // period's spend; that is, there are no other options yet. // Future configuration options will be described here (for example, configuring // a percentage of last period's spend). // LastPeriodAmount cannot be set for a budget configured with -// a -// [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. -message LastPeriodAmount {} - -// ThresholdRule contains a definition of a threshold which triggers -// an alert (a notification of a threshold being crossed) to be sent when -// spend goes above the specified amount. -// Alerts are automatically e-mailed to users with the Billing Account -// Administrator role or the Billing Account User role. -// The thresholds here have no effect on notifications sent to anything -// configured under `Budget.all_updates_rule`. +// a [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. +message LastPeriodAmount { + +} + +// ThresholdRule contains the definition of a threshold. Threshold rules define +// the triggering events used to generate a budget notification email. When a +// threshold is crossed (spend exceeds the specified percentages of the +// budget), budget alert emails are sent to the email recipients you specify +// in the +// [NotificationsRule](#notificationsrule). +// +// Threshold rules also affect the fields included in the +// [JSON data +// object](https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications#notification_format) +// sent to a Pub/Sub topic. +// +// Threshold rules are _required_ if using email notifications. +// +// Threshold rules are _optional_ if only setting a +// [`pubsubTopic` NotificationsRule](#NotificationsRule), +// unless you want your JSON data object to include data about the thresholds +// you set. +// +// For more information, see +// [set budget threshold rules and +// actions](https://cloud.google.com/billing/docs/how-to/budgets#budget-actions). message ThresholdRule { // The type of basis used to determine if spend has passed the threshold. enum Basis { @@ -119,8 +135,7 @@ message ThresholdRule { // Use forecasted spend for the period as the basis for comparison against // the threshold. // FORECASTED_SPEND can only be set when the budget's time period is a - // [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. - // It cannot be set in combination with + // [Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]. It cannot be set in combination with // [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period]. FORECASTED_SPEND = 2; } @@ -138,10 +153,10 @@ message ThresholdRule { // AllUpdatesRule defines notifications that are sent based on budget spend // and thresholds. message AllUpdatesRule { - // Optional. The name of the Pub/Sub topic where budget related messages will - // be published, in the form `projects/{project_id}/topics/{topic_id}`. - // Updates are sent at regular intervals to the topic. The topic needs to be - // created before the budget is created; see + // Optional. The name of the Pub/Sub topic where budget related messages will be + // published, in the form `projects/{project_id}/topics/{topic_id}`. Updates + // are sent at regular intervals to the topic. + // The topic needs to be created before the budget is created; see // https://cloud.google.com/billing/docs/how-to/budgets-programmatic-notifications // for more details. // Caller is expected to have @@ -151,31 +166,26 @@ message AllUpdatesRule { // for more details on Pub/Sub roles and permissions. string pubsub_topic = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Required when - // [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] - // is set. The schema version of the notification sent to - // [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic]. - // Only "1.0" is accepted. It represents the JSON schema as defined in + // Optional. Required when [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic] is set. The schema version of + // the notification sent to [AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.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. string schema_version = 2 [(google.api.field_behavior) = OPTIONAL]; - // 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 - // notification channel with the form + // 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 notification + // channel with the form // `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 // channels are allowed. See // https://cloud.google.com/billing/docs/how-to/budgets-notification-recipients // for more details. - repeated string monitoring_notification_channels = 3 - [(google.api.field_behavior) = OPTIONAL]; - - // Optional. When set to true, disables default notifications sent when a - // threshold is exceeded. Default notifications are sent to those with Billing - // Account Administrator and Billing Account User IAM roles for the target - // account. - bool disable_default_iam_recipients = 4 - [(google.api.field_behavior) = OPTIONAL]; + repeated string monitoring_notification_channels = 3 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. When set to true, disables default notifications sent when a threshold is + // exceeded. Default notifications are sent to those with Billing Account + // Administrator and Billing Account User IAM roles for the target account. + bool disable_default_iam_recipients = 4 [(google.api.field_behavior) = OPTIONAL]; } // A filter for a budget, limiting the scope of the cost to calculate. @@ -210,21 +220,18 @@ message Filter { // Only zero or one project can be specified currently. repeated string projects = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. If - // [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] - // is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be - // subtracted from gross cost to determine the spend for threshold - // calculations. See [a list of acceptable credit type + // Optional. If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is INCLUDE_SPECIFIED_CREDITS, this is + // a list of credit types to be subtracted from gross cost to determine the + // spend for threshold calculations. See + // [a list of acceptable credit type // values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). // - // If - // [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] - // is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty. + // If [Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment] is **not** INCLUDE_SPECIFIED_CREDITS, + // this field must be empty. repeated string credit_types = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. - CreditTypesTreatment credit_types_treatment = 4 - [(google.api.field_behavior) = OPTIONAL]; + CreditTypesTreatment credit_types_treatment = 4 [(google.api.field_behavior) = OPTIONAL]; // Optional. A set of services of the form `services/{service_id}`, // specifying that usage from only this set of services should be @@ -234,24 +241,28 @@ message Filter { // https://cloud.google.com/billing/v1/how-tos/catalog-api. repeated string services = 3 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, - // specifying that usage from only this set of subaccounts should be included - // in the budget. If a subaccount is set to the name of the parent account, + // Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying + // that usage from only this set of subaccounts should be included in the + // budget. If a subaccount is set to the name of the parent account, // usage from the parent account will be included. If omitted, the // report will include usage from the parent account and all // subaccounts, if they exist. repeated string subaccounts = 5 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A single label and value pair specifying that usage from only - // this set of labeled resources should be included in the budget. Currently, - // multiple entries or multiple values per entry are not allowed. If omitted, - // the report will include all labeled and unlabeled usage. - map labels = 6 - [(google.api.field_behavior) = OPTIONAL]; + // Optional. A single label and value pair specifying that usage from only this set of + // labeled resources should be included in the budget. If omitted, the + // report will include all labeled and unlabeled usage. + // + // An object containing a single `"key": value` pair. Example: `{ "name": + // "wrench" }`. + // + // _Currently, multiple entries or multiple values per entry are not + // allowed._ + map labels = 6 [(google.api.field_behavior) = OPTIONAL]; // Multiple options to choose the budget's time period, specifying that only // usage that occurs during this time period should be included in the budget. - // If not set, the `usage_period` defaults to CalendarPeriod.MONTH. + // If not set, the usage_period defaults to CalendarPeriod.MONTH. oneof usage_period { // Optional. Specifies to track usage for recurring calendar period. // For example, assume that CalendarPeriod.QUARTER is set. The budget will @@ -261,8 +272,8 @@ message Filter { // so on. CalendarPeriod calendar_period = 8 [(google.api.field_behavior) = OPTIONAL]; - // Optional. Specifies to track usage from any start date (required) to any - // end date (optional). This time period is static, it does not recur. + // Optional. Specifies to track usage from any start date (required) to any end date + // (optional). This time period is static, it does not recur. CustomPeriod custom_period = 9 [(google.api.field_behavior) = OPTIONAL]; } } @@ -272,9 +283,9 @@ message CustomPeriod { // Required. The start date must be after January 1, 2017. google.type.Date start_date = 1 [(google.api.field_behavior) = REQUIRED]; - // Optional. The end date of the time period. Budgets with elapsed end date - // won't be processed. If unset, specifies to track all usage incurred since - // the start_date. + // Optional. The end date of the time period. Budgets with elapsed end date won't be + // processed. If unset, specifies to track all usage + // incurred since the start_date. google.type.Date end_date = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -283,6 +294,8 @@ message CustomPeriod { // `CalendarPeriod`". All calendar times begin at 12 AM US and Canadian // Pacific Time (UTC-8). enum CalendarPeriod { + // Calendar period is unset. This is the default if the budget is for a + // custom time period (CustomPeriod). CALENDAR_PERIOD_UNSPECIFIED = 0; // A month. Month starts on the first day of each month, such as January 1, diff --git a/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_service.proto b/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_service.proto index d9793470..e38c0aa3 100644 --- a/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_service.proto +++ b/proto-google-cloud-billingbudgets-v1beta1/src/main/proto/google/cloud/billing/budgets/v1beta1/budget_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -37,7 +37,7 @@ service BudgetService { "https://www.googleapis.com/auth/cloud-platform"; // Creates a new budget. See - // Quotas and limits + // [Quotas and limits](https://cloud.google.com/billing/quotas) // for more information on the limits of the number of budgets you can create. rpc CreateBudget(CreateBudgetRequest) returns (Budget) { option (google.api.http) = { @@ -117,8 +117,7 @@ message UpdateBudgetRequest { // updated. See // https://developers.google.com/protocol-buffers/docs/proto3#default for more // details about default values. - google.protobuf.FieldMask update_mask = 2 - [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL]; } // Request for GetBudget