Skip to main content

entity_types

Creates, updates, deletes, gets or lists an entity_types resource.

Overview

Nameentity_types
TypeResource
Idgoogle.connectors.entity_types

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringThe name of the entity type.
defaultSortBystring
fieldsarrayList containing metadata information about each field of the entity type.
jsonSchemaobjectJsonSchema representation of this entity's schema (id: JsonSchema)
metadataobjectMetadata like service latency, etc.
operationsarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, connectionsId, entityTypesIdview, contextMetadataGets metadata of given entity type
listselectprojectsId, locationsId, connectionsIdpageSize, pageToken, viewLists metadata related to all entity types present in the external system.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
connectionsIdstring
entityTypesIdstring
locationsIdstring
projectsIdstring
contextMetadatastring
pageSizeinteger (int32)
pageTokenstring
viewstring

SELECT examples

Gets metadata of given entity type

SELECT
name,
defaultSortBy,
fields,
jsonSchema,
metadata,
operations
FROM google.connectors.entity_types
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND connectionsId = '{{ connectionsId }}' -- required
AND entityTypesId = '{{ entityTypesId }}' -- required
AND view = '{{ view }}'
AND contextMetadata = '{{ contextMetadata }}';