Update docs for 1.4.2 release
diff --git a/docs/dyn/drive_v2.files.html b/docs/dyn/drive_v2.files.html
index a931d37..fd23ad0 100644
--- a/docs/dyn/drive_v2.files.html
+++ b/docs/dyn/drive_v2.files.html
@@ -84,6 +84,9 @@
   <code><a href="#emptyTrash">emptyTrash()</a></code></p>
 <p class="firstline">Permanently deletes all of the user's trashed files.</p>
 <p class="toc_element">
+  <code><a href="#generateIds">generateIds(space=None, maxResults=None)</a></code></p>
+<p class="firstline">Generates a set of file IDs which can be provided in insert requests.</p>
+<p class="toc_element">
   <code><a href="#get">get(fileId, projection=None, revisionId=None, acknowledgeAbuse=None, updateViewedDate=None)</a></code></p>
 <p class="firstline">Gets a file's metadata by ID.</p>
 <p class="toc_element">
@@ -93,25 +96,25 @@
   <code><a href="#insert">insert(body=None, media_body=None, convert=None, useContentAsIndexableText=None, visibility=None, ocrLanguage=None, ocr=None, timedTextLanguage=None, timedTextTrackName=None, pinned=None)</a></code></p>
 <p class="firstline">Insert a new file.</p>
 <p class="toc_element">
-  <code><a href="#list">list(q=None, projection=None, pageToken=None, maxResults=None, spaces=None, corpus=None)</a></code></p>
+  <code><a href="#list">list(orderBy=None, q=None, projection=None, pageToken=None, maxResults=None, spaces=None, corpus=None)</a></code></p>
 <p class="firstline">Lists the user's files.</p>
 <p class="toc_element">
   <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="#patch">patch(fileId, body, newRevision=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</a></code></p>
+  <code><a href="#patch">patch(fileId, body, newRevision=None, modifiedDateBehavior=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</a></code></p>
 <p class="firstline">Updates file metadata and/or content. This method supports patch semantics.</p>
 <p class="toc_element">
   <code><a href="#touch">touch(fileId)</a></code></p>
 <p class="firstline">Set the file's updated time to the current server time.</p>
 <p class="toc_element">
   <code><a href="#trash">trash(fileId)</a></code></p>
-<p class="firstline">Moves a file to the trash.</p>
+<p class="firstline">Moves a file to the trash. The currently authenticated user must own the file.</p>
 <p class="toc_element">
   <code><a href="#untrash">untrash(fileId)</a></code></p>
 <p class="firstline">Restores a file from the trash.</p>
 <p class="toc_element">
-  <code><a href="#update">update(fileId, body=None, newRevision=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</a></code></p>
+  <code><a href="#update">update(fileId, body=None, newRevision=None, modifiedDateBehavior=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</a></code></p>
 <p class="firstline">Updates file metadata and/or content.</p>
 <p class="toc_element">
   <code><a href="#watch">watch(fileId, body, projection=None, revisionId=None, acknowledgeAbuse=None, updateViewedDate=None)</a></code></p>
@@ -136,7 +139,7 @@
   "appDataContents": True or False, # Whether this file is in the Application Data folder.
   "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
   "labels": { # A group of labels for the file.
-    "restricted": True or False, # Whether viewers are prevented from downloading this file.
+    "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
     "hidden": True or False, # Deprecated.
     "viewed": True or False, # Whether this file has been viewed by this user.
     "starred": True or False, # Whether this file is starred by the user.
@@ -145,7 +148,7 @@
   "indexableText": { # Indexable text attributes for the file (can only be written)
     "text": "A String", # The text to be indexed for this file.
   },
-  "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+  "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
   "lastModifyingUserName": "A String", # Name of the last user to modify this file.
   "writersCanShare": True or False, # Whether writers can share the document with other users.
   "owners": [ # The owner(s) of this file.
@@ -160,6 +163,7 @@
       "emailAddress": "A String", # The email address of the user.
     },
   ],
+  "ownedByMe": True or False, # Whether the file is owned by the current user.
   "id": "A String", # The ID of the file.
   "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
     "picture": { # The user's profile picture.
@@ -188,6 +192,7 @@
   },
   "copyable": True or False, # Whether the file can be copied by the current user.
   "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+  "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
   "ownerNames": [ # Name(s) of the owner(s) of this file.
     "A String",
   ],
@@ -235,10 +240,7 @@
       "selfLink": "A String", # A link back to this permission.
     },
   ],
-  "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-    "mimeType": "A String", # The MIME type of the thumbnail.
-    "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-  },
+  "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
     "a_key": "A String",
   },
@@ -273,9 +275,9 @@
   "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
   "editable": True or False, # Whether the file can be edited by the current user.
   "kind": "drive#file", # The type of file. This is always drive#file.
-  "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+  "canComment": True or False, # Whether the current user can comment on the file.
   "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-  "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+  "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
   "properties": [ # The list of properties.
     { # A key-value pair attached to a file that is either public or private to an application.
@@ -292,14 +294,18 @@
       "selfLink": "A String", # The link back to this property.
     },
   ],
-  "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+  "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "iconLink": "A String", # A link to the file's icon.
   "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
   "embedLink": "A String", # A link for embedding the file.
   "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
   "title": "A String", # The title of this file.
   "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-  "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+  "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+    "mimeType": "A String", # The MIME type of the thumbnail.
+    "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+  },
+  "downloadUrl": "A String",
   "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
     "withLink": True or False, # Whether the link is required for this permission.
     "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -325,12 +331,13 @@
     ],
     "selfLink": "A String", # A link back to this permission.
   },
-  "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+  "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
     "A String",
   ],
