public enum ThresholdRule.Basis extends Enum<ThresholdRule.Basis> implements ProtocolMessageEnum
The type of basis used to determine if spend has passed the threshold.
Protobuf enum google.cloud.billing.budgets.v1beta1.ThresholdRule.Basis
Implements
ProtocolMessageEnumStatic Fields
Name | Description |
BASIS_UNSPECIFIED | Unspecified threshold basis. |
BASIS_UNSPECIFIED_VALUE | Unspecified threshold basis. |
CURRENT_SPEND | Use current spend as the basis for comparison against the threshold. |
CURRENT_SPEND_VALUE | Use current spend as the basis for comparison against the threshold. |
FORECASTED_SPEND | Use forecasted spend for the period as the basis for comparison against the threshold. FORECASTED_SPEND can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period. |
FORECASTED_SPEND_VALUE | Use forecasted spend for the period as the basis for comparison against the threshold. FORECASTED_SPEND can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period. |
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() |