You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/drive_v2.changes.html
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -169,6 +169,7 @@ <h3>Method Details</h3>
169
169
"canAddMyDriveParent": True or False, # Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.
170
170
"canChangeCopyRequiresWriterPermission": True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this file.
171
171
"canChangeRestrictedDownload": True or False, # Deprecated
172
+
"canChangeSecurityUpdateEnabled": True or False, # Whether the current user can change the securityUpdateEnabled field on link share metadata.
172
173
"canComment": True or False, # Whether the current user can comment on this file.
173
174
"canCopy": True or False, # Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
174
175
"canDelete": True or False, # Whether the current user can delete this file.
@@ -292,6 +293,10 @@ <h3>Method Details</h3>
292
293
},
293
294
"lastModifyingUserName": "A String", # Name of the last user to modify this file.
294
295
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
296
+
"linkShareMetadata": { # Contains details about the link URLs that clients are using to refer to this item.
297
+
"securityUpdateEligible": True or False, # Whether the file is eligible for security update.
298
+
"securityUpdateEnabled": True or False, # Whether the security update is enabled for this file.
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Google Drive; it is not populated for Docs Editors or shortcut files.
297
302
"mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
@@ -411,6 +416,7 @@ <h3>Method Details</h3>
411
416
},
412
417
],
413
418
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
419
+
"resourceKey": "A String", # A key needed to access the item via a shared link.
414
420
"selfLink": "A String", # A link back to this file.
415
421
"shareable": True or False, # Deprecated: use capabilities/canShare.
416
422
"shared": True or False, # Whether the file has been shared. Not populated for items in shared drives.
@@ -428,6 +434,7 @@ <h3>Method Details</h3>
428
434
"shortcutDetails": { # Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.
429
435
"targetId": "A String", # The ID of the file that this shortcut points to.
430
436
"targetMimeType": "A String", # The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target's MIME type, captured when the shortcut is created.
437
+
"targetResourceKey": "A String", # The ResourceKey for the target file.
431
438
},
432
439
"spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
433
440
"A String",
@@ -678,6 +685,7 @@ <h3>Method Details</h3>
678
685
"canAddMyDriveParent": True or False, # Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.
679
686
"canChangeCopyRequiresWriterPermission": True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this file.
680
687
"canChangeRestrictedDownload": True or False, # Deprecated
688
+
"canChangeSecurityUpdateEnabled": True or False, # Whether the current user can change the securityUpdateEnabled field on link share metadata.
681
689
"canComment": True or False, # Whether the current user can comment on this file.
682
690
"canCopy": True or False, # Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
683
691
"canDelete": True or False, # Whether the current user can delete this file.
@@ -801,6 +809,10 @@ <h3>Method Details</h3>
801
809
},
802
810
"lastModifyingUserName": "A String", # Name of the last user to modify this file.
803
811
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
812
+
"linkShareMetadata": { # Contains details about the link URLs that clients are using to refer to this item.
813
+
"securityUpdateEligible": True or False, # Whether the file is eligible for security update.
814
+
"securityUpdateEnabled": True or False, # Whether the security update is enabled for this file.
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Google Drive; it is not populated for Docs Editors or shortcut files.
806
818
"mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
@@ -920,6 +932,7 @@ <h3>Method Details</h3>
920
932
},
921
933
],
922
934
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
935
+
"resourceKey": "A String", # A key needed to access the item via a shared link.
923
936
"selfLink": "A String", # A link back to this file.
924
937
"shareable": True or False, # Deprecated: use capabilities/canShare.
925
938
"shared": True or False, # Whether the file has been shared. Not populated for items in shared drives.
@@ -937,6 +950,7 @@ <h3>Method Details</h3>
937
950
"shortcutDetails": { # Shortcut file details. Only populated for shortcut files, which have the mimeType field set to application/vnd.google-apps.shortcut.
938
951
"targetId": "A String", # The ID of the file that this shortcut points to.
939
952
"targetMimeType": "A String", # The MIME type of the file that this shortcut points to. The value of this field is a snapshot of the target's MIME type, captured when the shortcut is created.
953
+
"targetResourceKey": "A String", # The ResourceKey for the target file.
940
954
},
941
955
"spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
0 commit comments