-  "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-  "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-  "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+  "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+  "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+  "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+  "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "selfLink": "A String", # A link back to this file.
   "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
 }
@@ -356,7 +363,7 @@
     "appDataContents": True or False, # Whether this file is in the Application Data folder.
     "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
     "labels": { # A group of labels for the file.
-      "restricted": True or False, # Whether viewers are prevented from downloading this file.
+      "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
       "hidden": True or False, # Deprecated.
       "viewed": True or False, # Whether this file has been viewed by this user.
       "starred": True or False, # Whether this file is starred by the user.
@@ -365,7 +372,7 @@
     "indexableText": { # Indexable text attributes for the file (can only be written)
       "text": "A String", # The text to be indexed for this file.
     },
-    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
     "lastModifyingUserName": "A String", # Name of the last user to modify this file.
     "writersCanShare": True or False, # Whether writers can share the document with other users.
     "owners": [ # The owner(s) of this file.
@@ -380,6 +387,7 @@
         "emailAddress": "A String", # The email address of the user.
       },
     ],
+    "ownedByMe": True or False, # Whether the file is owned by the current user.
     "id": "A String", # The ID of the file.
     "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
       "picture": { # The user's profile picture.
@@ -408,6 +416,7 @@
     },
     "copyable": True or False, # Whether the file can be copied by the current user.
     "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
     "ownerNames": [ # Name(s) of the owner(s) of this file.
       "A String",
     ],
@@ -455,10 +464,7 @@
         "selfLink": "A String", # A link back to this permission.
       },
     ],
-    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-      "mimeType": "A String", # The MIME type of the thumbnail.
-      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-    },
+    "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
       "a_key": "A String",
     },
@@ -493,9 +499,9 @@
     "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
     "editable": True or False, # Whether the file can be edited by the current user.
     "kind": "drive#file", # The type of file. This is always drive#file.
-    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+    "canComment": True or False, # Whether the current user can comment on the file.
     "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-    "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+    "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
     "properties": [ # The list of properties.
       { # A key-value pair attached to a file that is either public or private to an application.
@@ -512,14 +518,18 @@
         "selfLink": "A String", # The link back to this property.
       },
     ],
-    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "iconLink": "A String", # A link to the file's icon.
     "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
     "embedLink": "A String", # A link for embedding the file.
     "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
     "title": "A String", # The title of this file.
     "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-    "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+      "mimeType": "A String", # The MIME type of the thumbnail.
+      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+    },
+    "downloadUrl": "A String",
     "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
       "withLink": True or False, # Whether the link is required for this permission.
       "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -545,12 +555,13 @@
       ],
       "selfLink": "A String", # A link back to this permission.
     },
-    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
       "A String",
     ],
-    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-    "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-    "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+    "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "selfLink": "A String", # A link back to this file.
     "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
   }</pre>
@@ -574,6 +585,26 @@
 </div>
 
 <div class="method">
+    <code class="details" id="generateIds">generateIds(space=None, maxResults=None)</code>
+  <pre>Generates a set of file IDs which can be provided in insert requests.
+
+Args:
+  space: string, The space in which the IDs can be used to create new files. Supported values are 'drive' and 'appDataFolder'.
+  maxResults: integer, Maximum number of IDs to return.
+
+Returns:
+  An object of the form:
+
+    { # A list of generated IDs which can be provided in insert requests
+    "kind": "drive#generatedIds", # This is always drive#generatedIds
+    "ids": [ # The IDs generated for the requesting user in the specified space.
+      "A String",
+    ],
+    "space": "A String", # The type of file that can be created with these IDs.
+  }</pre>
+</div>
+
+<div class="method">
     <code class="details" id="get">get(fileId, projection=None, revisionId=None, acknowledgeAbuse=None, updateViewedDate=None)</code>
   <pre>Gets a file's metadata by ID.
 
@@ -597,7 +628,7 @@
     "appDataContents": True or False, # Whether this file is in the Application Data folder.
     "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
     "labels": { # A group of labels for the file.
-      "restricted": True or False, # Whether viewers are prevented from downloading this file.
+      "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
       "hidden": True or False, # Deprecated.
       "viewed": True or False, # Whether this file has been viewed by this user.
       "starred": True or False, # Whether this file is starred by the user.
@@ -606,7 +637,7 @@
     "indexableText": { # Indexable text attributes for the file (can only be written)
       "text": "A String", # The text to be indexed for this file.
     },
-    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
     "lastModifyingUserName": "A String", # Name of the last user to modify this file.
     "writersCanShare": True or False, # Whether writers can share the document with other users.
     "owners": [ # The owner(s) of this file.
@@ -621,6 +652,7 @@
         "emailAddress": "A String", # The email address of the user.
       },
     ],
+    "ownedByMe": True or False, # Whether the file is owned by the current user.
     "id": "A String", # The ID of the file.
     "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
       "picture": { # The user's profile picture.
@@ -649,6 +681,7 @@
     },
     "copyable": True or False, # Whether the file can be copied by the current user.
     "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
     "ownerNames": [ # Name(s) of the owner(s) of this file.
       "A String",
     ],
@@ -696,10 +729,7 @@
         "selfLink": "A String", # A link back to this permission.
       },
     ],
-    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-      "mimeType": "A String", # The MIME type of the thumbnail.
-      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-    },
+    "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
       "a_key": "A String",
     },
@@ -734,9 +764,9 @@
     "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
     "editable": True or False, # Whether the file can be edited by the current user.
     "kind": "drive#file", # The type of file. This is always drive#file.
