Googleapis Documentai
Googleapis Documentai is a connector for Google Cloud Document AI, used to extract and understand data from documents with machine learning.
- Base URL:
https://documentai.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
documentai_projects_locations_processortypes_get— GET /v1beta3/{name} — Gets a processor type detail.documentai_projects_locations_list— GET /v1beta3/{name}/locations — Lists information about the supported locations for this service.documentai_projects_locations_processors_process— GET /v1beta3/{parent}/evaluations — Retrieves a set of evaluations for a given processor version.documentai_projects_locations_processortypes_lis— GET /v1beta3/{parent}/processorTypes — Lists the processor types that exist.documentai_projects_locations_processors_list— GET /v1beta3/{parent}/processors — Lists all processors which belong to this project.documentai_projects_locations_fetchprocessortype— GET /v1beta3/{parent}:fetchProcessorTypes — Fetches processor types. Note that we do not use ListProcessorTypes here because
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: documentai_projects_locations_processortypes_get
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: documentai_projects_locations_processortypes_get, documentai_projects_locations_list, documentai_projects_locations_processors_process, documentai_projects_locations_processortypes_lis, documentai_projects_locations_processors_list, documentai_projects_locations_fetchprocessortype |
name |
string | no | — | Path parameter name (required by some operations). |
parent |
string | no | — | Path parameter parent (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |