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.v1.Filter.CreditTypesTreatment
Implements
ProtocolMessageEnumStatic Fields
Name | Description |
CREDIT_TYPES_TREATMENT_UNSPECIFIED |
|
CREDIT_TYPES_TREATMENT_UNSPECIFIED_VALUE |
|
EXCLUDE_ALL_CREDITS | All types of credit are added to the net cost to determine the spend for threshold calculations. |
EXCLUDE_ALL_CREDITS_VALUE | All types of credit are added to the net cost to determine the spend for threshold calculations. |
INCLUDE_ALL_CREDITS | All types of credit are subtracted from the gross cost to determine the spend for threshold calculations. |
INCLUDE_ALL_CREDITS_VALUE | All types of credit are subtracted from the gross cost to determine the spend for threshold calculations. |
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_VALUE | Credit types specified in the credit_types field are subtracted from the gross cost to determine the spend for threshold calculations. |
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() |