Google Cloud Billing Budgets V1beta1 Client - Class Basis (1.0.5)

Reference documentation and code samples for the Google Cloud Billing Budgets V1beta1 Client class Basis.

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

Protobuf type google.cloud.billing.budgets.v1beta1.ThresholdRule.Basis

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

BASIS_UNSPECIFIED

Value: 0

Unspecified threshold basis.

Generated from protobuf enum BASIS_UNSPECIFIED = 0;

CURRENT_SPEND

Value: 1

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

Generated from protobuf enum CURRENT_SPEND = 1;

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. It cannot be set in combination with Filter.custom_period.

Generated from protobuf enum FORECASTED_SPEND = 2;