Skip to main content

actions

Creates, updates, deletes, gets or lists a actions resource.

Overview

Nameactions
TypeResource
Idgoogle.connectors.actions

Fields

NameDatatypeDescription
namestringName of the action.
descriptionstringBrief Description of action
displayNamestringDisplay Name of action to be shown on client side
inputJsonSchemaobjectJsonSchema representation of schema metadata
inputParametersarrayList containing input parameter metadata.
resultJsonSchemaobjectJsonSchema representation of schema metadata
resultMetadataarrayList containing the metadata of result fields.

Methods

NameAccessible byRequired ParamsDescription
getSELECTactionsId, connectionsId, locationsId, projectsIdGets the schema of the given action.
listSELECTconnectionsId, locationsId, projectsIdGets the schema of all the actions supported by the connector.
executeEXECactionsId, connectionsId, locationsId, projectsIdExecutes an action with the name specified in the request. The input parameters for executing the action are passed through the body of the ExecuteAction request.

SELECT examples

Gets the schema of all the actions supported by the connector.

SELECT
name,
description,
displayName,
inputJsonSchema,
inputParameters,
resultJsonSchema,
resultMetadata
FROM google.connectors.actions
WHERE connectionsId = '{{ connectionsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';