state property

String? state
getter/setter pair

The state of the base plan, i.e. whether it's active.

Draft and inactive base plans can be activated or deleted. Active base plans can be made inactive. Inactive base plans can be canceled. This field cannot be changed by updating the resource. Use the dedicated endpoints instead.

Output only. Possible string values are:

  • "STATE_UNSPECIFIED" : Unspecified state.
  • "DRAFT" : The base plan is currently in a draft state, and hasn't been activated. It can be safely deleted at this point.
  • "ACTIVE" : The base plan is active and available for new subscribers.
  • "INACTIVE" : The base plan is inactive and only available for existing subscribers.

Implementation

core.String? state;