Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class Schema.
Defines the structure and layout of a type of document data.
Generated from protobuf message google.cloud.discoveryengine.v1beta.Schema
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ struct_schema
↳ json_schema
string
The JSON representation of the schema.
↳ name
string
Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}
. This field must be a UTF-8 encoded string with a length limit of 1024 characters.
getStructSchema
The structured representation of the schema.
hasStructSchema
setStructSchema
The structured representation of the schema.
$this
getJsonSchema
The JSON representation of the schema.
string
hasJsonSchema
setJsonSchema
The JSON representation of the schema.
var
string
$this
getName
Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}
.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
string
setName
Immutable. The full resource name of the schema, in the format of projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}
.
This field must be a UTF-8 encoded string with a length limit of 1024 characters.
var
string
$this
getSchema
string