public sealed class Schema : IMessage<Schema>, IEquatable<Schema>, IDeepCloneable<Schema>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class Schema.
Defines the structure and layout of a type of document data.
Namespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
Schema()
public Schema()Schema(Schema)
public Schema(Schema other)| Parameter | |
|---|---|
| Name | Description |
other |
Schema |
Properties
HasJsonSchema
public bool HasJsonSchema { get; }Gets whether the "json_schema" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
JsonSchema
public string JsonSchema { get; set; }The JSON representation of the schema.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SchemaCase
public Schema.SchemaOneofCase SchemaCase { get; }| Property Value | |
|---|---|
| Type | Description |
SchemaSchemaOneofCase |
|
SchemaName
public SchemaName SchemaName { get; set; }SchemaName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
SchemaName |
|
StructSchema
public Struct StructSchema { get; set; }The structured representation of the schema.
| Property Value | |
|---|---|
| Type | Description |
Struct |
|