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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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, |
getSchema
Required. The Schema to update.
Returns | |
---|---|
Type | Description |
Google\Cloud\DiscoveryEngine\V1beta\Schema|null |
hasSchema
clearSchema
setSchema
Required. The Schema to update.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DiscoveryEngine\V1beta\Schema
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |