Plugins / Google Drive
Google Drive 0.1.0
The Google Drive plugin lets a Vaubaan Gateway mission use Google Drive without handing the agent a credential. Google Drive through Google's Drive API: list folders, search and read files (Docs, Sheets and Slides as text), upload new files and create folders. No sharing, no deletion.
1 · The model
How Google Drive is modelled
1 plane, 4 things. The things that exist at the service and how they nest. Every permission is written over these; a resource of an account is one of them, named by its ref.
Account One account is one Google account, signed in at Google with nothing to create or paste.
Plane · driveThe files and folders one Google account can open.
root for the top of My Drive); without an identifier, a new one.1 exactly one, namedn a finite, known set* an unknown number, possibly all the resource carries the environment
Account
One account is one Google account, signed in at Google with nothing to create or paste.
Resource
One resource is its drive: everything the account can open. A mission reads what files are called and what they hold as two permissions, and creating folders and uploading files as two more; nothing is shared or deleted. Until Google reviews Vaubaan's access to Drive, Google's consent screen warns that the app is unverified.
Environment
- Rule
- No permission of this service depends on an environment: each is held once, whatever the resource.
- Known
- none
- Carried by
- nothing in the model
2 · Macro-actions
What an agent does at Google Drive: 2 macro-actions
A mission is made of them: the person ticks the ones the task needs and sets each to a trust level.
- 1
Read files
List folders, search files and read them.
Browsing the account's Drive: listing folders, searching by name and content, and reading documents, sheets, presentations and text files. Nothing changes, but files hold what a company keeps, and their text was written by others. Reading what a file holds is a permission apart from listing what files are called.
2 permissions
- 2
Add files
Create folders and upload new files.
Putting new files and folders in the account's Drive. Nothing existing is changed, shared or deleted. A new file is seen at once by everyone who can open its folder, and the agent cannot take it back, so uploading asks first unless the mission is trusted with it.
2 permissions
3 · The map
The map
4 permissions of 2 macro-actions, in the four rows of the tree. For the chosen trust level, each cell gives yes, ask me or no, and the quota a day.
A permission sits in the first row its facts answer: irreversible; costly to undo or unbounded cost; secret or personal data, whole account or bulk, moderate cost, public; otherwise harmless.
| Risk | Read filesList folders, search files and read them. | Add filesCreate folders and upload new files. |
|---|---|---|
| Cannot be repaired Careful: no. Trusting, Autonomous: ask me. | None | None |
| Repairable, at a price Careful, Trusting: ask me. Autonomous: runs freely. | None |
|
| Worth a look Careful: ask me. Trusting, Autonomous: runs freely. | None | None |
| Harmless Runs freely at every level. |
|
|
Careful: runs freely 3, ask me first 1. Trusting: runs freely 3, ask me first 1. Autonomous: runs freely 4, ask me first 0. Limits are counted over a mission's period: a day unless its creator picks another, or the mission's whole life for a one-off. The figures here are per day.
4 · A few calls
A few calls, classified by the plugin
6 declared calls, run through the plugin's own classifier when this page was built; here one per macro-action. The 6 calls, as code.
| The call | The plugin sees | The catalog answers | A Careful mission |
|---|---|---|---|
google_ |
|
| yes |
google_ |
|
| ask me |
5 · Anything else
Anything else
A call no permission covers touches google- instead of slipping through. No macro-action holds it; a person ticks it knowingly.
| Permission | Risk | Careful ×1 | Trusting ×3 | Autonomous ×10 |
|---|---|---|---|---|
Uncategorized writeWhy it sits here: Catch-all for writes without a dedicated entry. A mission creator who includes it allows the writes this catalog has not reviewed. google-drive.uncategorized-write | Repairable, at a price costly to undo | ask me · 50 a day | ask me · 150 a day | yes · 500 a day |
Left out on purpose — tools of the service this plugin does not expose:
google_: Sharing gives people outside the mission a file at once and for as long as nobody revokes it; a person shares by hand.drive__ share_ file google_: No deletion is offered, not even a move to the trash: what an agent writes stays until a person removes it.drive__ delete_ file google_: Changing who may open a file is the person's decision, never an agent's.drive__ update_ permissions
6 · Tools
Tools
5 tools. A tool's permissions depend on its arguments, so a mission is made of the macro-actions above, not of tools.
5 tools · scroll the list
| Tool | What it does | Usually touches |
|---|---|---|
google_ | List a folder | google- |
google_ | Search files | google- |
google_ | Read a file | google- |
google_ | Upload a file | google- |
google_ | Create a folder | google- |
7 · Connecting an account
Connecting an account
3 of 3 · you sign in through an OAuth broker oauth2 · broker · google
Google Drive signs in through the client of an OAuth broker: nothing is created or pasted, the person signs in at Google Drive and allows the gateway.
- Disconnecting
- In your Google account, open Security, then 'Third-party apps with account access', and remove the app this gateway signed you in with.
8 · Health
Health
0 gateways run this plugin (over the last 90 days).
No version of this plugin has reported a call or a gateway yet.
A version is marked validated by the community with at least 200 reports and a success rate of at least 90 %, over the last 90 days; a gateway shows that mark on the accounts of this service. The figures are refreshed at most hourly (what they mean). It is a community signal, not a security guarantee.
Calls are counted over the last 90 days from the instances that share plugin health. Gateways are counted over the same window among the instances that also share usage statistics, so they are a lower bound. The success rate leaves out calls refused for a rejected credential: a revoked token is the user's configuration, not the plugin.
9 · Links
Links
Last changed 2026-12-02. This page as Markdown: /plugins/google-drive.md