Class XPSDataType
Indicated the type of data that can be stored in a structured data entity (e.g. a table).
Implements
Inherited Members
Namespace: Google.Apis.CloudNaturalLanguage.v1.Data
Assembly: Google.Apis.CloudNaturalLanguage.v1.dll
Syntax
public class XPSDataType : IDirectResponseSchema
Properties
CompatibleDataTypes
The highly compatible data types to this data type.
Declaration
[JsonProperty("compatibleDataTypes")]
public virtual IList<XPSDataType> CompatibleDataTypes { get; set; }
Property Value
Type | Description |
---|---|
IList<XPSDataType> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ListElementType
If type_code == ARRAY, then list_element_type
is the type of the elements.
Declaration
[JsonProperty("listElementType")]
public virtual XPSDataType ListElementType { get; set; }
Property Value
Type | Description |
---|---|
XPSDataType |
Nullable
If true, this DataType can also be null
.
Declaration
[JsonProperty("nullable")]
public virtual bool? Nullable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
StructType
If type_code == STRUCT, then struct_type
provides type information for the struct's fields.
Declaration
[JsonProperty("structType")]
public virtual XPSStructType StructType { get; set; }
Property Value
Type | Description |
---|---|
XPSStructType |
TimeFormat
If type_code == TIMESTAMP then time_format
provides the format in which that time field is expressed. The
time_format must be written in strftime
syntax. If time_format is not set, then the default format as
described on the field is used.
Declaration
[JsonProperty("timeFormat")]
public virtual string TimeFormat { get; set; }
Property Value
Type | Description |
---|---|
string |
TypeCode
Required. The TypeCode for this type.
Declaration
[JsonProperty("typeCode")]
public virtual string TypeCode { get; set; }
Property Value
Type | Description |
---|---|
string |