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. |
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. |
lastUserUpdateTime |
Optional. timestamp of the most recent user-initiated update (seat count change or subscription term change). Unlike 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: |
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 in a grace period. Its subscription has ended, either through early termination or by reaching its end date, but the customer keeps access for a limited time. It becomes EXPIRED when the grace period ends. |
SubscriptionTerm
Subscription term.
| Enums | |
|---|---|
SUBSCRIPTION_TERM_UNSPECIFIED |
Default value, do not use. |
SUBSCRIPTION_TERM_ONE_MONTH |
1 month. |
SUBSCRIPTION_TERM_ONE_YEAR |
1 year. |
SUBSCRIPTION_TERM_THREE_YEARS |
3 years. |
SUBSCRIPTION_TERM_CUSTOM |
Custom term. Must set the endDate. |
Methods |
|
|---|---|
|
Creates a LicenseConfig This method should only be used for creating NotebookLm licenses or Gemini Enterprise free trial licenses. |
|
Gets a LicenseConfig. |
|
Lists all the LicenseConfigs associated with the project. |
|
Updates the LicenseConfig |