public sealed class DataSchema : IMessage<DataSchema>, IEquatable<DataSchema>, IDeepCloneable<DataSchema>, IBufferMessage, IMessageReference documentation and code samples for the Vision AI v1 API class DataSchema.
Data schema indicates how the user specified annotation is interpreted in the system.
Implements
IMessageDataSchema, IEquatableDataSchema, IDeepCloneableDataSchema, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
Google.Cloud.VisionAI.V1.dll
Constructors
DataSchema()
public DataSchema()DataSchema(DataSchema)
public DataSchema(DataSchema other)| Parameter | |
|---|---|
| Name | Description |
other |
DataSchema |
Properties
DataSchemaName
public DataSchemaName DataSchemaName { get; set; }DataSchemaName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
DataSchemaName |
|
Key
public string Key { get; set; }Required. The key of this data schema. This key should be matching the key of user specified annotation and unique inside corpus. This value can be up to 63 characters, and valid characters are /[a-z][0-9]-/. The first character must be a letter, the last could be a letter or a number.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Resource name of the data schema in the form of:
projects/{project_number}/locations/{location}/corpora/{corpus}/dataSchemas/{data_schema}
where {data_schema} part should be the same as the key field below.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SchemaDetails
public DataSchemaDetails SchemaDetails { get; set; }The schema details mapping to the key.
| Property Value | |
|---|---|
| Type | Description |
DataSchemaDetails |
|