License
Message representing the configured license
| Field | Type | Default | Unit |
|---|---|---|---|
product_variant |
- |
- |
|
License product variant |
|||
metadata |
- |
- |
|
License metadata |
|||
serial_number |
string |
- |
- |
License serial number |
|||
validity |
- |
- |
|
Unset for a license without an end date |
|||
Validity
Validity of a license with an end date
| Field | Type | Default | Unit |
|---|---|---|---|
state |
- |
- |
|
Where the license stands |
|||
paid_until |
uint64 |
- |
s |
End of the paid period [s since epoch] |
|||
expires |
uint64 |
- |
s |
End of the grace period, when the licensed functions stop [s since epoch] |
|||
State
Where the license stands in its paid and grace period
| Name | Value | Description |
|---|---|---|
STATE_UNSPECIFIED |
0 |
Not judged yet |
STATE_VALID |
1 |
The paid period runs |
STATE_EXPIRING |
2 |
The paid period ends soon |
STATE_GRACE |
3 |
The paid period has ended; the licensed functions run until the end of the grace period |
STATE_EXPIRED |
4 |
The licensed functions are stopped |