diff --git a/api_names_out.yaml b/api_names_out.yaml index 77ea4bcda..6432bb059 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -16891,6 +16891,8 @@ "/billingbudgets:v1/GoogleCloudBillingBudgetsV1BudgetAmount/lastPeriodAmount": last_period_amount "/billingbudgets:v1/GoogleCloudBillingBudgetsV1BudgetAmount/specifiedAmount": specified_amount "/billingbudgets:v1/GoogleCloudBillingBudgetsV1Filter": google_cloud_billing_budgets_v1_filter +"/billingbudgets:v1/GoogleCloudBillingBudgetsV1Filter/creditTypes": credit_types +"/billingbudgets:v1/GoogleCloudBillingBudgetsV1Filter/creditTypes/credit_type": credit_type "/billingbudgets:v1/GoogleCloudBillingBudgetsV1Filter/creditTypesTreatment": credit_types_treatment "/billingbudgets:v1/GoogleCloudBillingBudgetsV1Filter/labels": labels "/billingbudgets:v1/GoogleCloudBillingBudgetsV1Filter/labels/label": label diff --git a/generated/google/apis/billingbudgets_v1.rb b/generated/google/apis/billingbudgets_v1.rb index c114756a9..0aa686691 100644 --- a/generated/google/apis/billingbudgets_v1.rb +++ b/generated/google/apis/billingbudgets_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview module BillingbudgetsV1 VERSION = 'V1' - REVISION = '20201012' + REVISION = '20201026' # View and manage your Google Cloud Platform billing accounts AUTH_CLOUD_BILLING = 'https://www.googleapis.com/auth/cloud-billing' diff --git a/generated/google/apis/billingbudgets_v1/classes.rb b/generated/google/apis/billingbudgets_v1/classes.rb index 25e1bfd04..603cae53c 100644 --- a/generated/google/apis/billingbudgets_v1/classes.rb +++ b/generated/google/apis/billingbudgets_v1/classes.rb @@ -119,6 +119,16 @@ module Google class GoogleCloudBillingBudgetsV1Filter include Google::Apis::Core::Hashable + # 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. + # Corresponds to the JSON property `creditTypes` + # @return [Array] + attr_accessor :credit_types + # Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. # Corresponds to the JSON property `creditTypesTreatment` # @return [String] @@ -165,6 +175,7 @@ module Google # Update properties of this object def update!(**args) + @credit_types = args[:credit_types] if args.key?(:credit_types) @credit_types_treatment = args[:credit_types_treatment] if args.key?(:credit_types_treatment) @labels = args[:labels] if args.key?(:labels) @projects = args[:projects] if args.key?(:projects) diff --git a/generated/google/apis/billingbudgets_v1/representations.rb b/generated/google/apis/billingbudgets_v1/representations.rb index 14bacc8e6..97263b8ff 100644 --- a/generated/google/apis/billingbudgets_v1/representations.rb +++ b/generated/google/apis/billingbudgets_v1/representations.rb @@ -106,6 +106,7 @@ module Google class GoogleCloudBillingBudgetsV1Filter # @private class Representation < Google::Apis::Core::JsonRepresentation + collection :credit_types, as: 'creditTypes' property :credit_types_treatment, as: 'creditTypesTreatment' hash :labels, as: 'labels', :class => Array do include Representable::JSON::Collection diff --git a/generated/google/apis/billingbudgets_v1/synth.metadata b/generated/google/apis/billingbudgets_v1/synth.metadata index 429012f74..76b2da20f 100644 --- a/generated/google/apis/billingbudgets_v1/synth.metadata +++ b/generated/google/apis/billingbudgets_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "8d2ef13ecc4fd0426870bf3ab35770b4782063cf" } } ]