diff --git a/google/cloud/billing/budgets/v1beta1/BUILD.bazel b/google/cloud/billing/budgets/v1beta1/BUILD.bazel index 384b4cef..86397400 100644 --- a/google/cloud/billing/budgets/v1beta1/BUILD.bazel +++ b/google/cloud/billing/budgets/v1beta1/BUILD.bazel @@ -309,8 +309,8 @@ csharp_grpc_library( csharp_gapic_library( name = "budgets_csharp_gapic", srcs = [":budgets_proto_with_info"], - grpc_service_config = "billingbudgets_grpc_service_config.json", common_resources_config = "@gax_dotnet//:Google.Api.Gax/ResourceNames/CommonResourcesConfig.json", + grpc_service_config = "billingbudgets_grpc_service_config.json", deps = [ ":budgets_csharp_grpc", ":budgets_csharp_proto", diff --git a/google/cloud/billing/budgets/v1beta1/budget_model.proto b/google/cloud/billing/budgets/v1beta1/budget_model.proto index 327069b6..10f149fe 100644 --- a/google/cloud/billing/budgets/v1beta1/budget_model.proto +++ b/google/cloud/billing/budgets/v1beta1/budget_model.proto @@ -153,8 +153,9 @@ message AllUpdatesRule { [(google.api.field_behavior) = OPTIONAL]; // Optional. When set to true, disables default notifications sent when a - // threshold is exceeded. Recipients are those with Billing Account - // Administrators and Billing Account Users IAM roles for the target account. + // 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]; } @@ -173,6 +174,10 @@ message Filter { // All types of credit are added to the net cost to determine the spend for // threshold calculations. EXCLUDE_ALL_CREDITS = 2; + + // Credit types specified in the credit_types field are subtracted from the + // gross cost to determine the spend for threshold calculations. + INCLUDE_SPECIFIED_CREDITS = 3; } // Optional. A set of projects of the form `projects/{project}`, @@ -182,6 +187,15 @@ 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 at + // 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. + 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];