chore: regens API reference docs (#889)
diff --git a/docs/dyn/drive_v3.changes.html b/docs/dyn/drive_v3.changes.html
index 343fb2a..7d987a9 100644
--- a/docs/dyn/drive_v3.changes.html
+++ b/docs/dyn/drive_v3.changes.html
@@ -84,7 +84,7 @@
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
<p class="firstline">Retrieves the next page of results.</p>
<p class="toc_element">
- <code><a href="#watch">watch(pageToken, body, pageSize=None, supportsTeamDrives=None, spaces=None, includeRemoved=None, restrictToMyDrive=None, includeTeamDriveItems=None, teamDriveId=None, includeItemsFromAllDrives=None, supportsAllDrives=None, driveId=None, includeCorpusRemovals=None)</a></code></p>
+ <code><a href="#watch">watch(pageToken, body=None, pageSize=None, supportsTeamDrives=None, spaces=None, includeRemoved=None, restrictToMyDrive=None, includeTeamDriveItems=None, teamDriveId=None, includeItemsFromAllDrives=None, supportsAllDrives=None, driveId=None, includeCorpusRemovals=None)</a></code></p>
<p class="firstline">Subscribes to changes for a user.</p>
<h3>Method Details</h3>
<div class="method">
@@ -92,7 +92,7 @@
<pre>Gets the starting pageToken for listing future changes.
Args:
- driveId: string, The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned.
+ driveId: string, The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive is returned.
supportsTeamDrives: boolean, Deprecated use supportsAllDrives instead.
supportsAllDrives: boolean, Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
teamDriveId: string, Deprecated use driveId instead.
@@ -119,9 +119,9 @@
restrictToMyDrive: boolean, Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.
includeTeamDriveItems: boolean, Deprecated use includeItemsFromAllDrives instead.
teamDriveId: string, Deprecated use driveId instead.
- includeItemsFromAllDrives: boolean, Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.
+ includeItemsFromAllDrives: boolean, Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items are included in the results.
supportsAllDrives: boolean, Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
- driveId: string, The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.
+ driveId: string, The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.
includeCorpusRemovals: boolean, Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.
Returns:
@@ -242,6 +242,10 @@
"emailAddress": "A String", # 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.
"photoLink": "A String", # A link to the user's profile photo, if available.
},
+ "shortcutDetails": { # Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.
+ "targetId": "A String", # The ID of the file that this shortcut points to.
+ "targetMimeType": "A String", # The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target's MIME type, captured when the shortcut is created.
+ },
"size": "A String", # The size of the file's content in bytes. This is only applicable to files with binary content in Google Drive.
"videoMediaMetadata": { # Additional metadata about video media. This may not be available immediately upon upload.
"width": 42, # The width of the video in pixels.
@@ -270,10 +274,12 @@
"canMoveChildrenWithinTeamDrive": True or False, # Deprecated - use canMoveChildrenWithinDrive instead.
"canListChildren": True or False, # Whether the current user can list the children of this folder. This is always false when the item is not a folder.
"canRename": True or False, # Whether the current user can rename this file.
+ "canModifyContent": True or False, # Whether the current user can modify the content of this file.
"canReadDrive": True or False, # Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives.
"canAddChildren": True or False, # Whether the current user can add children to this folder. This is always false when the item is not a folder.
"canShare": True or False, # Whether the current user can modify the sharing settings for this file.
"canTrashChildren": True or False, # Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
+ "canAddMyDriveParent": True or False, # Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.
"canMoveChildrenWithinDrive": True or False, # Whether the current user can move children of this folder within the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.
"canReadRevisions": True or False, # Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
"canMoveItemWithinDrive": True or False, # Whether the current user can move this item within this shared drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added. Only populated for items in shared drives.
@@ -284,6 +290,7 @@
"canMoveChildrenOutOfDrive": True or False, # Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.
"canChangeViewersCanCopyContent": True or False, # Deprecated
"canTrash": True or False, # Whether the current user can move this file to trash.
+ "canRemoveMyDriveParent": True or False, # Whether the current user can remove a parent from the item without adding another parent in the same request. Not populated for shared drive files.
"canDelete": True or False, # Whether the current user can delete this file.
"canMoveTeamDriveItem": True or False, # Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
"canDownload": True or False, # Whether the current user can download this file.
@@ -291,7 +298,7 @@
"canMoveChildrenOutOfTeamDrive": True or False, # Deprecated - use canMoveChildrenOutOfDrive instead.
"canRemoveChildren": True or False, # Whether the current user can remove children from this folder. This is always false when the item is not a folder. For a folder in a shared drive, use canDeleteChildren or canTrashChildren instead.
"canReadTeamDrive": True or False, # Deprecated - use canReadDrive instead.
- "canEdit": True or False, # Whether the current user can edit this file.
+ "canEdit": True or False, # Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see canChangeCopyRequiresWriterPermission or canModifyContent.
},
"trashedTime": "A String", # The time that the item was trashed (RFC 3339 date-time). Only populated for items in shared drives.
"webViewLink": "A String", # A link for opening the file in a relevant Google editor or viewer in a browser.
@@ -356,7 +363,7 @@
"flashUsed": True or False, # Whether a flash was used to create the photo.
"time": "A String", # The date and time the photo was taken (EXIF DateTime).
"aperture": 3.14, # The aperture used to create the photo (f-number).
- "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "rotation": 42, # The number of clockwise 90 degree rotations applied from the image's original orientation.
"sensor": "A String", # The type of sensor used to create the photo.
"whiteBalance": "A String", # The white balance mode used to create the photo.
"cameraModel": "A String", # The model of the camera used to create the photo.
@@ -388,11 +395,15 @@
},
},
"fileExtension": "A String", # The final component of fullFileExtension. This is only available for files with binary content in Google Drive.
- "hasAugmentedPermissions": True or False, # Whether any users are granted file access directly on this file. This field is only populated for shared drive files.
+ "hasAugmentedPermissions": True or False, # Whether there are permissions directly on this file. This field is only populated for items in shared drives.
"permissions": [ # The full list of permissions for the file. This is only available if the requesting user can share the file. Not populated for items in shared drives.
{ # A permission for a file. A permission grants a user, group, domain or the world access to a file or a folder hierarchy.
"domain": "A String", # The domain to which this permission refers.
- "displayName": "A String", # A displayable name for users, groups or domains.
+ "displayName": "A String", # The "pretty" name of the value of the permission. The following is a list of examples for each type of permission:
+ # - user - User's full name, as defined for their Google account, such as "Joe Smith."
+ # - group - Name of the Google Group, such as "The Company Administrators."
+ # - domain - String domain name, such as "thecompany.com."
+ # - anyone - No displayName is present.
"teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
{
"inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
@@ -414,7 +425,7 @@
# - writer
# - commenter
# - reader
- "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the shared drive.
+ "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field.
"permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
# - file
# - member
@@ -436,8 +447,8 @@
# - user
# - group
# - domain
- # - anyone
- "id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as permissionId.
+ # - anyone When creating a permission, if type is user or group, you must provide an emailAddress for the user or group. When type is domain, you must provide a domain. There isn't extra information required for a anyone type.
+ "id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as permissionId. IDs should be treated as opaque values.
},
],
"headRevisionId": "A String", # The ID of the file's head revision. This is currently only available for files with binary content in Google Drive.
@@ -468,17 +479,17 @@
</div>
<div class="method">
- <code class="details" id="watch">watch(pageToken, body, pageSize=None, supportsTeamDrives=None, spaces=None, includeRemoved=None, restrictToMyDrive=None, includeTeamDriveItems=None, teamDriveId=None, includeItemsFromAllDrives=None, supportsAllDrives=None, driveId=None, includeCorpusRemovals=None)</code>
+ <code class="details" id="watch">watch(pageToken, body=None, pageSize=None, supportsTeamDrives=None, spaces=None, includeRemoved=None, restrictToMyDrive=None, includeTeamDriveItems=None, teamDriveId=None, includeItemsFromAllDrives=None, supportsAllDrives=None, driveId=None, includeCorpusRemovals=None)</code>
<pre>Subscribes to changes for a user.
Args:
pageToken: string, The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method. (required)
- body: object, The request body. (required)
+ body: object, The request body.
The object takes the form of:
{ # An notification channel used to watch for resource changes.
"resourceUri": "A String", # A version-specific identifier for the watched resource.
- "kind": "api#channel", # Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
+ "kind": "api#channel", # Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel".
"resourceId": "A String", # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
"payload": True or False, # A Boolean value to indicate whether payload is wanted. Optional.
"token": "A String", # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
@@ -498,9 +509,9 @@
restrictToMyDrive: boolean, Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.
includeTeamDriveItems: boolean, Deprecated use includeItemsFromAllDrives instead.
teamDriveId: string, Deprecated use driveId instead.
- includeItemsFromAllDrives: boolean, Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.
+ includeItemsFromAllDrives: boolean, Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items are included in the results.
supportsAllDrives: boolean, Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
- driveId: string, The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.
+ driveId: string, The shared drive from which changes are returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.
includeCorpusRemovals: boolean, Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.
Returns:
@@ -508,7 +519,7 @@
{ # An notification channel used to watch for resource changes.
"resourceUri": "A String", # A version-specific identifier for the watched resource.
- "kind": "api#channel", # Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
+ "kind": "api#channel", # Identifies this as a notification channel used to watch for changes to a resource, which is "api#channel".
"resourceId": "A String", # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
"payload": True or False, # A Boolean value to indicate whether payload is wanted. Optional.
"token": "A String", # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.