Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class CreateLicenseConfigRequest.
Request message for LicenseConfigService.CreateLicenseConfig method.
Generated from protobuf message google.cloud.discoveryengine.v1.CreateLicenseConfigRequest
Namespace
Google \ Cloud \ DiscoveryEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource name, such as |
↳ license_config |
LicenseConfig
Required. The LicenseConfig to create. |
↳ license_config_id |
string
Optional. The ID to use for the LicenseConfig, which will become the final component of the LicenseConfig's resource name. We are using the tier (product edition) name as the license config id such as |
getParent
Required. The parent resource name, such as
projects/{project}/locations/{location}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource name, such as
projects/{project}/locations/{location}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLicenseConfig
Required. The LicenseConfig to create.
| Returns | |
|---|---|
| Type | Description |
LicenseConfig|null |
|
hasLicenseConfig
clearLicenseConfig
setLicenseConfig
Required. The LicenseConfig to create.
| Parameter | |
|---|---|
| Name | Description |
var |
LicenseConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLicenseConfigId
Optional. The ID to use for the
LicenseConfig, which will
become the final component of the
LicenseConfig's resource
name. We are using the tier (product edition) name as the license config id
such as search or search_and_assistant.
| Returns | |
|---|---|
| Type | Description |
string |
|
setLicenseConfigId
Optional. The ID to use for the
LicenseConfig, which will
become the final component of the
LicenseConfig's resource
name. We are using the tier (product edition) name as the license config id
such as search or search_and_assistant.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource name, such as
|
licenseConfig |
LicenseConfig
Required. The LicenseConfig to create. |
licenseConfigId |
string
Optional. The ID to use for the
LicenseConfig, which will
become the final component of the
LicenseConfig's resource
name. We are using the tier (product edition) name as the license config id
such as |
| Returns | |
|---|---|
| Type | Description |
CreateLicenseConfigRequest |
|