-    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+    "canComment": True or False, # Whether the current user can comment on the file.
     "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-    "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+    "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
     "properties": [ # The list of properties.
       { # A key-value pair attached to a file that is either public or private to an application.
@@ -753,14 +783,18 @@
         "selfLink": "A String", # The link back to this property.
       },
     ],
-    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "iconLink": "A String", # A link to the file's icon.
     "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
     "embedLink": "A String", # A link for embedding the file.
     "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
     "title": "A String", # The title of this file.
     "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-    "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+      "mimeType": "A String", # The MIME type of the thumbnail.
+      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+    },
+    "downloadUrl": "A String",
     "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
       "withLink": True or False, # Whether the link is required for this permission.
       "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -786,12 +820,13 @@
       ],
       "selfLink": "A String", # A link back to this permission.
     },
-    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
       "A String",
     ],
-    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-    "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-    "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+    "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "selfLink": "A String", # A link back to this file.
     "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
   }</pre>
@@ -832,7 +867,7 @@
   "appDataContents": True or False, # Whether this file is in the Application Data folder.
   "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
   "labels": { # A group of labels for the file.
-    "restricted": True or False, # Whether viewers are prevented from downloading this file.
+    "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
     "hidden": True or False, # Deprecated.
     "viewed": True or False, # Whether this file has been viewed by this user.
     "starred": True or False, # Whether this file is starred by the user.
@@ -841,7 +876,7 @@
   "indexableText": { # Indexable text attributes for the file (can only be written)
     "text": "A String", # The text to be indexed for this file.
   },
-  "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+  "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
   "lastModifyingUserName": "A String", # Name of the last user to modify this file.
   "writersCanShare": True or False, # Whether writers can share the document with other users.
   "owners": [ # The owner(s) of this file.
@@ -856,6 +891,7 @@
       "emailAddress": "A String", # The email address of the user.
     },
   ],
+  "ownedByMe": True or False, # Whether the file is owned by the current user.
   "id": "A String", # The ID of the file.
   "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
     "picture": { # The user's profile picture.
@@ -884,6 +920,7 @@
   },
   "copyable": True or False, # Whether the file can be copied by the current user.
   "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+  "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
   "ownerNames": [ # Name(s) of the owner(s) of this file.
     "A String",
   ],
@@ -931,10 +968,7 @@
       "selfLink": "A String", # A link back to this permission.
     },
   ],
-  "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-    "mimeType": "A String", # The MIME type of the thumbnail.
-    "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-  },
+  "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
     "a_key": "A String",
   },
@@ -969,9 +1003,9 @@
   "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
   "editable": True or False, # Whether the file can be edited by the current user.
   "kind": "drive#file", # The type of file. This is always drive#file.
-  "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+  "canComment": True or False, # Whether the current user can comment on the file.
   "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-  "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+  "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
   "properties": [ # The list of properties.
     { # A key-value pair attached to a file that is either public or private to an application.
@@ -988,14 +1022,18 @@
       "selfLink": "A String", # The link back to this property.
     },
   ],
-  "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+  "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "iconLink": "A String", # A link to the file's icon.
   "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
   "embedLink": "A String", # A link for embedding the file.
   "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
   "title": "A String", # The title of this file.
   "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-  "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+  "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+    "mimeType": "A String", # The MIME type of the thumbnail.
+    "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+  },
+  "downloadUrl": "A String",
   "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
     "withLink": True or False, # Whether the link is required for this permission.
     "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -1021,12 +1059,13 @@
     ],
     "selfLink": "A String", # A link back to this permission.
   },
-  "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+  "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
     "A String",
   ],
-  "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-  "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-  "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+  "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+  "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+  "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+  "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "selfLink": "A String", # A link back to this file.
   "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
 }
@@ -1054,7 +1093,7 @@
     "appDataContents": True or False, # Whether this file is in the Application Data folder.
     "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
     "labels": { # A group of labels for the file.
-      "restricted": True or False, # Whether viewers are prevented from downloading this file.
+      "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
       "hidden": True or False, # Deprecated.
       "viewed": True or False, # Whether this file has been viewed by this user.
       "starred": True or False, # Whether this file is starred by the user.
@@ -1063,7 +1102,7 @@
     "indexableText": { # Indexable text attributes for the file (can only be written)
       "text": "A String", # The text to be indexed for this file.
     },
-    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
     "lastModifyingUserName": "A String", # Name of the last user to modify this file.
     "writersCanShare": True or False, # Whether writers can share the document with other users.
     "owners": [ # The owner(s) of this file.
@@ -1078,6 +1117,7 @@
         "emailAddress": "A String", # The email address of the user.
       },
     ],
+    "ownedByMe": True or False, # Whether the file is owned by the current user.
     "id": "A String", # The ID of the file.
     "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
       "picture": { # The user's profile picture.
@@ -1106,6 +1146,7 @@
     },
     "copyable": True or False, # Whether the file can be copied by the current user.
     "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
     "ownerNames": [ # Name(s) of the owner(s) of this file.
       "A String",
     ],
@@ -1153,10 +1194,7 @@
         "selfLink": "A String", # A link back to this permission.
       },
     ],
-    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-      "mimeType": "A String", # The MIME type of the thumbnail.
-      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-    },
+    "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
       "a_key": "A String",
     },
@@ -1191,9 +1229,9 @@
     "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
     "editable": True or False, # Whether the file can be edited by the current user.
     "kind": "drive#file", # The type of file. This is always drive#file.
-    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+    "canComment": True or False, # Whether the current user can comment on the file.
     "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-    "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+    "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
     "properties": [ # The list of properties.
       { # A key-value pair attached to a file that is either public or private to an application.
@@ -1210,14 +1248,18 @@
         "selfLink": "A String", # The link back to this property.
       },
     ],
