Full name: projects.locations.instances.generateBindplaneLicense
instances.generateBindplaneLicense generates a new Bindplane license for a customer.
HTTP request
POST https://{endpoint}/v1alpha/{parent}:generateBindplaneLicense
Where {endpoint} is one of the supported service endpoints.
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent resource for which to generate the license. Format: projects/{project}/locations/{location}/instances/{instance} |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{ "trial": boolean, "ttl": string } |
| Fields | |
|---|---|
trial |
Optional. Signals that the license is intended to be used as a trial. Trial licenses are valid for 30 days. If true, ttl is ignored. |
ttl |
Optional. The TTL for this resource. If not set, or set to zero, the license will expire in 100 years. A duration in seconds with up to nine fractional digits, ending with ' |
Response body
BindplaneLicense represents a license for Bindplane integration.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{ "name": string, "credentialId": string, "type": enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the BindplaneLicense. Format: projects/{project}/locations/{location}/instances/{instance}/bindplaneLicenses/{bindplaneLicense} |
credentialId |
Output only. The credential ID for the license key. |
type |
Output only. The specific edition granted by this license, dictating the operational tier of the agent. |
provisioningState |
Output only. The provisioning state of the license. |
key |
Output only. The license key for Bindplane. |
Union field expiration. Expiration of the license. expiration can be only one of the following: |
|
expireTime |
The time the license will expire. 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: |
ttl |
Input only. The TTL for this resource. A duration in seconds with up to nine fractional digits, ending with ' |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platformhttps://www.googleapis.com/auth/chroniclehttps://www.googleapis.com/auth/chronicle.readonly
For more information, see the Authentication Overview.
Type
Defines the feature tier and capabilities available to the customer's Bindplane integration.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Unspecified license type. |
BINDPLANE_GOOGLE_EDITION |
Google edition license for Bindplane. |
BINDPLANE_ENTERPRISE_GOOGLE_EDITION |
Enterprise Google edition license for Bindplane. |
ProvisioningState
The current status of the license key generation and assignment process in the underlying licensing system.
| Enums | |
|---|---|
PROVISIONING_STATE_UNSPECIFIED |
Unspecified provisioning state. |
PENDING |
The license generation is in progress. |
ACTIVE |
The license has been generated and is active. |
ERROR |
The license generation has failed. |