Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ad82dc5

Browse files
committedMay 30, 2023
feat(drive): update the api
#### drive:v2 The following keys were deleted: - parameters.userIp (Total Keys: 2) - resources.files.methods.insert.supportsSubscription (Total Keys: 1) - resources.files.methods.watch (Total Keys: 2) The following keys were added: - parameters.$.xgafv (Total Keys: 2) - parameters.access_token (Total Keys: 2) - parameters.callback (Total Keys: 2) - parameters.uploadType (Total Keys: 2) - parameters.upload_protocol (Total Keys: 2) - resources.about.methods.get (Total Keys: 2) - resources.apps.methods.get.flatPath (Total Keys: 1) - resources.apps.methods.list (Total Keys: 2) - resources.changes.methods.get.flatPath (Total Keys: 1) - resources.changes.methods.get.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.changes.methods.get.parameters.teamDriveId.deprecated (Total Keys: 1) - resources.changes.methods.getStartPageToken (Total Keys: 2) - resources.changes.methods.getStartPageToken.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.changes.methods.getStartPageToken.parameters.teamDriveId.deprecated (Total Keys: 1) - resources.changes.methods.list (Total Keys: 2) - resources.changes.methods.list.parameters.includeTeamDriveItems.deprecated (Total Keys: 1) - resources.changes.methods.list.parameters.startChangeId.deprecated (Total Keys: 1) - resources.changes.methods.list.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.changes.methods.list.parameters.teamDriveId.deprecated (Total Keys: 1) - resources.changes.methods.watch (Total Keys: 2) - resources.changes.methods.watch.parameters.includeTeamDriveItems.deprecated (Total Keys: 1) - resources.changes.methods.watch.parameters.startChangeId.deprecated (Total Keys: 1) - resources.changes.methods.watch.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.changes.methods.watch.parameters.teamDriveId.deprecated (Total Keys: 1) - resources.channels.methods.stop (Total Keys: 2) - resources.children.methods.delete.flatPath (Total Keys: 1) - resources.children.methods.delete.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.children.methods.get.flatPath (Total Keys: 1) - resources.children.methods.insert.flatPath (Total Keys: 1) - resources.children.methods.insert.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.children.methods.insert.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.children.methods.list.flatPath (Total Keys: 1) - resources.comments.methods.delete.flatPath (Total Keys: 1) - resources.comments.methods.get.flatPath (Total Keys: 1) - resources.comments.methods.insert.flatPath (Total Keys: 1) - resources.comments.methods.list.flatPath (Total Keys: 1) - resources.comments.methods.patch.flatPath (Total Keys: 1) - resources.comments.methods.update.flatPath (Total Keys: 1) - resources.drives.methods.delete.flatPath (Total Keys: 1) - resources.drives.methods.get.flatPath (Total Keys: 1) - resources.drives.methods.hide.flatPath (Total Keys: 1) - resources.drives.methods.insert.flatPath (Total Keys: 1) - resources.drives.methods.list (Total Keys: 2) - resources.drives.methods.unhide.flatPath (Total Keys: 1) - resources.drives.methods.update.flatPath (Total Keys: 1) - resources.files.methods.copy.flatPath (Total Keys: 1) - resources.files.methods.copy.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.files.methods.copy.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.delete.flatPath (Total Keys: 1) - resources.files.methods.delete.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.files.methods.delete.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.emptyTrash (Total Keys: 2) - resources.files.methods.emptyTrash.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.files.methods.export (Total Keys: 2) - resources.files.methods.generateIds (Total Keys: 2) - resources.files.methods.get.flatPath (Total Keys: 1) - resources.files.methods.get.parameters.projection.deprecated (Total Keys: 1) - resources.files.methods.get.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.get.parameters.updateViewedDate.deprecated (Total Keys: 1) - resources.files.methods.insert (Total Keys: 2) - resources.files.methods.insert.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.files.methods.insert.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.list (Total Keys: 2) - resources.files.methods.list.parameters.corpus.deprecated (Total Keys: 1) - resources.files.methods.list.parameters.includeTeamDriveItems.deprecated (Total Keys: 1) - resources.files.methods.list.parameters.projection.deprecated (Total Keys: 1) - resources.files.methods.list.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.list.parameters.teamDriveId.deprecated (Total Keys: 1) - resources.files.methods.listLabels.flatPath (Total Keys: 1) - resources.files.methods.modifyLabels.flatPath (Total Keys: 1) - resources.files.methods.patch.flatPath (Total Keys: 1) - resources.files.methods.patch.parameters.convert.deprecated (Total Keys: 1) - resources.files.methods.patch.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.files.methods.patch.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.touch.flatPath (Total Keys: 1) - resources.files.methods.touch.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.trash.flatPath (Total Keys: 1) - resources.files.methods.trash.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.untrash.flatPath (Total Keys: 1) - resources.files.methods.untrash.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.update.flatPath (Total Keys: 1) - resources.files.methods.update.parameters.convert.deprecated (Total Keys: 1) - resources.files.methods.update.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.files.methods.update.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.watch.flatPath (Total Keys: 1) - resources.files.methods.watch.parameters.projection.deprecated (Total Keys: 1) - resources.files.methods.watch.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.watch.parameters.updateViewedDate.deprecated (Total Keys: 1) - resources.parents.methods.delete.flatPath (Total Keys: 1) - resources.parents.methods.delete.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.parents.methods.get.flatPath (Total Keys: 1) - resources.parents.methods.insert.flatPath (Total Keys: 1) - resources.parents.methods.insert.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.parents.methods.insert.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.parents.methods.list.flatPath (Total Keys: 1) - resources.permissions.methods.delete.flatPath (Total Keys: 1) - resources.permissions.methods.delete.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.get.flatPath (Total Keys: 1) - resources.permissions.methods.get.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.getIdForEmail.flatPath (Total Keys: 1) - resources.permissions.methods.insert.flatPath (Total Keys: 1) - resources.permissions.methods.insert.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.permissions.methods.insert.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.list.flatPath (Total Keys: 1) - resources.permissions.methods.list.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.patch.flatPath (Total Keys: 1) - resources.permissions.methods.patch.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.update.flatPath (Total Keys: 1) - resources.permissions.methods.update.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.properties.methods.delete.flatPath (Total Keys: 1) - resources.properties.methods.get.flatPath (Total Keys: 1) - resources.properties.methods.insert.flatPath (Total Keys: 1) - resources.properties.methods.list.flatPath (Total Keys: 1) - resources.properties.methods.patch.flatPath (Total Keys: 1) - resources.properties.methods.update.flatPath (Total Keys: 1) - resources.replies.methods.delete.flatPath (Total Keys: 1) - resources.replies.methods.get.flatPath (Total Keys: 1) - resources.replies.methods.insert.flatPath (Total Keys: 1) - resources.replies.methods.list.flatPath (Total Keys: 1) - resources.replies.methods.patch.flatPath (Total Keys: 1) - resources.replies.methods.update.flatPath (Total Keys: 1) - resources.teamdrives.methods.delete.flatPath (Total Keys: 1) - resources.teamdrives.methods.get.flatPath (Total Keys: 1) - resources.teamdrives.methods.insert.flatPath (Total Keys: 1) - resources.teamdrives.methods.list (Total Keys: 2) - resources.teamdrives.methods.update.flatPath (Total Keys: 1) The following keys were changed: - icons (Total Keys: 2) - resources.files.methods.insert.mediaUpload.maxSize (Total Keys: 1) - resources.files.methods.update.mediaUpload.maxSize (Total Keys: 1) #### drive:v3 The following keys were deleted: - parameters.userIp (Total Keys: 2) - resources.files.methods.create.supportsSubscription (Total Keys: 1) - resources.files.methods.watch (Total Keys: 2) - schemas.Drive.properties.name.annotations.required (Total Keys: 1) - schemas.Label.properties.kind.default (Total Keys: 1) - schemas.LabelField.properties.kind.default (Total Keys: 1) - schemas.LabelFieldModification.properties.kind.default (Total Keys: 1) - schemas.LabelList.properties.kind.default (Total Keys: 1) - schemas.LabelModification.properties.kind.default (Total Keys: 1) - schemas.ModifyLabelsRequest.properties.kind.default (Total Keys: 1) - schemas.ModifyLabelsResponse.properties.kind.default (Total Keys: 1) - schemas.TeamDrive.properties.name.annotations.required (Total Keys: 1) The following keys were added: - parameters.$.xgafv (Total Keys: 2) - parameters.access_token (Total Keys: 2) - parameters.callback (Total Keys: 2) - parameters.uploadType (Total Keys: 2) - parameters.upload_protocol (Total Keys: 2) - resources.about.methods.get (Total Keys: 2) - resources.changes.methods.getStartPageToken (Total Keys: 2) - resources.changes.methods.getStartPageToken.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.changes.methods.getStartPageToken.parameters.teamDriveId.deprecated (Total Keys: 1) - resources.changes.methods.list.flatPath (Total Keys: 1) - resources.changes.methods.list.parameters.includeTeamDriveItems.deprecated (Total Keys: 1) - resources.changes.methods.list.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.changes.methods.list.parameters.teamDriveId.deprecated (Total Keys: 1) - resources.changes.methods.watch.flatPath (Total Keys: 1) - resources.changes.methods.watch.parameters.includeTeamDriveItems.deprecated (Total Keys: 1) - resources.changes.methods.watch.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.changes.methods.watch.parameters.teamDriveId.deprecated (Total Keys: 1) - resources.channels.methods.stop (Total Keys: 2) - resources.comments.methods.create.flatPath (Total Keys: 1) - resources.comments.methods.delete.flatPath (Total Keys: 1) - resources.comments.methods.get.flatPath (Total Keys: 1) - resources.comments.methods.list.flatPath (Total Keys: 1) - resources.comments.methods.update.flatPath (Total Keys: 1) - resources.drives.methods.create.flatPath (Total Keys: 1) - resources.drives.methods.delete.flatPath (Total Keys: 1) - resources.drives.methods.get.flatPath (Total Keys: 1) - resources.drives.methods.hide.flatPath (Total Keys: 1) - resources.drives.methods.list (Total Keys: 2) - resources.drives.methods.unhide.flatPath (Total Keys: 1) - resources.drives.methods.update.flatPath (Total Keys: 1) - resources.files.methods.copy.flatPath (Total Keys: 1) - resources.files.methods.copy.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.create (Total Keys: 2) - resources.files.methods.create.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.delete.flatPath (Total Keys: 1) - resources.files.methods.delete.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.files.methods.delete.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.emptyTrash (Total Keys: 2) - resources.files.methods.emptyTrash.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.files.methods.export (Total Keys: 2) - resources.files.methods.generateIds (Total Keys: 2) - resources.files.methods.get.flatPath (Total Keys: 1) - resources.files.methods.get.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.list (Total Keys: 2) - resources.files.methods.list.parameters.corpus.deprecated (Total Keys: 1) - resources.files.methods.list.parameters.includeTeamDriveItems.deprecated (Total Keys: 1) - resources.files.methods.list.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.list.parameters.teamDriveId.deprecated (Total Keys: 1) - resources.files.methods.listLabels.flatPath (Total Keys: 1) - resources.files.methods.modifyLabels.flatPath (Total Keys: 1) - resources.files.methods.update.flatPath (Total Keys: 1) - resources.files.methods.update.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.files.methods.update.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.files.methods.watch.flatPath (Total Keys: 1) - resources.files.methods.watch.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.create.flatPath (Total Keys: 1) - resources.permissions.methods.create.parameters.enforceSingleParent.deprecated (Total Keys: 1) - resources.permissions.methods.create.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.delete.flatPath (Total Keys: 1) - resources.permissions.methods.delete.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.get.flatPath (Total Keys: 1) - resources.permissions.methods.get.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.list.flatPath (Total Keys: 1) - resources.permissions.methods.list.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.permissions.methods.update.flatPath (Total Keys: 1) - resources.permissions.methods.update.parameters.supportsTeamDrives.deprecated (Total Keys: 1) - resources.replies.methods.create.flatPath (Total Keys: 1) - resources.replies.methods.delete.flatPath (Total Keys: 1) - resources.replies.methods.get.flatPath (Total Keys: 1) - resources.replies.methods.list.flatPath (Total Keys: 1) - resources.replies.methods.update.flatPath (Total Keys: 1) - resources.teamdrives.methods.create.flatPath (Total Keys: 1) - resources.teamdrives.methods.delete.flatPath (Total Keys: 1) - resources.teamdrives.methods.get.flatPath (Total Keys: 1) - resources.teamdrives.methods.list (Total Keys: 2) - resources.teamdrives.methods.update.flatPath (Total Keys: 1) The following keys were changed: - icons (Total Keys: 2) - resources.files.methods.create.mediaUpload.maxSize (Total Keys: 1) - resources.files.methods.update.mediaUpload.maxSize (Total Keys: 1)
1 parent 054b650 commit ad82dc5

