Resource: BillingAccountLicenseConfig
Information about license configs at billing account level.
| JSON representation |
|---|
{ "name": string, "licenseCount": string, "licenseConfigDistributions": { string: string, ... }, "subscriptionName": string, "subscriptionTier": enum ( |
| Fields | |
|---|---|
name |
Immutable. Identifier. The fully qualified resource name of the billing account license config. Format: |
licenseCount |
Required. The number of licenses purchased under this billing account license config. |
licenseConfigDistributions |
A map of LicenseConfig names to the number of licenses distributed to each. The key is the full resource name of the LicenseConfig, such as |
subscriptionName |
Output only. The corresponding SubV3 subscription name. |
subscriptionTier |
Required. The subscription tier. |
subscriptionTerm |
Required. The subscription term. |
startDate |
Required. The subscription start date. |
endDate |
Optional. The planed subscription end date. |
state |
Output only. The state of the BillingAccountLicenseConfig. |
autoRenew |
Whether the BillingAccountLicenseConfig is auto renewed when it reaches the end date. |
procurementEntitlementId |
The procurement entitlement id of the subscription. |
subscriptionDisplayName |
The subscription display name. |
geminiBundle |
Whether the license config is for Gemini bundle. |
earlyTerminated |
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 |
The date when the subscription is terminated earlier than the expiration date. |
State
BillingAccountLicenseConfig state enumeration.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
The BillingAccountLicenseConfig does not exist. Default value. Do not use. |
ACTIVE |
The BillingAccountLicenseConfig is active and being used. |
EXPIRED |
The BillingAccountLicenseConfig has expired. |
NOT_STARTED |
The BillingAccountLicenseConfig has not started yet, and its start date is in the future. |
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. |
Methods |
|
|---|---|
|
Distributes a LicenseConfig from billing account level to project level. |
|
Gets a BillingAccountLicenseConfig. |
|
Lists all BillingAccountLicenseConfigs for a given billing account. |
|
This method is called from the billing account side to retract the LicenseConfig from the given project back to the billing account. |