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 \ V1Methods
__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 will be created. In this situation, |
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 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 |