diff --git a/api_names_out.yaml b/api_names_out.yaml index 140054c6b..77ea4bcda 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -16958,6 +16958,8 @@ "/billingbudgets:v1beta1/GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest": google_cloud_billing_budgets_v1beta1_create_budget_request "/billingbudgets:v1beta1/GoogleCloudBillingBudgetsV1beta1CreateBudgetRequest/budget": budget "/billingbudgets:v1beta1/GoogleCloudBillingBudgetsV1beta1Filter": google_cloud_billing_budgets_v1beta1_filter +"/billingbudgets:v1beta1/GoogleCloudBillingBudgetsV1beta1Filter/creditTypes": credit_types +"/billingbudgets:v1beta1/GoogleCloudBillingBudgetsV1beta1Filter/creditTypes/credit_type": credit_type "/billingbudgets:v1beta1/GoogleCloudBillingBudgetsV1beta1Filter/creditTypesTreatment": credit_types_treatment "/billingbudgets:v1beta1/GoogleCloudBillingBudgetsV1beta1Filter/labels": labels "/billingbudgets:v1beta1/GoogleCloudBillingBudgetsV1beta1Filter/labels/label": label diff --git a/generated/google/apis/billingbudgets_v1beta1.rb b/generated/google/apis/billingbudgets_v1beta1.rb index 42c92af7c..ce7a457ca 100644 --- a/generated/google/apis/billingbudgets_v1beta1.rb +++ b/generated/google/apis/billingbudgets_v1beta1.rb @@ -26,7 +26,7 @@ module Google # @see https://cloud.google.com/billing/docs/how-to/budget-api-overview module BillingbudgetsV1beta1 VERSION = 'V1beta1' - 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_v1beta1/classes.rb b/generated/google/apis/billingbudgets_v1beta1/classes.rb index aa5445932..8a2af5f3b 100644 --- a/generated/google/apis/billingbudgets_v1beta1/classes.rb +++ b/generated/google/apis/billingbudgets_v1beta1/classes.rb @@ -199,6 +199,16 @@ module Google class GoogleCloudBillingBudgetsV1beta1Filter 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 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. + # 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] @@ -245,6 +255,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_v1beta1/representations.rb b/generated/google/apis/billingbudgets_v1beta1/representations.rb index 8eb425dbe..31ea405e4 100644 --- a/generated/google/apis/billingbudgets_v1beta1/representations.rb +++ b/generated/google/apis/billingbudgets_v1beta1/representations.rb @@ -136,6 +136,7 @@ module Google class GoogleCloudBillingBudgetsV1beta1Filter # @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_v1beta1/synth.metadata b/generated/google/apis/billingbudgets_v1beta1/synth.metadata index 429012f74..76b2da20f 100644 --- a/generated/google/apis/billingbudgets_v1beta1/synth.metadata +++ b/generated/google/apis/billingbudgets_v1beta1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "8d2ef13ecc4fd0426870bf3ab35770b4782063cf" } } ]