Google Cloud Vision Ai V1 Client - Class UpdateCorpusRequest (0.3.0)

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 \ V1

Methods

__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
Returns
Type
Description
$this

getUpdateMask

The list of fields to be updated.

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
corpus
Corpus

Required. The corpus which replaces the resource on the server.

updateMask
Google\Protobuf\FieldMask

The list of fields to be updated.

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: