Schema of a runtime entity.
JSON representation |
---|
{ "entity" : string , "fields" : [ { object ( |
Fields | |
---|---|
entity
|
Output only. Name of the entity. |
fields[]
|
Output only. List of fields in the entity. |
jsonSchema
|
Output only. JsonSchema representation of this entity's metadata |
operations[]
|
List of operations supported by this entity |
Field
Metadata of an entity field.
JSON representation |
---|
{ "field" : string , "description" : string , "dataType" : enum ( |
Fields | |
---|---|
field
|
Name of the Field. |
description
|
A brief description of the Field. |
dataType
|
The data type of the Field. |
key
|
The following boolean field specifies if the current Field acts as a primary key or id if the parent is of type entity. |
readonly
|
Specifies if the Field is readonly. |
nullable
|
Specifies whether a null value is allowed. |
defaultValue
|
The following field specifies the default value of the Field provided by the external system if a value is not provided. |
additionalDetails
|
The following map contains fields that are not explicitly mentioned above,this give connectors the flexibility to add new metadata fields. |
jsonSchema
|
JsonSchema representation of this entity's schema |
Operation
Operation values
Enums | |
---|---|
OPERATION_UNSPECIFIED
|
Operation unspecified. |
LIST
|
This operation means entity type supports LIST entities. |
GET
|
This operation means entity type supports GET entity. |
CREATE
|
This operation means entity type supports CREATE entity. |
UPDATE
|
This operation means entity type supports UPDATE entity. |
DELETE
|
This operation means entity type supports DELETE entity. |