Google Cloud Billing Budgets V1beta1 Client - Class CreditTypesTreatment (1.2.2)

Reference documentation and code samples for the Google Cloud Billing Budgets V1beta1 Client class CreditTypesTreatment.

Specifies how credits are applied when determining the spend for threshold calculations. Budgets track the total cost minus any applicable selected credits.

See the documentation for a list of credit types.

Protobuf type google.cloud.billing.budgets.v1beta1.Filter.CreditTypesTreatment

Namespace

Google \ Cloud \ Billing \ Budgets \ V1beta1 \ Filter

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

CREDIT_TYPES_TREATMENT_UNSPECIFIED

Value: 0

Generated from protobuf enum CREDIT_TYPES_TREATMENT_UNSPECIFIED = 0;

INCLUDE_ALL_CREDITS

Value: 1

All types of credit are subtracted from the gross cost to determine the spend for threshold calculations.

Generated from protobuf enum INCLUDE_ALL_CREDITS = 1;

EXCLUDE_ALL_CREDITS

Value: 2

All types of credit are added to the net cost to determine the spend for threshold calculations.

Generated from protobuf enum EXCLUDE_ALL_CREDITS = 2;

INCLUDE_SPECIFIED_CREDITS

Value: 3

Credit types specified in the credit_types field are subtracted from the gross cost to determine the spend for threshold calculations.

Generated from protobuf enum INCLUDE_SPECIFIED_CREDITS = 3;