-    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "iconLink": "A String", # A link to the file's icon.
     "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
     "embedLink": "A String", # A link for embedding the file.
     "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
     "title": "A String", # The title of this file.
     "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-    "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+      "mimeType": "A String", # The MIME type of the thumbnail.
+      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+    },
+    "downloadUrl": "A String",
     "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
       "withLink": True or False, # Whether the link is required for this permission.
       "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -1243,22 +1285,24 @@
       ],
       "selfLink": "A String", # A link back to this permission.
     },
-    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
       "A String",
     ],
-    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-    "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-    "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+    "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "selfLink": "A String", # A link back to this file.
     "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
   }</pre>
 </div>
 
 <div class="method">
-    <code class="details" id="list">list(q=None, projection=None, pageToken=None, maxResults=None, spaces=None, corpus=None)</code>
+    <code class="details" id="list">list(orderBy=None, q=None, projection=None, pageToken=None, maxResults=None, spaces=None, corpus=None)</code>
   <pre>Lists the user's files.
 
 Args:
+  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.
   q: string, Query string for searching files.
   projection: string, This parameter is deprecated and has no function.
     Allowed values
@@ -1266,7 +1310,7 @@
       FULL - Deprecated
   pageToken: string, Page token for files.
   maxResults: integer, Maximum number of files to return.
-  spaces: string, A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'.
+  spaces: string, A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.
   corpus: string, The body of items (files/documents) to which the query applies.
     Allowed values
       DEFAULT - The items that the user has accessed.
@@ -1286,7 +1330,7 @@
         "appDataContents": True or False, # Whether this file is in the Application Data folder.
         "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
         "labels": { # A group of labels for the file.
-          "restricted": True or False, # Whether viewers are prevented from downloading this file.
+          "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
           "hidden": True or False, # Deprecated.
           "viewed": True or False, # Whether this file has been viewed by this user.
           "starred": True or False, # Whether this file is starred by the user.
@@ -1295,7 +1339,7 @@
         "indexableText": { # Indexable text attributes for the file (can only be written)
           "text": "A String", # The text to be indexed for this file.
         },
-        "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+        "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
         "lastModifyingUserName": "A String", # Name of the last user to modify this file.
         "writersCanShare": True or False, # Whether writers can share the document with other users.
         "owners": [ # The owner(s) of this file.
@@ -1310,6 +1354,7 @@
             "emailAddress": "A String", # The email address of the user.
           },
         ],
+        "ownedByMe": True or False, # Whether the file is owned by the current user.
         "id": "A String", # The ID of the file.
         "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
           "picture": { # The user's profile picture.
@@ -1338,6 +1383,7 @@
         },
         "copyable": True or False, # Whether the file can be copied by the current user.
         "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+        "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
         "ownerNames": [ # Name(s) of the owner(s) of this file.
           "A String",
         ],
@@ -1385,10 +1431,7 @@
             "selfLink": "A String", # A link back to this permission.
           },
         ],
-        "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-          "mimeType": "A String", # The MIME type of the thumbnail.
-          "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-        },
+        "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
         "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
           "a_key": "A String",
         },
@@ -1423,9 +1466,9 @@
         "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
         "editable": True or False, # Whether the file can be edited by the current user.
         "kind": "drive#file", # The type of file. This is always drive#file.
-        "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+        "canComment": True or False, # Whether the current user can comment on the file.
         "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-        "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+        "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
         "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
         "properties": [ # The list of properties.
           { # A key-value pair attached to a file that is either public or private to an application.
@@ -1442,14 +1485,18 @@
             "selfLink": "A String", # The link back to this property.
           },
         ],
-        "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+        "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
         "iconLink": "A String", # A link to the file's icon.
         "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
         "embedLink": "A String", # A link for embedding the file.
         "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
         "title": "A String", # The title of this file.
         "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-        "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+        "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+          "mimeType": "A String", # The MIME type of the thumbnail.
+          "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+        },
+        "downloadUrl": "A String",
         "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
           "withLink": True or False, # Whether the link is required for this permission.
           "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -1475,12 +1522,13 @@
           ],
           "selfLink": "A String", # A link back to this permission.
         },
-        "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+        "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
           "A String",
         ],
-        "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-        "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-        "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+        "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+        "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+        "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+        "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
         "selfLink": "A String", # A link back to this file.
         "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
       },
@@ -1506,7 +1554,7 @@
 </div>
 
 <div class="method">
-    <code class="details" id="patch">patch(fileId, body, newRevision=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</code>
+    <code class="details" id="patch">patch(fileId, body, newRevision=None, modifiedDateBehavior=None, pinned=None, ocrLanguage=None, ocr=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</code>
   <pre>Updates file metadata and/or content. This method supports patch semantics.
 
 Args:
@@ -1521,7 +1569,7 @@
   "appDataContents": True or False, # Whether this file is in the Application Data folder.
   "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
   "labels": { # A group of labels for the file.
-    "restricted": True or False, # Whether viewers are prevented from downloading this file.
+    "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
     "hidden": True or False, # Deprecated.
     "viewed": True or False, # Whether this file has been viewed by this user.
     "starred": True or False, # Whether this file is starred by the user.
@@ -1530,7 +1578,7 @@
   "indexableText": { # Indexable text attributes for the file (can only be written)
     "text": "A String", # The text to be indexed for this file.
   },
-  "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+  "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
   "lastModifyingUserName": "A String", # Name of the last user to modify this file.
   "writersCanShare": True or False, # Whether writers can share the document with other users.
   "owners": [ # The owner(s) of this file.
@@ -1545,6 +1593,7 @@
       "emailAddress": "A String", # The email address of the user.
     },
   ],
+  "ownedByMe": True or False, # Whether the file is owned by the current user.
   "id": "A String", # The ID of the file.
   "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
     "picture": { # The user's profile picture.
@@ -1573,6 +1622,7 @@
   },
   "copyable": True or False, # Whether the file can be copied by the current user.
   "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+  "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
   "ownerNames": [ # Name(s) of the owner(s) of this file.
     "A String",
   ],
@@ -1620,10 +1670,7 @@
       "selfLink": "A String", # A link back to this permission.
     },
   ],