28 files changed

+10018
-10870
lines changed
 

‎docs/dyn/drive_v2.about.html

+23-25
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@
7272

7373
</style>
7474

75-
<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.about.html">about</a></h1>
75+
<h1><a href="drive_v2.html">Google Drive API</a> . <a href="drive_v2.about.html">about</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#get">get(includeSubscribed=None, maxChangeIdCount=None, startChangeId=None)</a></code></p>
81+
<code><a href="#get">get(includeSubscribed=None, maxChangeIdCount=None, startChangeId=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Gets the information about the current user along with Drive API settings</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
@@ -87,13 +87,17 @@ <h3>Method Details</h3>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="get">get(includeSubscribed=None, maxChangeIdCount=None, startChangeId=None)</code>
90+
<code class="details" id="get">get(includeSubscribed=None, maxChangeIdCount=None, startChangeId=None, x__xgafv=None)</code>
9191
<pre>Gets the information about the current user along with Drive API settings
9292

9393
Args:
94-
includeSubscribed: boolean, Whether to count changes outside the My Drive hierarchy. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the maxChangeIdCount.
94+
includeSubscribed: boolean, Whether to count changes outside the My Drive hierarchy. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the `maxChangeIdCount`.
9595
maxChangeIdCount: string, Maximum number of remaining change IDs to count
9696
startChangeId: string, Change ID to start counting from when calculating number of remaining change IDs
97+
x__xgafv: string, V1 error format.
98+
Allowed values
99+
1 - v1 error format
100+
2 - v2 error format
97101

98102
Returns:
99103
An object of the form:
@@ -113,12 +117,8 @@ <h3>Method Details</h3>
113117
},
114118
],
115119
&quot;canCreateDrives&quot;: True or False, # Whether the user can create shared drives.
116-
&quot;canCreateTeamDrives&quot;: True or False, # Deprecated - use canCreateDrives instead.
117-
&quot;domainSharingPolicy&quot;: &quot;A String&quot;, # The domain sharing policy for the current user. Possible values are:
118-
# - allowed
119-
# - allowedWithWarning
120-
# - incomingOnly
121-
# - disallowed
120+
&quot;canCreateTeamDrives&quot;: True or False, # Deprecated: Use `canCreateDrives` instead.
121+
&quot;domainSharingPolicy&quot;: &quot;A String&quot;, # The domain sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` * `incomingOnly` * `disallowed`
122122
&quot;driveThemes&quot;: [ # A list of themes that are supported for shared drives.
123123
{
124124
&quot;backgroundImageLink&quot;: &quot;A String&quot;, # A link to this theme&#x27;s background image.
@@ -153,7 +153,7 @@ <h3>Method Details</h3>
153153
},
154154
],
155155
&quot;isCurrentAppInstalled&quot;: True or False, # A boolean indicating whether the authenticated app is installed by the authenticated user.
156-
&quot;kind&quot;: &quot;drive#about&quot;, # This is always drive#about.
156+
&quot;kind&quot;: &quot;drive#about&quot;, # This is always `drive#about`.
157157
&quot;languageCode&quot;: &quot;A String&quot;, # The user&#x27;s language or locale code, as defined by BCP 47, with some extensions from Unicode&#x27;s LDML format (http://www.unicode.org/reports/tr35/).
158158
&quot;largestChangeId&quot;: &quot;A String&quot;, # The largest change id.
159159
&quot;maxUploadSizes&quot;: [ # List of max upload sizes for each file type. The most specific type takes precedence.
@@ -174,27 +174,25 @@ <h3>Method Details</h3>
174174
&quot;quotaBytesUsed&quot;: &quot;A String&quot;, # The number of quota bytes used by Google Drive.
175175
&quot;quotaBytesUsedAggregate&quot;: &quot;A String&quot;, # The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
176176
&quot;quotaBytesUsedInTrash&quot;: &quot;A String&quot;, # The number of quota bytes used by trashed items.
177-
&quot;quotaType&quot;: &quot;A String&quot;, # The type of the user&#x27;s storage quota. Possible values are:
178-
# - LIMITED
179-
# - UNLIMITED
177+
&quot;quotaType&quot;: &quot;A String&quot;, # The type of the user&#x27;s storage quota. Possible values are: * `LIMITED` * `UNLIMITED`
180178
&quot;remainingChangeIds&quot;: &quot;A String&quot;, # The number of remaining change ids, limited to no more than 2500.
181179
&quot;rootFolderId&quot;: &quot;A String&quot;, # The id of the root folder.
182180
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this item.
183-
&quot;teamDriveThemes&quot;: [ # Deprecated - use driveThemes instead.
181+
&quot;teamDriveThemes&quot;: [ # Deprecated: Use `driveThemes` instead.
184182
{
185-
&quot;backgroundImageLink&quot;: &quot;A String&quot;, # Deprecated - use driveThemes/backgroundImageLink instead.
186-
&quot;colorRgb&quot;: &quot;A String&quot;, # Deprecated - use driveThemes/colorRgb instead.
187-
&quot;id&quot;: &quot;A String&quot;, # Deprecated - use driveThemes/id instead.
183+
&quot;backgroundImageLink&quot;: &quot;A String&quot;, # Deprecated: Use `driveThemes/backgroundImageLink` instead.
184+
&quot;colorRgb&quot;: &quot;A String&quot;, # Deprecated: Use `driveThemes/colorRgb` instead.
185+
&quot;id&quot;: &quot;A String&quot;, # Deprecated: Use `driveThemes/id` instead.
188186
},
189187
],
190188
&quot;user&quot;: { # Information about a Drive user. # The authenticated user.
191-
&quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
192-
&quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
193-
&quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
194-
&quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
195-
&quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
196-
&quot;picture&quot;: { # The user&#x27;s profile picture.
197-
&quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
189+
&quot;displayName&quot;: &quot;A String&quot;, # Output only. A plain text displayable name for this user.
190+
&quot;emailAddress&quot;: &quot;A String&quot;, # Output only. The email address of the user.
191+
&quot;isAuthenticatedUser&quot;: True or False, # Output only. Whether this user is the same as the authenticated user for whom the request was made.
192+
&quot;kind&quot;: &quot;drive#user&quot;, # Output only. This is always `drive#user`.
193+
&quot;permissionId&quot;: &quot;A String&quot;, # Output only. The user&#x27;s ID as visible in the permissions collection.
194+
&quot;picture&quot;: { # Output only. The user&#x27;s profile picture.
195+
&quot;url&quot;: &quot;A String&quot;, # Output Only. A URL that points to a profile picture of this user.
198196
},
199197
},
200198
}</pre>

‎docs/dyn/drive_v2.apps.html

+22-20
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,16 @@
7272

7373
</style>
7474

75-
<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.apps.html">apps</a></h1>
75+
<h1><a href="drive_v2.html">Google Drive API</a> . <a href="drive_v2.apps.html">apps</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#get">get(appId)</a></code></p>
81+
<code><a href="#get">get(appId, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Gets a specific app.</p>
8383
<p class="toc_element">
84-
<code><a href="#list">list(appFilterExtensions=None, appFilterMimeTypes=None, languageCode=None)</a></code></p>
84+
<code><a href="#list">list(appFilterExtensions=None, appFilterMimeTypes=None, languageCode=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Lists a user's installed apps.</p>
8686
<h3>Method Details</h3>
8787
<div class="method">
@@ -90,11 +90,15 @@ <h3>Method Details</h3>
9090
</div>
9191

9292
<div class="method">
93-
<code class="details" id="get">get(appId)</code>
93+
<code class="details" id="get">get(appId, x__xgafv=None)</code>
9494
<pre>Gets a specific app.
9595

9696
Args:
9797
appId: string, The ID of the app. (required)
98+
x__xgafv: string, V1 error format.
99+
Allowed values
100+
1 - v1 error format
101+
2 - v2 error format
98102

99103
Returns:
100104
An object of the form:
@@ -106,21 +110,18 @@ <h3>Method Details</h3>
106110
&quot;hasDriveWideScope&quot;: True or False, # Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user&#x27;s drive.
107111
&quot;icons&quot;: [ # The various icons for the app.
108112
{
109-
&quot;category&quot;: &quot;A String&quot;, # Category of the icon. Allowed values are:
110-
# - application - icon for the application
111-
# - document - icon for a file associated with the app
112-
# - documentShared - icon for a shared file associated with the app
113+
&quot;category&quot;: &quot;A String&quot;, # Category of the icon. Allowed values are: * `application` - icon for the application * `document` - icon for a file associated with the app * `documentShared` - icon for a shared file associated with the app
113114
&quot;iconUrl&quot;: &quot;A String&quot;, # URL for the icon.
114115
&quot;size&quot;: 42, # Size of the icon. Represented as the maximum of the width and height.
115116
},
116117
],
117118
&quot;id&quot;: &quot;A String&quot;, # The ID of the app.
118119
&quot;installed&quot;: True or False, # Whether the app is installed.
119-
&quot;kind&quot;: &quot;drive#app&quot;, # This is always drive#app.
120+
&quot;kind&quot;: &quot;drive#app&quot;, # This is always `drive#app`.
120121
&quot;longDescription&quot;: &quot;A String&quot;, # A long description of the app.
121122
&quot;name&quot;: &quot;A String&quot;, # The name of the app.
122123
&quot;objectType&quot;: &quot;A String&quot;, # The type of object this app creates (e.g. Chart). If empty, the app name should be used instead.
123-
&quot;openUrlTemplate&quot;: &quot;A String&quot;, # The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the actual file ids. See Open Files for the full documentation.
124+
&quot;openUrlTemplate&quot;: &quot;A String&quot;, # The template url for opening files with this app. The template will contain `{ids}` and/or `{exportIds}` to be replaced by the actual file ids. See Open Files for the full documentation.
124125
&quot;primaryFileExtensions&quot;: [ # The list of primary file extensions.
125126
&quot;A String&quot;,
126127
],
@@ -145,13 +146,17 @@ <h3>Method Details</h3>
145146
</div>
146147

147148
<div class="method">
148-
<code class="details" id="list">list(appFilterExtensions=None, appFilterMimeTypes=None, languageCode=None)</code>
149+
<code class="details" id="list">list(appFilterExtensions=None, appFilterMimeTypes=None, languageCode=None, x__xgafv=None)</code>
149150
<pre>Lists a user&#x27;s installed apps.
150151

151152
Args:
152-
appFilterExtensions: string, A comma-separated list of file extensions for open with filtering. All apps within the given app query scope which can open any of the given file extensions will be included in the response. If appFilterMimeTypes are provided as well, the result is a union of the two resulting app lists.
153-
appFilterMimeTypes: string, A comma-separated list of MIME types for open with filtering. All apps within the given app query scope which can open any of the given MIME types will be included in the response. If appFilterExtensions are provided as well, the result is a union of the two resulting app lists.
153+
appFilterExtensions: string, A comma-separated list of file extensions for open with filtering. All apps within the given app query scope which can open any of the given file extensions will be included in the response. If `appFilterMimeTypes` are provided as well, the result is a union of the two resulting app lists.
154+
appFilterMimeTypes: string, A comma-separated list of MIME types for open with filtering. All apps within the given app query scope which can open any of the given MIME types will be included in the response. If `appFilterExtensions` are provided as well, the result is a union of the two resulting app lists.
154155
languageCode: string, A language or locale code, as defined by BCP 47, with some extensions from Unicode&#x27;s LDML format (http://www.unicode.org/reports/tr35/).
156+
x__xgafv: string, V1 error format.
157+
Allowed values
158+
1 - v1 error format
159+
2 - v2 error format
155160

156161
Returns:
157162
An object of the form:
@@ -169,21 +174,18 @@ <h3>Method Details</h3>
169174
&quot;hasDriveWideScope&quot;: True or False, # Whether the app has drive-wide scope. An app with drive-wide scope can access all files in the user&#x27;s drive.
170175
&quot;icons&quot;: [ # The various icons for the app.
171176
{
172-
&quot;category&quot;: &quot;A String&quot;, # Category of the icon. Allowed values are:
173-
# - application - icon for the application
174-
# - document - icon for a file associated with the app
175-
# - documentShared - icon for a shared file associated with the app
177+
&quot;category&quot;: &quot;A String&quot;, # Category of the icon. Allowed values are: * `application` - icon for the application * `document` - icon for a file associated with the app * `documentShared` - icon for a shared file associated with the app
176178
&quot;iconUrl&quot;: &quot;A String&quot;, # URL for the icon.
177179
&quot;size&quot;: 42, # Size of the icon. Represented as the maximum of the width and height.
178180
},
179181
],
180182
&quot;id&quot;: &quot;A String&quot;, # The ID of the app.
181183
&quot;installed&quot;: True or False, # Whether the app is installed.
182-
&quot;kind&quot;: &quot;drive#app&quot;, # This is always drive#app.
184+
&quot;kind&quot;: &quot;drive#app&quot;, # This is always `drive#app`.
183185
&quot;longDescription&quot;: &quot;A String&quot;, # A long description of the app.
184186
&quot;name&quot;: &quot;A String&quot;, # The name of the app.
185187
&quot;objectType&quot;: &quot;A String&quot;, # The type of object this app creates (e.g. Chart). If empty, the app name should be used instead.
186-
&quot;openUrlTemplate&quot;: &quot;A String&quot;, # The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the actual file ids. See Open Files for the full documentation.
188+
&quot;openUrlTemplate&quot;: &quot;A String&quot;, # The template url for opening files with this app. The template will contain `{ids}` and/or `{exportIds}` to be replaced by the actual file ids. See Open Files for the full documentation.
187189
&quot;primaryFileExtensions&quot;: [ # The list of primary file extensions.
188190
&quot;A String&quot;,
189191
],
@@ -206,7 +208,7 @@ <h3>Method Details</h3>
206208
&quot;useByDefault&quot;: True or False, # Whether the app is selected as the default handler for the types it supports.
207209
},
208210
],
209-
&quot;kind&quot;: &quot;drive#appList&quot;, # This is always drive#appList.
211+
&quot;kind&quot;: &quot;drive#appList&quot;, # This is always `drive#appList`.
210212
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this list.
211213
}</pre>
212214
</div>

‎docs/dyn/drive_v2.changes.html

+661-743
Large diffs are not rendered by default.

‎docs/dyn/drive_v2.channels.html

+13-9
Original file line numberDiff line numberDiff line change
@@ -72,43 +72,47 @@
7272

7373
</style>
7474

75-
<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.channels.html">channels</a></h1>
75+
<h1><a href="drive_v2.html">Google Drive API</a> . <a href="drive_v2.channels.html">channels</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#stop">stop(body=None)</a></code></p>
82-
<p class="firstline">Stop watching resources through this channel</p>
81+
<code><a href="#stop">stop(body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Stops watching resources through this channel.</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
8585
<code class="details" id="close">close()</code>
8686
<pre>Close httplib2 connections.</pre>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="stop">stop(body=None)</code>
91-
<pre>Stop watching resources through this channel
90+
<code class="details" id="stop">stop(body=None, x__xgafv=None)</code>
91+
<pre>Stops watching resources through this channel.
9292

9393
Args:
9494
body: object, The request body.
9595
The object takes the form of:
9696

97-
{ # An notification channel used to watch for resource changes.
97+
{ # A notification channel used to watch for resource changes.
9898
&quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
9999
&quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
100100
&quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
101-
&quot;kind&quot;: &quot;api#channel&quot;, # Identifies this as a notification channel used to watch for changes to a resource, which is &quot;api#channel&quot;.
101+
&quot;kind&quot;: &quot;api#channel&quot;, # Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`.
102102
&quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
103-
&quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
103+
&quot;a_key&quot;: &quot;A String&quot;,
104104
},
105105
&quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
106106
&quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
107107
&quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
108108
&quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
109-
&quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel. Valid values are &quot;web_hook&quot; (or &quot;webhook&quot;). Both values refer to a channel where Http requests are used to deliver messages.
109+
&quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
110110
}
111111

112+
x__xgafv: string, V1 error format.
113+
Allowed values
114+
1 - v1 error format
115+
2 - v2 error format
112116
</pre>
113117
</div>
114118

‎docs/dyn/drive_v2.children.html

+42-26
Original file line numberDiff line numberDiff line change
@@ -72,22 +72,22 @@
7272

7373
</style>
7474

75-
<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.children.html">children</a></h1>
75+
<h1><a href="drive_v2.html">Google Drive API</a> . <a href="drive_v2.children.html">children</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#delete">delete(folderId, childId, enforceSingleParent=None)</a></code></p>
81+
<code><a href="#delete">delete(folderId, childId, enforceSingleParent=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Removes a child from a folder.</p>
8383
<p class="toc_element">
84-
<code><a href="#get">get(folderId, childId)</a></code></p>
84+
<code><a href="#get">get(folderId, childId, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Gets a specific child reference.</p>
8686
<p class="toc_element">
87-
<code><a href="#insert">insert(folderId, body=None, enforceSingleParent=None, supportsAllDrives=None, supportsTeamDrives=None)</a></code></p>
87+
<code><a href="#insert">insert(folderId, body=None, enforceSingleParent=None, supportsAllDrives=None, supportsTeamDrives=None, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Inserts a file into a folder.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(folderId, maxResults=None, orderBy=None, pageToken=None, q=None)</a></code></p>
90+
<code><a href="#list">list(folderId, maxResults=None, orderBy=None, pageToken=None, q=None, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists a folder's children.</p>
9292
<p class="toc_element">
9393
<code><a href="#list_next">list_next()</a></code></p>
@@ -99,37 +99,45 @@ <h3>Method Details</h3>
9999
</div>
100100

101101
<div class="method">
102-
<code class="details" id="delete">delete(folderId, childId, enforceSingleParent=None)</code>
102+
<code class="details" id="delete">delete(folderId, childId, enforceSingleParent=None, x__xgafv=None)</code>
103103
<pre>Removes a child from a folder.
104104

105105
Args:
106106
folderId: string, The ID of the folder. (required)
107107
childId: string, The ID of the child. (required)
108-
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.
108+
enforceSingleParent: boolean, Deprecated: If an item is not in a shared drive and its last parent is removed, the item is placed under its owner&#x27;s root.
109+
x__xgafv: string, V1 error format.
110+
Allowed values
111+
1 - v1 error format
112+
2 - v2 error format
109113
</pre>
110114
</div>
111115

112116
<div class="method">
113-
<code class="details" id="get">get(folderId, childId)</code>
117+
<code class="details" id="get">get(folderId, childId, x__xgafv=None)</code>
114118
<pre>Gets a specific child reference.
115119

116120
Args:
117121
folderId: string, The ID of the folder. (required)
118122
childId: string, The ID of the child. (required)
123+
x__xgafv: string, V1 error format.
124+
Allowed values
125+
1 - v1 error format
126+
2 - v2 error format
119127

120128
Returns:
121129
An object of the form:
122130

123131
{ # A reference to a folder&#x27;s child.
124-
&quot;childLink&quot;: &quot;A String&quot;, # A link to the child.
132+
&quot;childLink&quot;: &quot;A String&quot;, # Output only. A link to the child.
125133
&quot;id&quot;: &quot;A String&quot;, # The ID of the child.
126-
&quot;kind&quot;: &quot;drive#childReference&quot;, # This is always drive#childReference.
127-
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this reference.
134+
&quot;kind&quot;: &quot;drive#childReference&quot;, # Output only. This is always `drive#childReference`.
135+
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this reference.
128136
}</pre>
129137
</div>
130138

131139
<div class="method">
132-
<code class="details" id="insert">insert(folderId, body=None, enforceSingleParent=None, supportsAllDrives=None, supportsTeamDrives=None)</code>
140+
<code class="details" id="insert">insert(folderId, body=None, enforceSingleParent=None, supportsAllDrives=None, supportsTeamDrives=None, x__xgafv=None)</code>
133141
<pre>Inserts a file into a folder.
134142

135143
Args:
@@ -138,37 +146,45 @@ <h3>Method Details</h3>
138146
The object takes the form of:
139147

140148
{ # A reference to a folder&#x27;s child.
141-
&quot;childLink&quot;: &quot;A String&quot;, # A link to the child.
149+
&quot;childLink&quot;: &quot;A String&quot;, # Output only. A link to the child.
142150
&quot;id&quot;: &quot;A String&quot;, # The ID of the child.
143-
&quot;kind&quot;: &quot;drive#childReference&quot;, # This is always drive#childReference.
144-
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this reference.
151+
&quot;kind&quot;: &quot;drive#childReference&quot;, # Output only. This is always `drive#childReference`.
152+
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this reference.
145153
}
146154

147-
enforceSingleParent: boolean, Deprecated. Adding files to multiple folders is no longer supported. Use shortcuts instead.
155+
enforceSingleParent: boolean, Deprecated: Adding files to multiple folders is no longer supported. Use `shortcuts` instead.
148156
supportsAllDrives: boolean, Whether the requesting application supports both My Drives and shared drives.
149-
supportsTeamDrives: boolean, Deprecated use supportsAllDrives instead.
157+
supportsTeamDrives: boolean, Deprecated: Use `supportsAllDrives` instead.
158+
x__xgafv: string, V1 error format.
159+
Allowed values
160+
1 - v1 error format
161+
2 - v2 error format
150162

151163
Returns:
152164
An object of the form:
153165

154166
{ # A reference to a folder&#x27;s child.
155-
&quot;childLink&quot;: &quot;A String&quot;, # A link to the child.
167+
&quot;childLink&quot;: &quot;A String&quot;, # Output only. A link to the child.
156168
&quot;id&quot;: &quot;A String&quot;, # The ID of the child.
157-
&quot;kind&quot;: &quot;drive#childReference&quot;, # This is always drive#childReference.
158-
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this reference.
169+
&quot;kind&quot;: &quot;drive#childReference&quot;, # Output only. This is always `drive#childReference`.
170+
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this reference.
159171
}</pre>
160172
</div>
161173

162174
<div class="method">
163-
<code class="details" id="list">list(folderId, maxResults=None, orderBy=None, pageToken=None, q=None)</code>
175+
<code class="details" id="list">list(folderId, maxResults=None, orderBy=None, pageToken=None, q=None, x__xgafv=None)</code>
164176
<pre>Lists a folder&#x27;s children.
165177

166178
Args:
167179
folderId: string, The ID of the folder. (required)
168180
maxResults: integer, Maximum number of children to return.
169-
orderBy: string, A comma-separated list of sort keys. Valid keys are &#x27;createdDate&#x27;, &#x27;folder&#x27;, &#x27;lastViewedByMeDate&#x27;, &#x27;modifiedByMeDate&#x27;, &#x27;modifiedDate&#x27;, &#x27;quotaBytesUsed&#x27;, &#x27;recency&#x27;, &#x27;sharedWithMeDate&#x27;, &#x27;starred&#x27;, and &#x27;title&#x27;. Each key sorts ascending by default, but may be reversed with the &#x27;desc&#x27; modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.
181+
orderBy: string, A comma-separated list of sort keys. Valid keys are `createdDate`, `folder`, `lastViewedByMeDate`, `modifiedByMeDate`, `modifiedDate`, `quotaBytesUsed`, `recency`, `sharedWithMeDate`, `starred`, and `title`. Each key sorts ascending by default, but may be reversed with the `desc` modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored.
170182
pageToken: string, Page token for children.
171183
q: string, Query string for searching children.
184+
x__xgafv: string, V1 error format.
185+
Allowed values
186+
1 - v1 error format
187+
2 - v2 error format
172188

173189
Returns:
174190
An object of the form:
@@ -177,13 +193,13 @@ <h3>Method Details</h3>
177193
&quot;etag&quot;: &quot;A String&quot;, # The ETag of the list.
178194
&quot;items&quot;: [ # The list of children. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
179195
{ # A reference to a folder&#x27;s child.
180-
&quot;childLink&quot;: &quot;A String&quot;, # A link to the child.
196+
&quot;childLink&quot;: &quot;A String&quot;, # Output only. A link to the child.
181197
&quot;id&quot;: &quot;A String&quot;, # The ID of the child.
182-
&quot;kind&quot;: &quot;drive#childReference&quot;, # This is always drive#childReference.
183-
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this reference.
198+
&quot;kind&quot;: &quot;drive#childReference&quot;, # Output only. This is always `drive#childReference`.
199+
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this reference.
184200
},
185201
],
186-
&quot;kind&quot;: &quot;drive#childList&quot;, # This is always drive#childList.
202+
&quot;kind&quot;: &quot;drive#childList&quot;, # This is always `drive#childList`.
187203
&quot;nextLink&quot;: &quot;A String&quot;, # A link to the next page of children.
188204
&quot;nextPageToken&quot;: &quot;A String&quot;, # The page token for the next page of children. This will be absent if the end of the children list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
189205
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this list.

‎docs/dyn/drive_v2.comments.html

+286-294
Large diffs are not rendered by default.

‎docs/dyn/drive_v2.drives.html

+280-252
Large diffs are not rendered by default.

‎docs/dyn/drive_v2.files.html

+3,603-4,223
Large diffs are not rendered by default.

‎docs/dyn/drive_v2.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
</style>
7474

75-
<h1><a href="drive_v2.html">Drive API</a></h1>
75+
<h1><a href="drive_v2.html">Google Drive API</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="drive_v2.about.html">about()</a></code>

‎docs/dyn/drive_v2.parents.html

+45-29
Original file line numberDiff line numberDiff line change
@@ -72,22 +72,22 @@
7272

7373
</style>
7474

75-
<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.parents.html">parents</a></h1>
75+
<h1><a href="drive_v2.html">Google Drive API</a> . <a href="drive_v2.parents.html">parents</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#delete">delete(fileId, parentId, enforceSingleParent=None)</a></code></p>
81+
<code><a href="#delete">delete(fileId, parentId, enforceSingleParent=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Removes a parent from a file.</p>
8383
<p class="toc_element">
84-
<code><a href="#get">get(fileId, parentId)</a></code></p>
84+
<code><a href="#get">get(fileId, parentId, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Gets a specific parent reference.</p>
8686
<p class="toc_element">
87-
<code><a href="#insert">insert(fileId, body=None, enforceSingleParent=None, supportsAllDrives=None, supportsTeamDrives=None)</a></code></p>
87+
<code><a href="#insert">insert(fileId, body=None, enforceSingleParent=None, supportsAllDrives=None, supportsTeamDrives=None, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Adds a parent folder for a file.</p>
8989
<p class="toc_element">
90-
<code><a href="#list">list(fileId)</a></code></p>
90+
<code><a href="#list">list(fileId, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists a file's parents.</p>
9292
<h3>Method Details</h3>
9393
<div class="method">
@@ -96,38 +96,46 @@ <h3>Method Details</h3>
9696
</div>
9797

9898
<div class="method">
99-
<code class="details" id="delete">delete(fileId, parentId, enforceSingleParent=None)</code>
99+
<code class="details" id="delete">delete(fileId, parentId, enforceSingleParent=None, x__xgafv=None)</code>
100100
<pre>Removes a parent from a file.
101101

102102
Args:
103103
fileId: string, The ID of the file. (required)
104104
parentId: string, The ID of the parent. (required)
105-
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.
105+
enforceSingleParent: boolean, Deprecated: If an item is not in a shared drive and its last parent is removed, the item is placed under its owner&#x27;s root.
106+
x__xgafv: string, V1 error format.
107+
Allowed values
108+
1 - v1 error format
109+
2 - v2 error format
106110
</pre>
107111
</div>
108112

109113
<div class="method">
110-
<code class="details" id="get">get(fileId, parentId)</code>
114+
<code class="details" id="get">get(fileId, parentId, x__xgafv=None)</code>
111115
<pre>Gets a specific parent reference.
112116

113117
Args:
114118
fileId: string, The ID of the file. (required)
115119
parentId: string, The ID of the parent. (required)
120+
x__xgafv: string, V1 error format.
121+
Allowed values
122+
1 - v1 error format
123+
2 - v2 error format
116124

117125
Returns:
118126
An object of the form:
119127

120128
{ # A reference to a file&#x27;s parent.
121129
&quot;id&quot;: &quot;A String&quot;, # The ID of the parent.
122-
&quot;isRoot&quot;: True or False, # Whether or not the parent is the root folder.
123-
&quot;kind&quot;: &quot;drive#parentReference&quot;, # This is always drive#parentReference.
124-
&quot;parentLink&quot;: &quot;A String&quot;, # A link to the parent.
125-
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this reference.
130+
&quot;isRoot&quot;: True or False, # Output only. Whether or not the parent is the root folder.
131+
&quot;kind&quot;: &quot;drive#parentReference&quot;, # Output only. This is always `drive#parentReference`.
132+
&quot;parentLink&quot;: &quot;A String&quot;, # Output only. A link to the parent.
133+
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this reference.
126134
}</pre>
127135
</div>
128136

129137
<div class="method">
130-
<code class="details" id="insert">insert(fileId, body=None, enforceSingleParent=None, supportsAllDrives=None, supportsTeamDrives=None)</code>
138+
<code class="details" id="insert">insert(fileId, body=None, enforceSingleParent=None, supportsAllDrives=None, supportsTeamDrives=None, x__xgafv=None)</code>
131139
<pre>Adds a parent folder for a file.
132140

133141
Args:
@@ -137,34 +145,42 @@ <h3>Method Details</h3>
137145

138146
{ # A reference to a file&#x27;s parent.
139147
&quot;id&quot;: &quot;A String&quot;, # The ID of the parent.
140-
&quot;isRoot&quot;: True or False, # Whether or not the parent is the root folder.
141-
&quot;kind&quot;: &quot;drive#parentReference&quot;, # This is always drive#parentReference.
142-
&quot;parentLink&quot;: &quot;A String&quot;, # A link to the parent.
143-
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this reference.
148+
&quot;isRoot&quot;: True or False, # Output only. Whether or not the parent is the root folder.
149+
&quot;kind&quot;: &quot;drive#parentReference&quot;, # Output only. This is always `drive#parentReference`.
150+
&quot;parentLink&quot;: &quot;A String&quot;, # Output only. A link to the parent.
151+
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this reference.
144152
}
145153

146-
enforceSingleParent: boolean, Deprecated. Adding files to multiple folders is no longer supported. Use shortcuts instead.
154+
enforceSingleParent: boolean, Deprecated: Adding files to multiple folders is no longer supported. Use `shortcuts` instead.
147155
supportsAllDrives: boolean, Whether the requesting application supports both My Drives and shared drives.
148-
supportsTeamDrives: boolean, Deprecated use supportsAllDrives instead.
156+
supportsTeamDrives: boolean, Deprecated: Use `supportsAllDrives` instead.
157+
x__xgafv: string, V1 error format.
158+
Allowed values
159+
1 - v1 error format
160+
2 - v2 error format
149161

150162
Returns:
151163
An object of the form:
152164

153165
{ # A reference to a file&#x27;s parent.
154166
&quot;id&quot;: &quot;A String&quot;, # The ID of the parent.
155-
&quot;isRoot&quot;: True or False, # Whether or not the parent is the root folder.
156-
&quot;kind&quot;: &quot;drive#parentReference&quot;, # This is always drive#parentReference.
157-
&quot;parentLink&quot;: &quot;A String&quot;, # A link to the parent.
158-
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this reference.
167+
&quot;isRoot&quot;: True or False, # Output only. Whether or not the parent is the root folder.
168+
&quot;kind&quot;: &quot;drive#parentReference&quot;, # Output only. This is always `drive#parentReference`.
169+
&quot;parentLink&quot;: &quot;A String&quot;, # Output only. A link to the parent.
170+
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this reference.
159171
}</pre>
160172
</div>
161173

162174
<div class="method">
163-
<code class="details" id="list">list(fileId)</code>
175+
<code class="details" id="list">list(fileId, x__xgafv=None)</code>
164176
<pre>Lists a file&#x27;s parents.
165177

166178
Args:
167179
fileId: string, The ID of the file. (required)
180+
x__xgafv: string, V1 error format.
181+
Allowed values
182+
1 - v1 error format
183+
2 - v2 error format
168184

169185
Returns:
170186
An object of the form:
@@ -174,13 +190,13 @@ <h3>Method Details</h3>
174190
&quot;items&quot;: [ # The list of parents.
175191
{ # A reference to a file&#x27;s parent.
176192
&quot;id&quot;: &quot;A String&quot;, # The ID of the parent.
177-
&quot;isRoot&quot;: True or False, # Whether or not the parent is the root folder.
178-
&quot;kind&quot;: &quot;drive#parentReference&quot;, # This is always drive#parentReference.
179-
&quot;parentLink&quot;: &quot;A String&quot;, # A link to the parent.
180-
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this reference.
193+
&quot;isRoot&quot;: True or False, # Output only. Whether or not the parent is the root folder.
194+
&quot;kind&quot;: &quot;drive#parentReference&quot;, # Output only. This is always `drive#parentReference`.
195+
&quot;parentLink&quot;: &quot;A String&quot;, # Output only. A link to the parent.
196+
&quot;selfLink&quot;: &quot;A String&quot;, # Output only. A link back to this reference.
181197
},
182198
],
183-
&quot;kind&quot;: &quot;drive#parentList&quot;, # This is always drive#parentList.
199+
&quot;kind&quot;: &quot;drive#parentList&quot;, # This is always `drive#parentList`.
184200
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this list.
185201
}</pre>
186202
</div>

‎docs/dyn/drive_v2.permissions.html

+298-422
Large diffs are not rendered by default.

‎docs/dyn/drive_v2.properties.html

+78-94
Large diffs are not rendered by default.

‎docs/dyn/drive_v2.replies.html

+142-134
Large diffs are not rendered by default.

‎docs/dyn/drive_v2.revisions.html

+158-138
Large diffs are not rendered by default.

‎docs/dyn/drive_v2.teamdrives.html

+115-95
Large diffs are not rendered by default.

‎docs/dyn/drive_v3.about.html

+19-15
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@
7272

7373
</style>
7474

75-
<h1><a href="drive_v3.html">Drive API</a> . <a href="drive_v3.about.html">about</a></h1>
75+
<h1><a href="drive_v3.html">Google Drive API</a> . <a href="drive_v3.about.html">about</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#get">get()</a></code></p>
81+
<code><a href="#get">get(x__xgafv=None)</a></code></p>
8282
<p class="firstline">Gets information about the user, the user's Drive, and system capabilities.</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
@@ -87,18 +87,22 @@ <h3>Method Details</h3>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="get">get()</code>
90+
<code class="details" id="get">get(x__xgafv=None)</code>
9191
<pre>Gets information about the user, the user&#x27;s Drive, and system capabilities.
9292

9393
Args:
94+
x__xgafv: string, V1 error format.
95+
Allowed values
96+
1 - v1 error format
97+
2 - v2 error format
9498

9599
Returns:
96100
An object of the form:
97101

98102
{ # Information about the user, the user&#x27;s Drive, and system capabilities.
99103
&quot;appInstalled&quot;: True or False, # Whether the user has installed the requesting app.
100104
&quot;canCreateDrives&quot;: True or False, # Whether the user can create shared drives.
101-
&quot;canCreateTeamDrives&quot;: True or False, # Deprecated - use canCreateDrives instead.
105+
&quot;canCreateTeamDrives&quot;: True or False, # Deprecated: Use `canCreateDrives` instead.
102106
&quot;driveThemes&quot;: [ # A list of themes that are supported for shared drives.
103107
{
104108
&quot;backgroundImageLink&quot;: &quot;A String&quot;, # A link to this theme&#x27;s background image.
@@ -119,7 +123,7 @@ <h3>Method Details</h3>
119123
&quot;A String&quot;,
120124
],
121125
},
122-
&quot;kind&quot;: &quot;drive#about&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;drive#about&quot;.
126+
&quot;kind&quot;: &quot;drive#about&quot;, # Identifies what kind of resource this is. Value: the fixed string `&quot;drive#about&quot;`.
123127
&quot;maxImportSizes&quot;: { # A map of maximum import sizes by MIME type, in bytes.
124128
&quot;a_key&quot;: &quot;A String&quot;,
125129
},
@@ -130,20 +134,20 @@ <h3>Method Details</h3>
130134
&quot;usageInDrive&quot;: &quot;A String&quot;, # The usage by all files in Google Drive.
131135
&quot;usageInDriveTrash&quot;: &quot;A String&quot;, # The usage by trashed files in Google Drive.
132136
},
133-
&quot;teamDriveThemes&quot;: [ # Deprecated - use driveThemes instead.
137+
&quot;teamDriveThemes&quot;: [ # Deprecated: Use `driveThemes` instead.
134138
{
135-
&quot;backgroundImageLink&quot;: &quot;A String&quot;, # Deprecated - use driveThemes/backgroundImageLink instead.
136-
&quot;colorRgb&quot;: &quot;A String&quot;, # Deprecated - use driveThemes/colorRgb instead.
137-
&quot;id&quot;: &quot;A String&quot;, # Deprecated - use driveThemes/id instead.
139+
&quot;backgroundImageLink&quot;: &quot;A String&quot;, # Deprecated: Use `driveThemes/backgroundImageLink` instead.
140+
&quot;colorRgb&quot;: &quot;A String&quot;, # Deprecated: Use `driveThemes/colorRgb` instead.
141+
&quot;id&quot;: &quot;A String&quot;, # Deprecated: Use `driveThemes/id` instead.
138142
},
139143
],
140144
&quot;user&quot;: { # Information about a Drive user. # The authenticated user.
141-
&quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
142-
&quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
143-
&quot;kind&quot;: &quot;drive#user&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;drive#user&quot;.
144-
&quot;me&quot;: True or False, # Whether this user is the requesting user.
145-
&quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in Permission resources.
146-
&quot;photoLink&quot;: &quot;A String&quot;, # A link to the user&#x27;s profile photo, if available.
145+
&quot;displayName&quot;: &quot;A String&quot;, # Output only. A plain text displayable name for this user.
146+
&quot;emailAddress&quot;: &quot;A String&quot;, # Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.
147+
&quot;kind&quot;: &quot;drive#user&quot;, # Output only. Identifies what kind of resource this is. Value: the fixed string `&quot;drive#user&quot;`.
148+
&quot;me&quot;: True or False, # Output only. Whether this user is the requesting user.
149+
&quot;permissionId&quot;: &quot;A String&quot;, # Output only. The user&#x27;s ID as visible in Permission resources.
150+
&quot;photoLink&quot;: &quot;A String&quot;, # Output only. A link to the user&#x27;s profile photo, if available.
147151
},
148152
}</pre>
149153
</div>

‎docs/dyn/drive_v3.changes.html

+287-313
Large diffs are not rendered by default.

‎docs/dyn/drive_v3.channels.html

+13-9
Original file line numberDiff line numberDiff line change
@@ -72,43 +72,47 @@
7272

7373
</style>
7474

75-
<h1><a href="drive_v3.html">Drive API</a> . <a href="drive_v3.channels.html">channels</a></h1>
75+
<h1><a href="drive_v3.html">Google Drive API</a> . <a href="drive_v3.channels.html">channels</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#stop">stop(body=None)</a></code></p>
82-
<p class="firstline">Stop watching resources through this channel</p>
81+
<code><a href="#stop">stop(body=None, x__xgafv=None)</a></code></p>
82+
<p class="firstline">Stops watching resources through this channel.</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
8585
<code class="details" id="close">close()</code>
8686
<pre>Close httplib2 connections.</pre>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="stop">stop(body=None)</code>
91-
<pre>Stop watching resources through this channel
90+
<code class="details" id="stop">stop(body=None, x__xgafv=None)</code>
91+
<pre>Stops watching resources through this channel.
9292

9393
Args:
9494
body: object, The request body.
9595
The object takes the form of:
9696

97-
{ # An notification channel used to watch for resource changes.
97+
{ # A notification channel used to watch for resource changes.
9898
&quot;address&quot;: &quot;A String&quot;, # The address where notifications are delivered for this channel.
9999
&quot;expiration&quot;: &quot;A String&quot;, # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
100100
&quot;id&quot;: &quot;A String&quot;, # A UUID or similar unique string that identifies this channel.
101-
&quot;kind&quot;: &quot;api#channel&quot;, # Identifies this as a notification channel used to watch for changes to a resource, which is &quot;api#channel&quot;.
101+
&quot;kind&quot;: &quot;api#channel&quot;, # Identifies this as a notification channel used to watch for changes to a resource, which is `api#channel`.
102102
&quot;params&quot;: { # Additional parameters controlling delivery channel behavior. Optional.
103-
&quot;a_key&quot;: &quot;A String&quot;, # Declares a new parameter by name.
103+
&quot;a_key&quot;: &quot;A String&quot;,
104104
},
105105
&quot;payload&quot;: True or False, # A Boolean value to indicate whether payload is wanted. Optional.
106106
&quot;resourceId&quot;: &quot;A String&quot;, # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
107107
&quot;resourceUri&quot;: &quot;A String&quot;, # A version-specific identifier for the watched resource.
108108
&quot;token&quot;: &quot;A String&quot;, # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
109-
&quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel. Valid values are &quot;web_hook&quot; (or &quot;webhook&quot;). Both values refer to a channel where Http requests are used to deliver messages.
109+
&quot;type&quot;: &quot;A String&quot;, # The type of delivery mechanism used for this channel.
110110
}
111111

112+
x__xgafv: string, V1 error format.
113+
Allowed values
114+
1 - v1 error format
115+
2 - v2 error format
112116
</pre>
113117
</div>
114118

‎docs/dyn/drive_v3.comments.html

+200-192
Large diffs are not rendered by default.

‎docs/dyn/drive_v3.drives.html

+283-255
Large diffs are not rendered by default.

‎docs/dyn/drive_v3.files.html

+1,818-2,115
Large diffs are not rendered by default.

‎docs/dyn/drive_v3.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
</style>
7474

75-
<h1><a href="drive_v3.html">Drive API</a></h1>
75+
<h1><a href="drive_v3.html">Google Drive API</a></h1>
7676
<h2>Instance Methods</h2>
7777
<p class="toc_element">
7878
<code><a href="drive_v3.about.html">about()</a></code>

‎docs/dyn/drive_v3.permissions.html

+185-327
Large diffs are not rendered by default.

‎docs/dyn/drive_v3.replies.html

+110-102
Large diffs are not rendered by default.

‎docs/dyn/drive_v3.revisions.html

+100-84
Large diffs are not rendered by default.

‎docs/dyn/drive_v3.teamdrives.html

+109-89
Large diffs are not rendered by default.

‎googleapiclient/discovery_cache/documents/drive.v2.json

+652-485
Large diffs are not rendered by default.

‎googleapiclient/discovery_cache/documents/drive.v3.json

+474-378
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.