Skip to content

Commit ad82dc5

Browse files
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

Lines changed: 23 additions & 25 deletions
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

Lines changed: 22 additions & 20 deletions
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>

0 commit comments

Comments
 (0)