-  "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-    "mimeType": "A String", # The MIME type of the thumbnail.
-    "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-  },
+  "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
     "a_key": "A String",
   },
@@ -1658,9 +1705,9 @@
   "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
   "editable": True or False, # Whether the file can be edited by the current user.
   "kind": "drive#file", # The type of file. This is always drive#file.
-  "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+  "canComment": True or False, # Whether the current user can comment on the file.
   "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-  "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+  "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
   "properties": [ # The list of properties.
     { # A key-value pair attached to a file that is either public or private to an application.
@@ -1677,14 +1724,18 @@
       "selfLink": "A String", # The link back to this property.
     },
   ],
-  "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+  "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "iconLink": "A String", # A link to the file's icon.
   "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
   "embedLink": "A String", # A link for embedding the file.
   "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
   "title": "A String", # The title of this file.
   "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-  "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+  "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+    "mimeType": "A String", # The MIME type of the thumbnail.
+    "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+  },
+  "downloadUrl": "A String",
   "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
     "withLink": True or False, # Whether the link is required for this permission.
     "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -1710,17 +1761,26 @@
     ],
     "selfLink": "A String", # A link back to this permission.
   },
-  "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+  "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
     "A String",
   ],
-  "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-  "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-  "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+  "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+  "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+  "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+  "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "selfLink": "A String", # A link back to this file.
   "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
 }
 
-  newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions.
+  newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions. For details on how revisions are retained, see the Drive Help Center.
+  modifiedDateBehavior: string, Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate.
+    Allowed values
+      fromBody - Set modifiedDate to the value provided in the body of the request. No change if no value was provided.
+      fromBodyIfNeeded - Set modifiedDate to the value provided in the body of the request depending on other contents of the update.
+      fromBodyOrNow - Set modifiedDate to the value provided in the body of the request, or to the current time if no value was provided.
+      noChange - Maintain the previous value of modifiedDate.
+      now - Set modifiedDate to the current time.
+      nowIfNeeded - Set modifiedDate to the current time depending on contents of the update.
   pinned: boolean, Whether to pin the new revision. A file can have a maximum of 200 pinned revisions.
   ocrLanguage: string, If ocr is true, hints at the language to use. Valid values are BCP 47 codes.
   ocr: boolean, Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
@@ -1728,7 +1788,7 @@
   removeParents: string, Comma-separated list of parent IDs to remove.
   updateViewedDate: boolean, Whether to update the view date after successfully updating the file.
   timedTextTrackName: string, The timed text track name.
-  convert: boolean, Whether to convert this file to the corresponding Google Docs format.
+  convert: boolean, This parameter is deprecated and has no function.
   useContentAsIndexableText: boolean, Whether to use the content as indexable text.
   setModifiedDate: boolean, Whether to set the modified date with the supplied modified date.
   timedTextLanguage: string, The language of the timed text.
@@ -1743,7 +1803,7 @@
     "appDataContents": True or False, # Whether this file is in the Application Data folder.
     "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
     "labels": { # A group of labels for the file.
-      "restricted": True or False, # Whether viewers are prevented from downloading this file.
+      "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
       "hidden": True or False, # Deprecated.
       "viewed": True or False, # Whether this file has been viewed by this user.
       "starred": True or False, # Whether this file is starred by the user.
@@ -1752,7 +1812,7 @@
     "indexableText": { # Indexable text attributes for the file (can only be written)
       "text": "A String", # The text to be indexed for this file.
     },
-    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
     "lastModifyingUserName": "A String", # Name of the last user to modify this file.
     "writersCanShare": True or False, # Whether writers can share the document with other users.
     "owners": [ # The owner(s) of this file.
@@ -1767,6 +1827,7 @@
         "emailAddress": "A String", # The email address of the user.
       },
     ],
+    "ownedByMe": True or False, # Whether the file is owned by the current user.
     "id": "A String", # The ID of the file.
     "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
       "picture": { # The user's profile picture.
@@ -1795,6 +1856,7 @@
     },
     "copyable": True or False, # Whether the file can be copied by the current user.
     "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
     "ownerNames": [ # Name(s) of the owner(s) of this file.
       "A String",
     ],
@@ -1842,10 +1904,7 @@
         "selfLink": "A String", # A link back to this permission.
       },
     ],
-    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-      "mimeType": "A String", # The MIME type of the thumbnail.
-      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-    },
+    "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
       "a_key": "A String",
     },
@@ -1880,9 +1939,9 @@
     "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
     "editable": True or False, # Whether the file can be edited by the current user.
     "kind": "drive#file", # The type of file. This is always drive#file.
-    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+    "canComment": True or False, # Whether the current user can comment on the file.
     "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-    "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+    "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
     "properties": [ # The list of properties.
       { # A key-value pair attached to a file that is either public or private to an application.
@@ -1899,14 +1958,18 @@
         "selfLink": "A String", # The link back to this property.
       },
     ],
-    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "iconLink": "A String", # A link to the file's icon.
     "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
     "embedLink": "A String", # A link for embedding the file.
     "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
     "title": "A String", # The title of this file.
     "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-    "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+      "mimeType": "A String", # The MIME type of the thumbnail.
+      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+    },
+    "downloadUrl": "A String",
     "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
       "withLink": True or False, # Whether the link is required for this permission.
       "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -1932,12 +1995,13 @@
       ],
       "selfLink": "A String", # A link back to this permission.
     },
-    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
       "A String",
     ],
-    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-    "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-    "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+    "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "selfLink": "A String", # A link back to this file.
     "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
   }</pre>
@@ -1960,7 +2024,7 @@
     "appDataContents": True or False, # Whether this file is in the Application Data folder.
     "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
     "labels": { # A group of labels for the file.
-      "restricted": True or False, # Whether viewers are prevented from downloading this file.
+      "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
       "hidden": True or False, # Deprecated.
       "viewed": True or False, # Whether this file has been viewed by this user.
       "starred": True or False, # Whether this file is starred by the user.
@@ -1969,7 +2033,7 @@
     "indexableText": { # Indexable text attributes for the file (can only be written)
       "text": "A String", # The text to be indexed for this file.
     },
-    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
     "lastModifyingUserName": "A String", # Name of the last user to modify this file.
     "writersCanShare": True or False, # Whether writers can share the document with other users.
     "owners": [ # The owner(s) of this file.
@@ -1984,6 +2048,7 @@
         "emailAddress": "A String", # The email address of the user.
       },
     ],
+    "ownedByMe": True or False, # Whether the file is owned by the current user.
     "id": "A String", # The ID of the file.
     "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
       "picture": { # The user's profile picture.
@@ -2012,6 +2077,7 @@
     },
     "copyable": True or False, # Whether the file can be copied by the current user.
     "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
     "ownerNames": [ # Name(s) of the owner(s) of this file.
       "A String",
     ],
@@ -2059,10 +2125,7 @@
         "selfLink": "A String", # A link back to this permission.
       },
     ],
-    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-      "mimeType": "A String", # The MIME type of the thumbnail.
-      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-    },
+    "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
       "a_key": "A String",
     },
@@ -2097,9 +2160,9 @@
     "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
     "editable": True or False, # Whether the file can be edited by the current user.
     "kind": "drive#file", # The type of file. This is always drive#file.
-    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+    "canComment": True or False, # Whether the current user can comment on the file.
     "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-    "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+    "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
     "properties": [ # The list of properties.
       { # A key-value pair attached to a file that is either public or private to an application.
@@ -2116,14 +2179,18 @@
         "selfLink": "A String", # The link back to this property.
       },
     ],
-    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "iconLink": "A String", # A link to the file's icon.
     "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
     "embedLink": "A String", # A link for embedding the file.
     "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
     "title": "A String", # The title of this file.
     "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-    "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+      "mimeType": "A String", # The MIME type of the thumbnail.
+      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+    },
+    "downloadUrl": "A String",
     "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
       "withLink": True or False, # Whether the link is required for this permission.
       "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -2149,12 +2216,13 @@
       ],
       "selfLink": "A String", # A link back to this permission.
     },
-    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
       "A String",
     ],
-    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-    "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-    "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+    "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "selfLink": "A String", # A link back to this file.
     "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
   }</pre>
@@ -2162,7 +2230,7 @@
 
 <div class="method">
     <code class="details" id="trash">trash(fileId)</code>
-  <pre>Moves a file to the trash.
+  <pre>Moves a file to the trash. The currently authenticated user must own the file.
 
 Args:
   fileId: string, The ID of the file to trash. (required)
@@ -2177,7 +2245,7 @@
     "appDataContents": True or False, # Whether this file is in the Application Data folder.
     "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
     "labels": { # A group of labels for the file.
-      "restricted": True or False, # Whether viewers are prevented from downloading this file.
+      "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
       "hidden": True or False, # Deprecated.
       "viewed": True or False, # Whether this file has been viewed by this user.
       "starred": True or False, # Whether this file is starred by the user.
@@ -2186,7 +2254,7 @@
     "indexableText": { # Indexable text attributes for the file (can only be written)
       "text": "A String", # The text to be indexed for this file.
     },
-    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
     "lastModifyingUserName": "A String", # Name of the last user to modify this file.
     "writersCanShare": True or False, # Whether writers can share the document with other users.
     "owners": [ # The owner(s) of this file.
@@ -2201,6 +2269,7 @@
         "emailAddress": "A String", # The email address of the user.
       },
     ],
+    "ownedByMe": True or False, # Whether the file is owned by the current user.
     "id": "A String", # The ID of the file.
     "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
       "picture": { # The user's profile picture.
@@ -2229,6 +2298,7 @@
     },
     "copyable": True or False, # Whether the file can be copied by the current user.
     "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
     "ownerNames": [ # Name(s) of the owner(s) of this file.
       "A String",
     ],
@@ -2276,10 +2346,7 @@
         "selfLink": "A String", # A link back to this permission.
       },
     ],
-    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-      "mimeType": "A String", # The MIME type of the thumbnail.
-      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-    },
+    "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
       "a_key": "A String",
     },
@@ -2314,9 +2381,9 @@
     "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
     "editable": True or False, # Whether the file can be edited by the current user.
     "kind": "drive#file", # The type of file. This is always drive#file.
-    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+    "canComment": True or False, # Whether the current user can comment on the file.
     "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-    "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+    "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
     "properties": [ # The list of properties.
       { # A key-value pair attached to a file that is either public or private to an application.
@@ -2333,14 +2400,18 @@
         "selfLink": "A String", # The link back to this property.
       },
     ],
-    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "iconLink": "A String", # A link to the file's icon.
     "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
     "embedLink": "A String", # A link for embedding the file.
     "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
     "title": "A String", # The title of this file.
     "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-    "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+      "mimeType": "A String", # The MIME type of the thumbnail.
+      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+    },
+    "downloadUrl": "A String",
     "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
       "withLink": True or False, # Whether the link is required for this permission.
       "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -2366,12 +2437,13 @@
       ],
       "selfLink": "A String", # A link back to this permission.
     },
-    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
       "A String",
     ],
-    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-    "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-    "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+    "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "selfLink": "A String", # A link back to this file.
     "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
   }</pre>
@@ -2394,7 +2466,7 @@
     "appDataContents": True or False, # Whether this file is in the Application Data folder.
     "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
     "labels": { # A group of labels for the file.
-      "restricted": True or False, # Whether viewers are prevented from downloading this file.
+      "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
       "hidden": True or False, # Deprecated.
       "viewed": True or False, # Whether this file has been viewed by this user.
       "starred": True or False, # Whether this file is starred by the user.
@@ -2403,7 +2475,7 @@
     "indexableText": { # Indexable text attributes for the file (can only be written)
       "text": "A String", # The text to be indexed for this file.
     },
-    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
     "lastModifyingUserName": "A String", # Name of the last user to modify this file.
     "writersCanShare": True or False, # Whether writers can share the document with other users.
     "owners": [ # The owner(s) of this file.
@@ -2418,6 +2490,7 @@
         "emailAddress": "A String", # The email address of the user.
       },
     ],
+    "ownedByMe": True or False, # Whether the file is owned by the current user.
     "id": "A String", # The ID of the file.
     "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
       "picture": { # The user's profile picture.
@@ -2446,6 +2519,7 @@
     },
     "copyable": True or False, # Whether the file can be copied by the current user.
     "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
     "ownerNames": [ # Name(s) of the owner(s) of this file.
       "A String",
     ],
@@ -2493,10 +2567,7 @@
         "selfLink": "A String", # A link back to this permission.
       },
     ],
-    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-      "mimeType": "A String", # The MIME type of the thumbnail.
-      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-    },
+    "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
       "a_key": "A String",
     },
@@ -2531,9 +2602,9 @@
     "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
     "editable": True or False, # Whether the file can be edited by the current user.
     "kind": "drive#file", # The type of file. This is always drive#file.
-    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+    "canComment": True or False, # Whether the current user can comment on the file.
     "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-    "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+    "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
     "properties": [ # The list of properties.
       { # A key-value pair attached to a file that is either public or private to an application.
@@ -2550,14 +2621,18 @@
         "selfLink": "A String", # The link back to this property.
       },
     ],
-    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "iconLink": "A String", # A link to the file's icon.
     "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
     "embedLink": "A String", # A link for embedding the file.
     "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
     "title": "A String", # The title of this file.
     "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-    "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+      "mimeType": "A String", # The MIME type of the thumbnail.
+      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+    },
+    "downloadUrl": "A String",
     "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
       "withLink": True or False, # Whether the link is required for this permission.
       "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -2583,19 +2658,20 @@
       ],
       "selfLink": "A String", # A link back to this permission.
     },
-    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
       "A String",
     ],
-    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-    "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-    "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+    "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "selfLink": "A String", # A link back to this file.
     "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
   }</pre>
 </div>
 
 <div class="method">
-    <code class="details" id="update">update(fileId, body=None, newRevision=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</code>
+    <code class="details" id="update">update(fileId, body=None, newRevision=None, modifiedDateBehavior=None, media_body=None, ocrLanguage=None, ocr=None, pinned=None, addParents=None, removeParents=None, updateViewedDate=None, timedTextTrackName=None, convert=None, useContentAsIndexableText=None, setModifiedDate=None, timedTextLanguage=None)</code>
   <pre>Updates file metadata and/or content.
 
 Args:
@@ -2610,7 +2686,7 @@
   "appDataContents": True or False, # Whether this file is in the Application Data folder.
   "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
   "labels": { # A group of labels for the file.
-    "restricted": True or False, # Whether viewers are prevented from downloading this file.
+    "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
     "hidden": True or False, # Deprecated.
     "viewed": True or False, # Whether this file has been viewed by this user.
     "starred": True or False, # Whether this file is starred by the user.
@@ -2619,7 +2695,7 @@
   "indexableText": { # Indexable text attributes for the file (can only be written)
     "text": "A String", # The text to be indexed for this file.
   },
-  "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+  "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
   "lastModifyingUserName": "A String", # Name of the last user to modify this file.
   "writersCanShare": True or False, # Whether writers can share the document with other users.
   "owners": [ # The owner(s) of this file.
@@ -2634,6 +2710,7 @@
       "emailAddress": "A String", # The email address of the user.
     },
   ],
+  "ownedByMe": True or False, # Whether the file is owned by the current user.
   "id": "A String", # The ID of the file.
   "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
     "picture": { # The user's profile picture.
@@ -2662,6 +2739,7 @@
   },
   "copyable": True or False, # Whether the file can be copied by the current user.
   "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+  "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
   "ownerNames": [ # Name(s) of the owner(s) of this file.
     "A String",
   ],
@@ -2709,10 +2787,7 @@
       "selfLink": "A String", # A link back to this permission.
     },
   ],
-  "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-    "mimeType": "A String", # The MIME type of the thumbnail.
-    "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-  },
+  "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
     "a_key": "A String",
   },
@@ -2747,9 +2822,9 @@
   "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
   "editable": True or False, # Whether the file can be edited by the current user.
   "kind": "drive#file", # The type of file. This is always drive#file.
