Class Field
Message contains EntityType's Field metadata.
Implements
Inherited Members
Namespace: Google.Apis.Connectors.v2.Data
Assembly: Google.Apis.Connectors.v2.dll
Syntax
public class Field : IDirectResponseSchema
Properties
AdditionalDetails
The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields.
Declaration
[JsonProperty("additionalDetails")]
public virtual IDictionary<string, object> AdditionalDetails { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, object> |
DataType
The data type of the Field.
Declaration
[JsonProperty("dataType")]
public virtual string DataType { get; set; }
Property Value
Type | Description |
---|---|
string |
DefaultValue
The following field specifies the default value of the Field provided by the external system if a value is not provided.
Declaration
[JsonProperty("defaultValue")]
public virtual object DefaultValue { get; set; }
Property Value
Type | Description |
---|---|
object |
Description
A brief description of the Field.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
JsonSchema
JsonSchema of the field, applicable only if field is of type STRUCT
Declaration
[JsonProperty("jsonSchema")]
public virtual JsonSchema JsonSchema { get; set; }
Property Value
Type | Description |
---|---|
JsonSchema |
Key
The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity.
Declaration
[JsonProperty("key")]
public virtual bool? Key { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Name
Name of the Field.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Nullable
Specifies whether a null value is allowed.
Declaration
[JsonProperty("nullable")]
public virtual bool? Nullable { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Reference
Reference captures the association between two different entity types. Value links to the reference of another entity type.
Declaration
[JsonProperty("reference")]
public virtual Reference Reference { get; set; }
Property Value
Type | Description |
---|---|
Reference |