Googleapis Commentanalyzer
googleapis-commentanalyzer is a generated connector for Google's Comment Analyzer API, which analyzes user-generated text such as comments for attributes like toxicity.
- Base URL:
https://commentanalyzer.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
commentanalyzer_comments_analyze— POST /v1alpha1/comments:analyze — Analyzes the provided text and returns scores for requested attributes.commentanalyzer_comments_suggestscore— POST /v1alpha1/comments:suggestscore — Suggest comment scores as training data.
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: commentanalyzer_comments_analyze
# (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: commentanalyzer_comments_analyze, commentanalyzer_comments_suggestscore |
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. |