Skip to content

Commit

Permalink
feat(drive): update the api
Browse files Browse the repository at this point in the history
#### drive:v2

The following keys were added:
- resources.files.methods.emptyTrash.parameters.driveId (Total Keys: 2)

#### drive:v3

The following keys were added:
- resources.files.methods.emptyTrash.parameters.driveId (Total Keys: 2)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent 748a134 commit cfb96ec
Show file tree
Hide file tree
Showing 5 changed files with 404 additions and 392 deletions.
17 changes: 9 additions & 8 deletions docs/dyn/drive_v2.files.html
Expand Up @@ -84,8 +84,8 @@ <h2>Instance Methods</h2>
<code><a href="#delete">delete(fileId, enforceSingleParent=None, supportsAllDrives=None, supportsTeamDrives=None)</a></code></p>
<p class="firstline">Permanently deletes a file by ID. Skips the trash. The currently authenticated user must own the file or be an organizer on the parent for shared drive files.</p>
<p class="toc_element">
<code><a href="#emptyTrash">emptyTrash(enforceSingleParent=None)</a></code></p>
<p class="firstline">Permanently deletes all of the user's trashed files.</p>
<code><a href="#emptyTrash">emptyTrash(driveId=None, enforceSingleParent=None)</a></code></p>
<p class="firstline">Permanently deletes all trashed files of a user or shared drive.</p>
<p class="toc_element">
<code><a href="#export">export(fileId, mimeType)</a></code></p>
<p class="firstline">Exports a Google Workspace document to the requested MIME type and returns exported byte content. Note that the exported content is limited to 10MB.</p>
Expand Down Expand Up @@ -136,10 +136,10 @@ <h2>Instance Methods</h2>
<p class="firstline">Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such as modifiedDate. This method supports patch semantics.</p>
<p class="toc_element">
<code><a href="#watch">watch(fileId, acknowledgeAbuse=None, body=None, includeLabels=None, includePermissionsForView=None, projection=None, revisionId=None, supportsAllDrives=None, supportsTeamDrives=None, updateViewedDate=None)</a></code></p>
<p class="firstline">Subscribes to changes to a file. While you can establish a channel for changes to a file on a shared drive, a change to a shared drive file won't create a notification.</p>
<p class="firstline">Subscribe to changes on a file.</p>
<p class="toc_element">
<code><a href="#watch_media">watch_media(fileId, acknowledgeAbuse=None, body=None, includeLabels=None, includePermissionsForView=None, projection=None, revisionId=None, supportsAllDrives=None, supportsTeamDrives=None, updateViewedDate=None)</a></code></p>
<p class="firstline">Subscribes to changes to a file. While you can establish a channel for changes to a file on a shared drive, a change to a shared drive file won't create a notification.</p>
<p class="firstline">Subscribe to changes on a file.</p>
<h3>Method Details</h3>
<div class="method">
<code class="details" id="close">close()</code>
Expand Down Expand Up @@ -1036,10 +1036,11 @@ <h3>Method Details</h3>
</div>

<div class="method">
<code class="details" id="emptyTrash">emptyTrash(enforceSingleParent=None)</code>
<pre>Permanently deletes all of the user&#x27;s trashed files.
<code class="details" id="emptyTrash">emptyTrash(driveId=None, enforceSingleParent=None)</code>
<pre>Permanently deletes all trashed files of a user or shared drive.

Args:
driveId: string, If set, empties the trash of the provided shared drive.
enforceSingleParent: boolean, Deprecated. If an item is not in a shared drive and its last parent is deleted but the item itself is not, the item will be placed under its owner&#x27;s root.
</pre>
</div>
Expand Down Expand Up @@ -6178,7 +6179,7 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="watch">watch(fileId, acknowledgeAbuse=None, body=None, includeLabels=None, includePermissionsForView=None, projection=None, revisionId=None, supportsAllDrives=None, supportsTeamDrives=None, updateViewedDate=None)</code>
<pre>Subscribes to changes to a file. While you can establish a channel for changes to a file on a shared drive, a change to a shared drive file won&#x27;t create a notification.
<pre>Subscribe to changes on a file.

Args:
fileId: string, The ID for the file in question. (required)
Expand Down Expand Up @@ -6233,7 +6234,7 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="watch_media">watch_media(fileId, acknowledgeAbuse=None, body=None, includeLabels=None, includePermissionsForView=None, projection=None, revisionId=None, supportsAllDrives=None, supportsTeamDrives=None, updateViewedDate=None)</code>
<pre>Subscribes to changes to a file. While you can establish a channel for changes to a file on a shared drive, a change to a shared drive file won&#x27;t create a notification.
<pre>Subscribe to changes on a file.

Args:
fileId: string, The ID for the file in question. (required)
Expand Down

0 comments on commit cfb96ec

Please sign in to comment.