public interface ThresholdRuleOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getSpendBasis()
public abstract ThresholdRule.Basis getSpendBasis()
Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.
.google.cloud.billing.budgets.v1beta1.ThresholdRule.Basis spend_basis = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
ThresholdRule.Basis | The spendBasis. |
getSpendBasisValue()
public abstract int getSpendBasisValue()
Optional. The type of basis used to determine if spend has passed the threshold. Behavior defaults to CURRENT_SPEND if not set.
.google.cloud.billing.budgets.v1beta1.ThresholdRule.Basis spend_basis = 2 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
int | The enum numeric value on the wire for spendBasis. |
getThresholdPercent()
public abstract double getThresholdPercent()
Required. Send an alert when this threshold is exceeded. This is a 1.0-based percentage, so 0.5 = 50%. Validation: non-negative number.
double threshold_percent = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
double | The thresholdPercent. |