Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class UpdateCorpusRequest.
Request message for UpdateCorpus.
Generated from protobuf message google.cloud.visionai.v1.UpdateCorpusRequest
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ corpus |
Corpus
Required. The corpus which replaces the resource on the server. |
↳ update_mask |
Google\Protobuf\FieldMask
The list of fields to be updated. |
getCorpus
Required. The corpus which replaces the resource on the server.
| Returns | |
|---|---|
| Type | Description |
Corpus|null |
|
hasCorpus
clearCorpus
setCorpus
Required. The corpus which replaces the resource on the server.
| Parameter | |
|---|---|
| Name | Description |
var |
Corpus
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUpdateMask
The list of fields to be updated.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\FieldMask|null |
|
hasUpdateMask
clearUpdateMask
setUpdateMask
The list of fields to be updated.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\FieldMask
|
| Returns | |
|---|---|
| Type | Description |
$this |
|