Version 1.3 release.
Updates CHANGELOG, version, docs.
diff --git a/docs/dyn/drive_v2.files.html b/docs/dyn/drive_v2.files.html
index b0e19f6..2ac0001 100644
--- a/docs/dyn/drive_v2.files.html
+++ b/docs/dyn/drive_v2.files.html
@@ -165,6 +165,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -206,7 +211,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -264,7 +269,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -279,7 +284,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -292,7 +297,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -315,7 +320,7 @@
"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.
}
- pinned: boolean, Whether to pin the head revision of the new copy.
+ pinned: boolean, Whether to pin the head revision of the new copy. A file can have a maximum of 200 pinned revisions.
convert: boolean, Whether to convert this file to the corresponding Google Docs format.
visibility: string, The visibility of the new file. This parameter is only relevant when the source is not a native Google Doc and convert=false.
Allowed values
@@ -371,6 +376,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -412,7 +422,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -470,7 +480,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -485,7 +495,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -498,7 +508,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -596,6 +606,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -637,7 +652,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -695,7 +710,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -710,7 +725,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -723,7 +738,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -797,6 +812,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -838,7 +858,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -896,7 +916,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -911,7 +931,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -924,7 +944,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -958,7 +978,7 @@
ocr: boolean, Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
timedTextLanguage: string, The language of the timed text.
timedTextTrackName: string, The timed text track name.
- pinned: boolean, Whether to pin the head revision of the uploaded file.
+ pinned: boolean, Whether to pin the head revision of the uploaded file. A file can have a maximum of 200 pinned revisions.
Returns:
An object of the form:
@@ -1005,6 +1025,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -1046,7 +1071,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1104,7 +1129,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -1119,7 +1144,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -1132,7 +1157,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1222,6 +1247,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -1263,7 +1293,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1321,7 +1351,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -1336,7 +1366,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -1349,7 +1379,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1443,6 +1473,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -1484,7 +1519,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1542,7 +1577,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -1557,7 +1592,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -1570,7 +1605,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1593,8 +1628,8 @@
"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 not set or true, a new blob is created as head revision, and previous revisions are preserved (causing increased use of the user's data storage quota).
- pinned: boolean, Whether to pin the new revision.
+ 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 revisions are preserved (causing increased use of the user's data storage quota).
+ 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 ISO 639-1 codes.
ocr: boolean, Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
addParents: string, Comma-separated list of parent IDs to add.
@@ -1651,6 +1686,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -1692,7 +1732,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1750,7 +1790,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -1765,7 +1805,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -1778,7 +1818,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1854,6 +1894,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -1895,7 +1940,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -1953,7 +1998,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -1968,7 +2013,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -1981,7 +2026,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -2057,6 +2102,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -2098,7 +2148,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -2156,7 +2206,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -2171,7 +2221,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -2184,7 +2234,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -2260,6 +2310,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -2301,7 +2356,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -2359,7 +2414,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -2374,7 +2429,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -2387,7 +2442,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -2462,6 +2517,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -2503,7 +2563,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -2561,7 +2621,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -2576,7 +2636,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -2589,7 +2649,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -2612,11 +2672,11 @@
"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 not set or true, a new blob is created as head revision, and previous revisions are preserved (causing increased use of the user's data storage quota).
+ 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 revisions are preserved (causing increased use of the user's data storage quota).
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 ISO 639-1 codes.
ocr: boolean, Whether to attempt OCR on .jpg, .png, .gif, or .pdf uploads.
- pinned: boolean, Whether to pin the new revision.
+ pinned: boolean, Whether to pin the new revision. A file can have a maximum of 200 pinned revisions.
addParents: string, Comma-separated list of parent IDs to add.
removeParents: string, Comma-separated list of parent IDs to remove.
updateViewedDate: boolean, Whether to update the view date after successfully updating the file.
@@ -2671,6 +2731,11 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
+ "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
+ "width": 42, # The width of the video in pixels.
+ "durationMillis": "A String", # The duration of the video in milliseconds.
+ "height": 42, # The height of the video in pixels.
+ },
"lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
"picture": { # The user's profile picture.
"url": "A String", # A URL that points to a profile picture of this user.
@@ -2712,7 +2777,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner
@@ -2770,7 +2835,7 @@
"markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"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.
- "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
+ "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair that is either public or private to an application.
"kind": "drive#property", # This is always drive#property.
@@ -2785,7 +2850,7 @@
"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 using a relevant Google editor or viewer.
+ "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.
@@ -2798,7 +2863,7 @@
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified.
"authKey": "A String", # The authkey parameter required for this permission.
"etag": "A String", # The ETag of the permission.
- "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user and the given user's Google+ profile privacy settings allow exposing their email address.
+ "emailAddress": "A String", # The email address of the user this permission refers to. This is an output-only field which is present when the permission type is user.
"photoLink": "A String", # A link to the profile photo, if available.
"role": "A String", # The primary role for this user. Allowed values are:
# - owner