Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class DistributeLicenseConfigRequest.
Request message for LicenseConfigService.DistributeLicenseConfig method.
Generated from protobuf message google.cloud.discoveryengine.v1.DistributeLicenseConfigRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ billing_account_license_config |
string
Required. Full resource name of BillingAccountLicenseConfig. Format: |
↳ project_number |
int|string
Required. The target GCP project number to distribute the license config to. |
↳ location |
string
Required. The target GCP project region to distribute the license config to. |
↳ license_count |
int|string
Required. The number of licenses to distribute. |
↳ license_config_id |
string
Optional. Distribute seats to this license config instead of creating a new one. If not specified, a new license config will be created from the billing account license config. |
getBillingAccountLicenseConfig
Required. Full resource name of BillingAccountLicenseConfig.
Format:
billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setBillingAccountLicenseConfig
Required. Full resource name of BillingAccountLicenseConfig.
Format:
billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getProjectNumber
Required. The target GCP project number to distribute the license config to.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setProjectNumber
Required. The target GCP project number to distribute the license config to.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocation
Required. The target GCP project region to distribute the license config to.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLocation
Required. The target GCP project region to distribute the license config to.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLicenseCount
Required. The number of licenses to distribute.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setLicenseCount
Required. The number of licenses to distribute.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLicenseConfigId
Optional. Distribute seats to this license config instead of creating a new one. If not specified, a new license config will be created from the billing account license config.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLicenseConfigId
Optional. Distribute seats to this license config instead of creating a new one. If not specified, a new license config will be created from the billing account license config.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
billingAccountLicenseConfig |
string
Required. Full resource name of BillingAccountLicenseConfig. Format:
|
projectNumber |
int
Required. The target GCP project number to distribute the license config to. |
location |
string
Required. The target GCP project region to distribute the license config to. |
licenseCount |
int
Required. The number of licenses to distribute. |
licenseConfigId |
string
Optional. Distribute seats to this license config instead of creating a new one. If not specified, a new license config will be created from the billing account license config. |
| Returns | |
|---|---|
| Type | Description |
DistributeLicenseConfigRequest |
|