Google Cloud Discovery Engine V1 Client - Class UpdateSchemaRequest (0.8.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
NameDescription
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 will be created. In this situation, update_mask is ignored.

getSchema

Required. The Schema to update.

Returns
TypeDescription
Google\Cloud\DiscoveryEngine\V1\Schema|null

hasSchema

clearSchema

setSchema

Required. The Schema to update.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1\Schema
Returns
TypeDescription
$this

getAllowMissing

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

Returns
TypeDescription
bool

setAllowMissing

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

Parameter
NameDescription
var bool
Returns
TypeDescription
$this