Enum ThresholdRule.Basis (2.17.0)

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

ProtocolMessageEnum

Static Fields

NameDescription
BASIS_UNSPECIFIED

Unspecified threshold basis.

BASIS_UNSPECIFIED = 0;

BASIS_UNSPECIFIED_VALUE

Unspecified threshold basis.

BASIS_UNSPECIFIED = 0;

CURRENT_SPEND

Use current spend as the basis for comparison against the threshold.

CURRENT_SPEND = 1;

CURRENT_SPEND_VALUE

Use current spend as the basis for comparison against the threshold.

CURRENT_SPEND = 1;

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 = 2;

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.

FORECASTED_SPEND = 2;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()