Enum Filter.CreditTypesTreatment (2.45.0)

public enum Filter.CreditTypesTreatment extends Enum<Filter.CreditTypesTreatment> implements ProtocolMessageEnum

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 enum google.cloud.billing.budgets.v1beta1.Filter.CreditTypesTreatment

Implements

ProtocolMessageEnum

Static Fields

Name Description
CREDIT_TYPES_TREATMENT_UNSPECIFIED

CREDIT_TYPES_TREATMENT_UNSPECIFIED = 0;

CREDIT_TYPES_TREATMENT_UNSPECIFIED_VALUE

CREDIT_TYPES_TREATMENT_UNSPECIFIED = 0;

EXCLUDE_ALL_CREDITS

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

EXCLUDE_ALL_CREDITS = 2;

EXCLUDE_ALL_CREDITS_VALUE

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

EXCLUDE_ALL_CREDITS = 2;

INCLUDE_ALL_CREDITS

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

INCLUDE_ALL_CREDITS = 1;

INCLUDE_ALL_CREDITS_VALUE

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

INCLUDE_ALL_CREDITS = 1;

INCLUDE_SPECIFIED_CREDITS

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;

INCLUDE_SPECIFIED_CREDITS_VALUE

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;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()