types
Instance
State
STATE_UNSPECIFIEDPENDINGSubscription created but not active yet.
ACTIVESubscription is active.
CANCELLEDSubscription canceled. It is still active, but won't be automatically renewed after the end of the current period.
EXPIREDSubscription expired.
DEPRECATEDSubscription deprecated.
DELETEDSubscription deleted.
id : string
ID of the subscription instance.
cloudId : string
ID of the cloud that the subscription instance belongs to.
folderId : string
ID of the folder that the subscription instance belongs to.
templateId : string
ID of the subscription template that was used to create subscription instance.
templateVersionId : string
ID of the version of subscription template.
description : string
Description of the subscription instance.
startTime : google.protobuf.Timestamp
Timestamp of the start of the subscription.
endTime : google.protobuf.Timestamp
Timestamp of the end of the subscription.
createdAt : google.protobuf.Timestamp
Creation timestamp.
updatedAt : google.protobuf.Timestamp
Update timestamp.
state : State
Subscription state.
locks : Lock
List of subscription locks.
licenseTemplate : Template
Subscription template.
Lock
State
STATE_UNSPECIFIEDUNLOCKEDSubscription unlocked.
LOCKEDSubscription locked to the resource.
DELETEDSubscription lock deleted.
id : string
ID of the subscription lock.
instanceId : string
ID of the subscription instance.
resourceId : string
ID of the resource.
startTime : google.protobuf.Timestamp
Timestamp of the start of the subscription lock.
endTime : google.protobuf.Timestamp
Timestamp of the end of the subscription lock.
createdAt : google.protobuf.Timestamp
Creation timestamp.
updatedAt : google.protobuf.Timestamp
Update timestamp.
state : State
Subscription lock state.
templateId : string
ID of the subscription template.
Template
State
STATE_UNSPECIFIEDPENDINGSubscription template created but not active yet.
ACTIVESubscription template is active.
DEPRECATEDSubscription template deprecated.
DELETEDSubscription template deleted.
id : string
ID of the subscription template.
versionId : string
Version of the subscription template.
name : string
Name of the subscription template.
publisherId : string
ID of publisher.
productId : string
ID of product.
tariffId : string
ID of tariff.
licenseSkuId : string
ID of subscription SKU.
period : string
Subscription period.
createdAt : google.protobuf.Timestamp
Creation timestamp.
updatedAt : google.protobuf.Timestamp
Update timestamp.
state : State
Subscription template state.