Skip to main content

resources

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

Overview

Nameresources
TypeResource
Idgoogle.connectors.resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
datastring (byte)The content of the resource.
metadataobjectMetadata like service latency, etc.
mimeTypestringThe MIME type of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, connectionsId, resourcesIdGets a specific resource.
listselectprojectsId, locationsId, connectionsIdpageSize, pageTokenLists all available resources.

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
locationsIdstring
projectsIdstring
resourcesIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets a specific resource.

SELECT
data,
metadata,
mimeType
FROM google.connectors.resources
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND connectionsId = '{{ connectionsId }}' -- required
AND resourcesId = '{{ resourcesId }}' -- required
;