From c10cb042221e74076fb92f66a97da65c79cb9d97 Mon Sep 17 00:00:00 2001 From: yoshi-code-bot <70984784+yoshi-code-bot@users.noreply.github.com> Date: Wed, 14 Oct 2026 18:13:58 -0700 Subject: [PATCH] chore: regenerate billingbudgets client --- .../v1/2.0.0/README.md | 4 ++-- .../GoogleCloudBillingBudgetsV1Budget.java | 18 +++++++++++--- .../GoogleCloudBillingBudgetsV1SpendCap.java | 24 ++++++++++++------- .../v1/2.0.0/pom.xml | 4 ++-- .../v1/README.md | 4 ++-- 5 files changed, 36 insertions(+), 18 deletions(-) diff --git a/clients/google-api-services-billingbudgets/v1/2.0.0/README.md b/clients/google-api-services-billingbudgets/v1/2.0.0/README.md index 2a01db1a31e..0fd0fe07b61 100644 --- a/clients/google-api-services-billingbudgets/v1/2.0.0/README.md +++ b/clients/google-api-services-billingbudgets/v1/2.0.0/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-billingbudgets - v1-rev20260928-2.0.0 + v1-rev20261011-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-billingbudgets:v1-rev20260928-2.0.0' + implementation 'com.google.apis:google-api-services-billingbudgets:v1-rev20261011-2.0.0' } ``` diff --git a/clients/google-api-services-billingbudgets/v1/2.0.0/com/google/api/services/billingbudgets/v1/model/GoogleCloudBillingBudgetsV1Budget.java b/clients/google-api-services-billingbudgets/v1/2.0.0/com/google/api/services/billingbudgets/v1/model/GoogleCloudBillingBudgetsV1Budget.java index 73468a105d5..a87e6d55032 100644 --- a/clients/google-api-services-billingbudgets/v1/2.0.0/com/google/api/services/billingbudgets/v1/model/GoogleCloudBillingBudgetsV1Budget.java +++ b/clients/google-api-services-billingbudgets/v1/2.0.0/com/google/api/services/billingbudgets/v1/model/GoogleCloudBillingBudgetsV1Budget.java @@ -99,7 +99,11 @@ public final class GoogleCloudBillingBudgetsV1Budget extends com.google.api.clie * `budget_filter`, `amount`, `threshold_rules`, and `notifications_rule`). When * `spend_cap.output_state` is `ENFORCED`, only `spend_cap.input_state` can be modified in an * `UpdateBudget` request (e.g., setting `input_state` to `AWAITING_NEXT_PERIOD` to lift the cap); - * modifying any other budget field while enforced will fail with `FAILED_PRECONDITION`. + * modifying any other budget field while enforced will fail with `FAILED_PRECONDITION`. If the + * existing resource is a spend cap and an `update_mask` is supplied in an `UpdateBudget` request, + * `spend_cap` or `spend_cap.input_state` must be specified in the update mask. To convert a spend + * cap budget to a regular budget, specify `spend_cap` in the `update_mask` and omit `spend_cap` + * from the budget in the request. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -260,7 +264,11 @@ public GoogleCloudBillingBudgetsV1Budget setOwnershipScope(java.lang.String owne * `budget_filter`, `amount`, `threshold_rules`, and `notifications_rule`). When * `spend_cap.output_state` is `ENFORCED`, only `spend_cap.input_state` can be modified in an * `UpdateBudget` request (e.g., setting `input_state` to `AWAITING_NEXT_PERIOD` to lift the cap); - * modifying any other budget field while enforced will fail with `FAILED_PRECONDITION`. + * modifying any other budget field while enforced will fail with `FAILED_PRECONDITION`. If the + * existing resource is a spend cap and an `update_mask` is supplied in an `UpdateBudget` request, + * `spend_cap` or `spend_cap.input_state` must be specified in the update mask. To convert a spend + * cap budget to a regular budget, specify `spend_cap` in the `update_mask` and omit `spend_cap` + * from the budget in the request. * @return value or {@code null} for none */ public GoogleCloudBillingBudgetsV1SpendCap getSpendCap() { @@ -273,7 +281,11 @@ public GoogleCloudBillingBudgetsV1SpendCap getSpendCap() { * `budget_filter`, `amount`, `threshold_rules`, and `notifications_rule`). When * `spend_cap.output_state` is `ENFORCED`, only `spend_cap.input_state` can be modified in an * `UpdateBudget` request (e.g., setting `input_state` to `AWAITING_NEXT_PERIOD` to lift the cap); - * modifying any other budget field while enforced will fail with `FAILED_PRECONDITION`. + * modifying any other budget field while enforced will fail with `FAILED_PRECONDITION`. If the + * existing resource is a spend cap and an `update_mask` is supplied in an `UpdateBudget` request, + * `spend_cap` or `spend_cap.input_state` must be specified in the update mask. To convert a spend + * cap budget to a regular budget, specify `spend_cap` in the `update_mask` and omit `spend_cap` + * from the budget in the request. * @param spendCap spendCap or {@code null} for none */ public GoogleCloudBillingBudgetsV1Budget setSpendCap(GoogleCloudBillingBudgetsV1SpendCap spendCap) { diff --git a/clients/google-api-services-billingbudgets/v1/2.0.0/com/google/api/services/billingbudgets/v1/model/GoogleCloudBillingBudgetsV1SpendCap.java b/clients/google-api-services-billingbudgets/v1/2.0.0/com/google/api/services/billingbudgets/v1/model/GoogleCloudBillingBudgetsV1SpendCap.java index 57767ac2208..572a0644a8a 100644 --- a/clients/google-api-services-billingbudgets/v1/2.0.0/com/google/api/services/billingbudgets/v1/model/GoogleCloudBillingBudgetsV1SpendCap.java +++ b/clients/google-api-services-billingbudgets/v1/2.0.0/com/google/api/services/billingbudgets/v1/model/GoogleCloudBillingBudgetsV1SpendCap.java @@ -33,9 +33,11 @@ public final class GoogleCloudBillingBudgetsV1SpendCap extends com.google.api.cl /** * Required. The desired state specified by the user. Valid values for mutation: - `CONFIGURED`: * Must be set when creating a spend cap (`CreateBudget`). Also valid when updating - * (`UpdateBudget`) to activate the spend cap. - `AWAITING_NEXT_PERIOD`: Valid only when updating - * (`UpdateBudget`) to explicitly lift an enforced cap. Supplying any other value will result in - * an INVALID_ARGUMENT error. + * (`UpdateBudget`) to activate the spend cap. If the spend cap is in state + * `AWAITING_NEXT_PERIOD`, `input_state` must be set to `CONFIGURED`. - `AWAITING_NEXT_PERIOD`: + * Valid only when updating (`UpdateBudget`) to explicitly lift an enforced cap. Not allowed if + * the spend cap is in state `AWAITING_NEXT_PERIOD`. Supplying any other value will result in an + * INVALID_ARGUMENT error. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -59,9 +61,11 @@ public final class GoogleCloudBillingBudgetsV1SpendCap extends com.google.api.cl /** * Required. The desired state specified by the user. Valid values for mutation: - `CONFIGURED`: * Must be set when creating a spend cap (`CreateBudget`). Also valid when updating - * (`UpdateBudget`) to activate the spend cap. - `AWAITING_NEXT_PERIOD`: Valid only when updating - * (`UpdateBudget`) to explicitly lift an enforced cap. Supplying any other value will result in - * an INVALID_ARGUMENT error. + * (`UpdateBudget`) to activate the spend cap. If the spend cap is in state + * `AWAITING_NEXT_PERIOD`, `input_state` must be set to `CONFIGURED`. - `AWAITING_NEXT_PERIOD`: + * Valid only when updating (`UpdateBudget`) to explicitly lift an enforced cap. Not allowed if + * the spend cap is in state `AWAITING_NEXT_PERIOD`. Supplying any other value will result in an + * INVALID_ARGUMENT error. * @return value or {@code null} for none */ public java.lang.String getInputState() { @@ -71,9 +75,11 @@ public java.lang.String getInputState() { /** * Required. The desired state specified by the user. Valid values for mutation: - `CONFIGURED`: * Must be set when creating a spend cap (`CreateBudget`). Also valid when updating - * (`UpdateBudget`) to activate the spend cap. - `AWAITING_NEXT_PERIOD`: Valid only when updating - * (`UpdateBudget`) to explicitly lift an enforced cap. Supplying any other value will result in - * an INVALID_ARGUMENT error. + * (`UpdateBudget`) to activate the spend cap. If the spend cap is in state + * `AWAITING_NEXT_PERIOD`, `input_state` must be set to `CONFIGURED`. - `AWAITING_NEXT_PERIOD`: + * Valid only when updating (`UpdateBudget`) to explicitly lift an enforced cap. Not allowed if + * the spend cap is in state `AWAITING_NEXT_PERIOD`. Supplying any other value will result in an + * INVALID_ARGUMENT error. * @param inputState inputState or {@code null} for none */ public GoogleCloudBillingBudgetsV1SpendCap setInputState(java.lang.String inputState) { diff --git a/clients/google-api-services-billingbudgets/v1/2.0.0/pom.xml b/clients/google-api-services-billingbudgets/v1/2.0.0/pom.xml index b2934686818..5c5f7e6d1a6 100644 --- a/clients/google-api-services-billingbudgets/v1/2.0.0/pom.xml +++ b/clients/google-api-services-billingbudgets/v1/2.0.0/pom.xml @@ -8,8 +8,8 @@ com.google.apis google-api-services-billingbudgets - v1-rev20260928-2.0.0 - Cloud Billing Budget API v1-rev20260928-2.0.0 + v1-rev20261011-2.0.0 + Cloud Billing Budget API v1-rev20261011-2.0.0 jar 2011 diff --git a/clients/google-api-services-billingbudgets/v1/README.md b/clients/google-api-services-billingbudgets/v1/README.md index 2a01db1a31e..0fd0fe07b61 100644 --- a/clients/google-api-services-billingbudgets/v1/README.md +++ b/clients/google-api-services-billingbudgets/v1/README.md @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file: com.google.apis google-api-services-billingbudgets - v1-rev20260928-2.0.0 + v1-rev20261011-2.0.0 @@ -35,7 +35,7 @@ repositories { mavenCentral() } dependencies { - implementation 'com.google.apis:google-api-services-billingbudgets:v1-rev20260928-2.0.0' + implementation 'com.google.apis:google-api-services-billingbudgets:v1-rev20261011-2.0.0' } ```