Google Cloud Discovery Engine V1 Client - Class UpdateSchemaRequest (1.2.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class UpdateSchemaRequest.

Request message for SchemaService.UpdateSchema method.

Generated from protobuf message google.cloud.discoveryengine.v1.UpdateSchemaRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ schema Google\Cloud\DiscoveryEngine\V1\Schema

Required. The Schema to update.

↳ allow_missing bool

If set to true, and the Schema is not found, a new Schema is created. In this situation, update_mask is ignored.

getSchema

Required. The Schema to update.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1\Schema|null

hasSchema

clearSchema

setSchema

Required. The Schema to update.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1\Schema
Returns
Type Description
$this

getAllowMissing

If set to true, and the Schema is not found, a new Schema is created. In this situation, update_mask is ignored.

Returns
Type Description
bool

setAllowMissing

If set to true, and the Schema is not found, a new Schema is created. In this situation, update_mask is ignored.

Parameter
Name Description
var bool
Returns
Type Description
$this