Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class CreateSchemaRequest.
Request message for SchemaService.CreateSchema method.
Generated from protobuf message google.cloud.discoveryengine.v1beta.CreateSchemaRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
.
↳ schema
↳ schema_id
string
Required. The ID to use for the Schema , which will become the final component of the Schema.name . This field should conform to RFC-1034 standard with a length limit of 63 characters.
getParent
Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
.
string
setParent
Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
.
var
string
$this
getSchema
Required. The Schema to create.
hasSchema
clearSchema
setSchema
Required. The Schema to create.
$this
getSchemaId
Required. The ID to use for the Schema , which will become the final component of the Schema.name .
This field should conform to RFC-1034 standard with a length limit of 63 characters.
string
setSchemaId
Required. The ID to use for the Schema , which will become the final component of the Schema.name .
This field should conform to RFC-1034 standard with a length limit of 63 characters.
var
string
$this
static::build
parent
string
Required. The parent data store resource name, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
. Please see
{@see \Google\Cloud\DiscoveryEngine\V1beta\SchemaServiceClient::dataStoreName()} for help formatting this field.
schema
schemaId
string
Required. The ID to use for the Schema , which will become the final component of the Schema.name .
This field should conform to RFC-1034 standard with a length limit of 63 characters.