Googleapis Language
Googleapis Language is a connector for Google's Cloud Natural Language API, which analyzes text for entities, sentiment, syntax, and classification.
- Base URL:
https://language.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
language_documents_analyzeentities— POST /v1beta1/documents:analyzeEntities — Finds named entities (currently proper names and common nouns) in the text alonglanguage_documents_analyzesentiment— POST /v1beta1/documents:analyzeSentiment — Analyzes the sentiment of the provided text.language_documents_analyzesyntax— POST /v1beta1/documents:analyzeSyntax — Analyzes the syntax of the text and provides sentence boundaries and tokenizatiolanguage_documents_annotatetext— POST /v1beta1/documents:annotateText — A convenience method that provides all the features that analyzeSentiment, analy
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: language_documents_analyzeentities
# (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: language_documents_analyzeentities, language_documents_analyzesentiment, language_documents_analyzesyntax, language_documents_annotatetext |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |