Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class CreateSearchConfigRequest.
Request message for CreateSearchConfig.
Generated from protobuf message google.cloud.visionai.v1.CreateSearchConfigRequest
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent resource where this search configuration will be created. Format: |
↳ search_config |
SearchConfig
Required. The search config to create. |
↳ search_config_id |
string
Required. ID to use for the new search config. Will become the final component of the SearchConfig's resource name. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-_/. The first character must be a letter, the last could be a letter or a number. |
getParent
Required. The parent resource where this search configuration will be
created. Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Required. The parent resource where this search configuration will be
created. Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSearchConfig
Required. The search config to create.
| Returns | |
|---|---|
| Type | Description |
SearchConfig|null |
|
hasSearchConfig
clearSearchConfig
setSearchConfig
Required. The search config to create.
| Parameter | |
|---|---|
| Name | Description |
var |
SearchConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSearchConfigId
Required. ID to use for the new search config. Will become the final component of the SearchConfig's resource name. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-_/. The first character must be a letter, the last could be a letter or a number.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSearchConfigId
Required. ID to use for the new search config. Will become the final component of the SearchConfig's resource name. This value should be up to 63 characters, and valid characters are /[a-z][0-9]-_/. The first character must be a letter, the last could be a letter or a number.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|