Skip to content

Commit

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

The following keys were 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)
  • Loading branch information
yoshi-automation committed May 30, 2023
1 parent 054b650 commit ad82dc5
Show file tree
Hide file tree
Showing 28 changed files with 10,018 additions and 10,870 deletions.
48 changes: 23 additions & 25 deletions docs/dyn/drive_v2.about.html
Expand Up @@ -72,13 +72,13 @@

</style>

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

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

Args:
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.
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`.
maxChangeIdCount: string, Maximum number of remaining change IDs to count
startChangeId: string, Change ID to start counting from when calculating number of remaining change IDs
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:
Expand All @@ -113,12 +117,8 @@ <h3>Method Details</h3>
},
],
&quot;canCreateDrives&quot;: True or False, # Whether the user can create shared drives.
&quot;canCreateTeamDrives&quot;: True or False, # Deprecated - use canCreateDrives instead.
&quot;domainSharingPolicy&quot;: &quot;A String&quot;, # The domain sharing policy for the current user. Possible values are:
# - allowed
# - allowedWithWarning
# - incomingOnly
# - disallowed
&quot;canCreateTeamDrives&quot;: True or False, # Deprecated: Use `canCreateDrives` instead.
&quot;domainSharingPolicy&quot;: &quot;A String&quot;, # The domain sharing policy for the current user. Possible values are: * `allowed` * `allowedWithWarning` * `incomingOnly` * `disallowed`
&quot;driveThemes&quot;: [ # A list of themes that are supported for shared drives.
{
&quot;backgroundImageLink&quot;: &quot;A String&quot;, # A link to this theme&#x27;s background image.
Expand Down Expand Up @@ -153,7 +153,7 @@ <h3>Method Details</h3>
},
],
&quot;isCurrentAppInstalled&quot;: True or False, # A boolean indicating whether the authenticated app is installed by the authenticated user.
&quot;kind&quot;: &quot;drive#about&quot;, # This is always drive#about.
&quot;kind&quot;: &quot;drive#about&quot;, # This is always `drive#about`.
&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/).
&quot;largestChangeId&quot;: &quot;A String&quot;, # The largest change id.
&quot;maxUploadSizes&quot;: [ # List of max upload sizes for each file type. The most specific type takes precedence.
Expand All @@ -174,27 +174,25 @@ <h3>Method Details</h3>
&quot;quotaBytesUsed&quot;: &quot;A String&quot;, # The number of quota bytes used by Google Drive.
&quot;quotaBytesUsedAggregate&quot;: &quot;A String&quot;, # The number of quota bytes used by all Google apps (Drive, Picasa, etc.).
&quot;quotaBytesUsedInTrash&quot;: &quot;A String&quot;, # The number of quota bytes used by trashed items.
&quot;quotaType&quot;: &quot;A String&quot;, # The type of the user&#x27;s storage quota. Possible values are:
# - LIMITED
# - UNLIMITED
&quot;quotaType&quot;: &quot;A String&quot;, # The type of the user&#x27;s storage quota. Possible values are: * `LIMITED` * `UNLIMITED`
&quot;remainingChangeIds&quot;: &quot;A String&quot;, # The number of remaining change ids, limited to no more than 2500.
&quot;rootFolderId&quot;: &quot;A String&quot;, # The id of the root folder.
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this item.
&quot;teamDriveThemes&quot;: [ # Deprecated - use driveThemes instead.
&quot;teamDriveThemes&quot;: [ # Deprecated: Use `driveThemes` instead.
{
&quot;backgroundImageLink&quot;: &quot;A String&quot;, # Deprecated - use driveThemes/backgroundImageLink instead.
&quot;colorRgb&quot;: &quot;A String&quot;, # Deprecated - use driveThemes/colorRgb instead.
&quot;id&quot;: &quot;A String&quot;, # Deprecated - use driveThemes/id instead.
&quot;backgroundImageLink&quot;: &quot;A String&quot;, # Deprecated: Use `driveThemes/backgroundImageLink` instead.
&quot;colorRgb&quot;: &quot;A String&quot;, # Deprecated: Use `driveThemes/colorRgb` instead.
&quot;id&quot;: &quot;A String&quot;, # Deprecated: Use `driveThemes/id` instead.
},
],
&quot;user&quot;: { # Information about a Drive user. # The authenticated user.
&quot;displayName&quot;: &quot;A String&quot;, # A plain text displayable name for this user.
&quot;emailAddress&quot;: &quot;A String&quot;, # The email address of the user.
&quot;isAuthenticatedUser&quot;: True or False, # Whether this user is the same as the authenticated user for whom the request was made.
&quot;kind&quot;: &quot;drive#user&quot;, # This is always drive#user.
&quot;permissionId&quot;: &quot;A String&quot;, # The user&#x27;s ID as visible in the permissions collection.
&quot;picture&quot;: { # The user&#x27;s profile picture.
&quot;url&quot;: &quot;A String&quot;, # A URL that points to a profile picture of this user.
&quot;displayName&quot;: &quot;A String&quot;, # Output only. A plain text displayable name for this user.
&quot;emailAddress&quot;: &quot;A String&quot;, # Output only. The email address of the user.
&quot;isAuthenticatedUser&quot;: True or False, # Output only. Whether this user is the same as the authenticated user for whom the request was made.
&quot;kind&quot;: &quot;drive#user&quot;, # Output only. This is always `drive#user`.
&quot;permissionId&quot;: &quot;A String&quot;, # Output only. The user&#x27;s ID as visible in the permissions collection.
&quot;picture&quot;: { # Output only. The user&#x27;s profile picture.
&quot;url&quot;: &quot;A String&quot;, # Output Only. A URL that points to a profile picture of this user.
},
},
}</pre>
Expand Down
42 changes: 22 additions & 20 deletions docs/dyn/drive_v2.apps.html
Expand Up @@ -72,16 +72,16 @@

</style>

<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.apps.html">apps</a></h1>
<h1><a href="drive_v2.html">Google Drive API</a> . <a href="drive_v2.apps.html">apps</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
<code><a href="#close">close()</a></code></p>
<p class="firstline">Close httplib2 connections.</p>
<p class="toc_element">
<code><a href="#get">get(appId)</a></code></p>
<code><a href="#get">get(appId, x__xgafv=None)</a></code></p>
<p class="firstline">Gets a specific app.</p>
<p class="toc_element">
<code><a href="#list">list(appFilterExtensions=None, appFilterMimeTypes=None, languageCode=None)</a></code></p>
<code><a href="#list">list(appFilterExtensions=None, appFilterMimeTypes=None, languageCode=None, x__xgafv=None)</a></code></p>
<p class="firstline">Lists a user's installed apps.</p>
<h3>Method Details</h3>
<div class="method">
Expand All @@ -90,11 +90,15 @@ <h3>Method Details</h3>
</div>

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

Args:
appId: string, The ID of the app. (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:
Expand All @@ -106,21 +110,18 @@ <h3>Method Details</h3>
&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.
&quot;icons&quot;: [ # The various icons for the app.
{
&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
&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
&quot;iconUrl&quot;: &quot;A String&quot;, # URL for the icon.
&quot;size&quot;: 42, # Size of the icon. Represented as the maximum of the width and height.
},
],
&quot;id&quot;: &quot;A String&quot;, # The ID of the app.
&quot;installed&quot;: True or False, # Whether the app is installed.
&quot;kind&quot;: &quot;drive#app&quot;, # This is always drive#app.
&quot;kind&quot;: &quot;drive#app&quot;, # This is always `drive#app`.
&quot;longDescription&quot;: &quot;A String&quot;, # A long description of the app.
&quot;name&quot;: &quot;A String&quot;, # The name of the app.
&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.
&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.
&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.
&quot;primaryFileExtensions&quot;: [ # The list of primary file extensions.
&quot;A String&quot;,
],
Expand All @@ -145,13 +146,17 @@ <h3>Method Details</h3>
</div>

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

Args:
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.
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.
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.
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.
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/).
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format

Returns:
An object of the form:
Expand All @@ -169,21 +174,18 @@ <h3>Method Details</h3>
&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.
&quot;icons&quot;: [ # The various icons for the app.
{
&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
&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
&quot;iconUrl&quot;: &quot;A String&quot;, # URL for the icon.
&quot;size&quot;: 42, # Size of the icon. Represented as the maximum of the width and height.
},
],
&quot;id&quot;: &quot;A String&quot;, # The ID of the app.
&quot;installed&quot;: True or False, # Whether the app is installed.
&quot;kind&quot;: &quot;drive#app&quot;, # This is always drive#app.
&quot;kind&quot;: &quot;drive#app&quot;, # This is always `drive#app`.
&quot;longDescription&quot;: &quot;A String&quot;, # A long description of the app.
&quot;name&quot;: &quot;A String&quot;, # The name of the app.
&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.
&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.
&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.
&quot;primaryFileExtensions&quot;: [ # The list of primary file extensions.
&quot;A String&quot;,
],
Expand All @@ -206,7 +208,7 @@ <h3>Method Details</h3>
&quot;useByDefault&quot;: True or False, # Whether the app is selected as the default handler for the types it supports.
},
],
&quot;kind&quot;: &quot;drive#appList&quot;, # This is always drive#appList.
&quot;kind&quot;: &quot;drive#appList&quot;, # This is always `drive#appList`.
&quot;selfLink&quot;: &quot;A String&quot;, # A link back to this list.
}</pre>
</div>
Expand Down

0 comments on commit ad82dc5

Please sign in to comment.