Google Cloud Discovery Engine V1beta Client - Class UpdateSchemaRequest (0.8.0)

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

Request message for SchemaService.UpdateSchema method.

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

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ schema Google\Cloud\DiscoveryEngine\V1beta\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\V1beta\Schema|null

hasSchema

clearSchema

setSchema

Required. The Schema to update.

Parameter
NameDescription
var Google\Cloud\DiscoveryEngine\V1beta\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