# Billing Budgets V1beta1 API - Module Google::Cloud::Billing::Budgets::V1beta1::ThresholdRule::Basis (v0.17.0)

0.17.0 (latest) 0.16.1 0.15.0 0.14.1 0.13.0 0.12.1 0.11.2 0.10.0 0.9.0 0.8.0 0.7.0 0.6.5 Reference documentation and code samples for the Billing Budgets V1beta1 API module Google::Cloud::Billing::Budgets::V1beta1::ThresholdRule::Basis.

The type of basis used to determine if spend has passed the threshold.

## Constants

### BASIS_UNSPECIFIED

**value:** 0  
Unspecified threshold basis.

### CURRENT_SPEND

**value:** 1  
Use current spend as the basis for comparison against the threshold.

### FORECASTED_SPEND

**value:** 2  
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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-budgets-v1beta1/latest/Google-Cloud-Billing-Budgets-V1beta1-Filter#Google__Cloud__Billing__Budgets__V1beta1__Filter_calendar_period_instance_ "Google::Cloud::Billing::Budgets::V1beta1::Filter#calendar_period (method)").
It cannot be set in combination with
[Filter.custom_period](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-billing-budgets-v1beta1/latest/Google-Cloud-Billing-Budgets-V1beta1-Filter#Google__Cloud__Billing__Budgets__V1beta1__Filter_custom_period_instance_ "Google::Cloud::Billing::Budgets::V1beta1::Filter#custom_period (method)").