-  "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+  "canComment": True or False, # Whether the current user can comment on the file.
   "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-  "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+  "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
   "properties": [ # The list of properties.
     { # A key-value pair attached to a file that is either public or private to an application.
@@ -2766,14 +2841,18 @@
       "selfLink": "A String", # The link back to this property.
     },
   ],
-  "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+  "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "iconLink": "A String", # A link to the file's icon.
   "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
   "embedLink": "A String", # A link for embedding the file.
   "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
   "title": "A String", # The title of this file.
   "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-  "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+  "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+    "mimeType": "A String", # The MIME type of the thumbnail.
+    "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+  },
+  "downloadUrl": "A String",
   "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
     "withLink": True or False, # Whether the link is required for this permission.
     "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -2799,17 +2878,26 @@
     ],
     "selfLink": "A String", # A link back to this permission.
   },
-  "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+  "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
     "A String",
   ],
-  "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-  "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-  "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+  "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+  "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+  "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+  "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
   "selfLink": "A String", # A link back to this file.
   "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
 }
 
-  newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions.
+  newRevision: boolean, Whether a blob upload should create a new revision. If false, the blob data in the current head revision is replaced. If true or not set, a new blob is created as head revision, and previous unpinned revisions are preserved for a short period of time. Pinned revisions are stored indefinitely, using additional storage quota, up to a maximum of 200 revisions. For details on how revisions are retained, see the Drive Help Center.
+  modifiedDateBehavior: string, Determines the behavior in which modifiedDate is updated. This overrides setModifiedDate.
+    Allowed values
+      fromBody - Set modifiedDate to the value provided in the body of the request. No change if no value was provided.
+      fromBodyIfNeeded - Set modifiedDate to the value provided in the body of the request depending on other contents of the update.
+      fromBodyOrNow - Set modifiedDate to the value provided in the body of the request, or to the current time if no value was provided.
+      noChange - Maintain the previous value of modifiedDate.
+      now - Set modifiedDate to the current time.
+      nowIfNeeded - Set modifiedDate to the current time depending on contents of the update.
   media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
   ocrLanguage: string, If ocr is true, hints at the language to use. Valid values are BCP 47 codes.
   ocr: boolean, Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
@@ -2818,7 +2906,7 @@
   removeParents: string, Comma-separated list of parent IDs to remove.
   updateViewedDate: boolean, Whether to update the view date after successfully updating the file.
   timedTextTrackName: string, The timed text track name.
-  convert: boolean, Whether to convert this file to the corresponding Google Docs format.
+  convert: boolean, This parameter is deprecated and has no function.
   useContentAsIndexableText: boolean, Whether to use the content as indexable text.
   setModifiedDate: boolean, Whether to set the modified date with the supplied modified date.
   timedTextLanguage: string, The language of the timed text.
@@ -2833,7 +2921,7 @@
     "appDataContents": True or False, # Whether this file is in the Application Data folder.
     "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
     "labels": { # A group of labels for the file.
-      "restricted": True or False, # Whether viewers are prevented from downloading this file.
+      "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
       "hidden": True or False, # Deprecated.
       "viewed": True or False, # Whether this file has been viewed by this user.
       "starred": True or False, # Whether this file is starred by the user.
@@ -2842,7 +2930,7 @@
     "indexableText": { # Indexable text attributes for the file (can only be written)
       "text": "A String", # The text to be indexed for this file.
     },
-    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
+    "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
     "lastModifyingUserName": "A String", # Name of the last user to modify this file.
     "writersCanShare": True or False, # Whether writers can share the document with other users.
     "owners": [ # The owner(s) of this file.
@@ -2857,6 +2945,7 @@
         "emailAddress": "A String", # The email address of the user.
       },
     ],
+    "ownedByMe": True or False, # Whether the file is owned by the current user.
     "id": "A String", # The ID of the file.
     "sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
       "picture": { # The user's profile picture.
@@ -2885,6 +2974,7 @@
     },
     "copyable": True or False, # Whether the file can be copied by the current user.
     "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
     "ownerNames": [ # Name(s) of the owner(s) of this file.
       "A String",
     ],
@@ -2932,10 +3022,7 @@
         "selfLink": "A String", # A link back to this permission.
       },
     ],
-    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
-      "mimeType": "A String", # The MIME type of the thumbnail.
-      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
-    },
+    "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
       "a_key": "A String",
     },
@@ -2970,9 +3057,9 @@
     "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
     "editable": True or False, # Whether the file can be edited by the current user.
     "kind": "drive#file", # The type of file. This is always drive#file.
-    "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+    "canComment": True or False, # Whether the current user can comment on the file.
     "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
-    "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+    "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
     "properties": [ # The list of properties.
       { # A key-value pair attached to a file that is either public or private to an application.
@@ -2989,14 +3076,18 @@
         "selfLink": "A String", # The link back to this property.
       },
     ],
-    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+    "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "iconLink": "A String", # A link to the file's icon.
     "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
     "embedLink": "A String", # A link for embedding the file.
     "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
     "title": "A String", # The title of this file.
     "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
-    "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
+    "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+      "mimeType": "A String", # The MIME type of the thumbnail.
+      "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+    },
+    "downloadUrl": "A String",
     "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
       "withLink": True or False, # Whether the link is required for this permission.
       "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -3022,12 +3113,13 @@
       ],
       "selfLink": "A String", # A link back to this permission.
     },
-    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+    "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
       "A String",
     ],
-    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
-    "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
-    "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+    "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+    "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+    "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
     "selfLink": "A String", # A link back to this file.
     "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
   }</pre>