From 1f22d1e9654a2588aa32f3802156d965d8d1f10f Mon Sep 17 00:00:00 2001 From: Google APIs Date: Wed, 4 Nov 2020 15:25:35 -0800 Subject: [PATCH] docs: Reworded comments for the new credit types filter PiperOrigin-RevId: 340738401 --- .../billing/budgets/v1/budget_model.proto | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/google/cloud/billing/budgets/v1/budget_model.proto b/google/cloud/billing/budgets/v1/budget_model.proto index 1cbdbd7b..a23e0801 100644 --- a/google/cloud/billing/budgets/v1/budget_model.proto +++ b/google/cloud/billing/budgets/v1/budget_model.proto @@ -190,13 +190,17 @@ message Filter { // Only zero or one project can be specified currently. repeated string projects = 1 [(google.api.field_behavior) = OPTIONAL]; - // Optional. A list of credit types to be subtracted from gross cost to - // determine the spend for threshold calculations if and only if - // credit_types_treatment is INCLUDE_SPECIFIED_CREDITS. If - // credit_types_treatment is not INCLUDE_SPECIFIED_CREDITS, this field must be - // empty. See credits.type on - // https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#data-schema - // for a list of acceptable credit type values in this field. + // Optional. If + // [Filter.credit_types_treatment][google.cloud.billing.budgets.v1.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. + // + // If + // [Filter.credit_types_treatment][google.cloud.billing.budgets.v1.Filter.credit_types_treatment] + // is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty. See [a list + // of acceptable credit type + // values](https://cloud.google.com/billing/docs/how-to/export-data-bigquery-tables#credits-type). repeated string credit_types = 7 [(google.api.field_behavior) = OPTIONAL]; // Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`.