A message to store a subscription configuration.
| JSON representation |
|---|
{
"subscriptionId": string,
"billingId": string,
"state": enum ( |
| Fields | |
|---|---|
subscriptionId |
Output only. The unique identifier of the subscription. |
billingId |
Output only. The Google Cloud Billing ID that the subscription is created under. |
state |
Output only. The current state of the subscription. |
startTime |
Output only. The start time of the subscription. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
SubscriptionState
Enum to represent the state of the subscription.
| Enums | |
|---|---|
SUBSCRIPTION_STATE_UNSPECIFIED |
State is unspecified. |
ACTIVE |
Active state means that the subscription has been created successfully and billing is happening. |
INACTIVE |
Inactive means that the subscription has been created successfully, but billing has not started yet. |
ERROR |
The subscription is in an erroneous state. |
FAILED_TO_RETRIEVE |
The subscription state failed to be retrieved. This may be a transient issue. The user should retry the request. |
COMPLETED |
The subscription has been completed, because it has reached the end date. |