- Resource: LicenseConfig
- State
- AlertPolicyResourceConfig
- AlertEnrollment
- EnrollState
- ContactDetails
- Methods
Resource: LicenseConfig
Information about users' licenses.
| JSON representation |
|---|
{ "name": string, "licenseCount": string, "subscriptionTier": enum ( |
| Fields | |
|---|---|
name |
Immutable. Identifier. The fully qualified resource name of the license config. Format: |
licenseCount |
Required. Number of licenses purchased. |
subscriptionTier |
Required. Subscription tier information for the license config. |
state |
Output only. The state of the license config. |
autoRenew |
Optional. Whether the license config should be auto renewed when it reaches the end date. |
startDate |
Required. The start date. |
endDate |
Optional. The planed end date. |
subscriptionTerm |
Required. Subscription term. |
freeTrial |
Optional. Whether the license config is for free trial. |
alertPolicyResourceConfig |
Optional. The alert policy config for this license config. |
geminiBundle |
Output only. Whether the license config is for Gemini bundle. |
earlyTerminated |
Output only. Indication of whether the subscription is terminated earlier than the expiration date. This is usually terminated by pipeline once the subscription gets terminated from subsv3. |
earlyTerminationDate |
Output only. The date when the subscription is terminated earlier than the expiration date. |
State
License config state enumeration.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Default value. The license config does not exist. |
ACTIVE |
The license config is effective and being used. |
EXPIRED |
The license config has expired. |
NOT_STARTED |
The license config has not started yet, and its start date is in the future. |
WITHDRAWN |
This is when a sub license config has returned all its seats back to BillingAccountLicenseConfig that it belongs to. Similar to EXPIRED. |
DEACTIVATING |
The license config is terminated earlier than the expiration date and it is deactivating. The customer will still have access in this state. It will be converted to EXPIRED after the deactivating period ends (14 days) or when the end date is reached, whichever comes first. |
AlertPolicyResourceConfig
The resource level alert config. Used in: * UserLicense * EngineUserData The AlertPolicyConfig in data connector is of same usage. No easy way to migrate.
| JSON representation |
|---|
{ "alertPolicy": string, "alertEnrollments": [ { object ( |
| Fields | |
|---|---|
alertPolicy |
Immutable. The fully qualified resource name of the AlertPolicy. |
alertEnrollments[] |
Optional. The enrollment state of each alert. |
contactDetails[] |
Optional. The contact details for each alert policy. |
languageCode |
Optional. The language code used for notifications |
AlertEnrollment
The alert enrollment status.
| JSON representation |
|---|
{
"alertId": string,
"enrollState": enum ( |
| Fields | |
|---|---|
alertId |
Immutable. The ID of an alert. |
enrollState |
Required. The enrollment status of a customer. |
notificationParams |
Optional. Parameters used to instantiate a notification. Used for notifications that are triggered when registered. Not stored. * Gemini Business welcome emails. * Gemini Business user invitation emails. |
EnrollState
The enrollment status enum for the alert.
| Enums | |
|---|---|
ENROLL_STATE_UNSPECIFIED |
Default value. Used for customers who have not responded to the alert policy. |
ENROLLED |
Customer is enrolled in this policy. |
DECLINED |
Customer declined this policy. |
ContactDetails
The contact info stored in resource level. If both project level and resource level is populated, the resource level contact info will override the project level contact info.
| JSON representation |
|---|
{ "emailAddress": string } |
| Fields | |
|---|---|
emailAddress |
Optional. The email address of the contact. |
Methods |
|
|---|---|
|
Creates a LicenseConfig |
|
Gets a LicenseConfig. |
|
Updates the LicenseConfig |