Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class UpdateSearchConfigRequest.
Request message for UpdateSearchConfig.
Generated from protobuf message google.cloud.visionai.v1.UpdateSearchConfigRequest
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ search_config |
SearchConfig
Required. The search configuration to update. The search configuration's |
↳ update_mask |
Google\Protobuf\FieldMask
The list of fields to be updated. If left unset, all field paths will be updated/overwritten. |
getSearchConfig
Required. The search configuration to update.
The search configuration's name field is used to identify the resource to
be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}
| Returns | |
|---|---|
| Type | Description |
SearchConfig|null |
|
hasSearchConfig
clearSearchConfig
setSearchConfig
Required. The search configuration to update.
The search configuration's name field is used to identify the resource to
be updated. Format:
projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}
| Parameter | |
|---|---|
| Name | Description |
var |
SearchConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
The list of fields to be updated. If left unset, all field paths will be updated/overwritten.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
The list of fields to be updated. If left unset, all field paths will be updated/overwritten.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|