oo connections
Connect Google with a browser link and manage your grants.
Connect Google with a browser link and manage your grants
oo connections list
Your Google accounts and explicit agent grants
oo connections listIt also takes the connection options.
oo connections google
Print a click-to-connect link for a person; no pasted code
oo connections google [options] [COMMAND]| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
--agent AGENT | no | grant this named agent the requested service access; an agent always requests for itself | ||
--capability CAPABILITY | no | a capability oo connections catalog marks available; required, repeat for several | ||
--client CLIENT | no | openorange, own | whose Google app the person approves: openorange (the default) or own, your organization's, once an administrator set it |
It also takes the connection options.
oo connections google client
Your organization's own Google OAuth client. Connections made with it get whatever it requests and Google grants; Google's rules for your app apply.
oo connections google client [COMMAND]It also takes the connection options.
oo connections google client show
The app set, and the redirect URI and JavaScript origin to register for it in Google Cloud
oo connections google client showIt also takes the connection options.
oo connections google client set
Set it from the OAuth client JSON file Google Cloud downloads
oo connections google client set [options]| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
--file FILE | yes | the downloaded client JSON file ({"web": ...} or {"installed": ...}) | ||
--picker-key-file FILE | no | a file holding the Google Picker API key, for Drive files you choose; - reads standard input |
It also takes the connection options.
oo connections google client clear
Remove it; every connection made with it ends
oo connections google client clear [options]| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
--yes | no | confirm it now; an agent passes it only once the person confirmed it in chat |
It also takes the connection options.
oo connections catalog
Discover Workspace capabilities, operations and parameter schemas
oo connections catalog [options]| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
--service SERVICE | no | show one service, for example gmail, calendar or sheets | ||
--operation OPERATION | no | show one operation with its complete parameter schema |
It also takes the connection options.
oo connections do
Perform a catalogued Workspace action using an explicitly selected connection
oo connections do [options] connection_id operation| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
connection_id | yes | the connection ID from oo connections list | ||
operation | yes | the exact operation ID from oo connections catalog | ||
--params PARAMS | no | {} | operation parameters as a JSON object | |
--params-file PARAMS_FILE | no | read operation parameters from a UTF-8 JSON file (up to 6 MiB) | ||
--param PARAM | no | one NAME=VALUE parameter; repeat for several; values may be JSON | ||
--save PATH | no | a read only: write the file it returns (a Drive download or export, a Gmail attachment) to PATH, a new file readable by you alone, instead of printing its content | ||
--yes | no | confirm it now; an agent passes it only once the person confirmed it in chat |
It also takes the connection options.
oo connections status
Follow a connection request
oo connections status request_id| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
request_id | yes | the request ID returned by oo connections google |
It also takes the connection options.
oo connections disconnect
End one explicit Google grant
oo connections disconnect [options] connection_id| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
connection_id | yes | the connection ID from oo connections list | ||
--yes | no | confirm it now; an agent passes it only once the person confirmed it in chat |
It also takes the connection options.
oo connections gmail-search
Search an explicitly selected Gmail connection (read only)
oo connections gmail-search [options] connection_id query| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
connection_id | yes | the connection ID from oo connections list | ||
query | yes | the Gmail search query, for example from:sender@example.com | ||
--limit LIMIT | no | 10 | maximum messages to return, from 1 to 20 (default: 10) | |
--page-token PAGE_TOKEN | no | the next-page token returned by an earlier search |
It also takes the connection options.
oo connections gmail-read
Read one message in an explicitly selected connection
oo connections gmail-read connection_id message_id| Argument | Required | Default | Choices | Description |
|---|---|---|---|---|
connection_id | yes | the connection ID from oo connections list | ||
message_id | yes | the message ID returned by oo connections gmail-search |
It also takes the connection options.