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
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,7 @@ <h3>Method Details</h3>
164
164
"canComment": True or False, # Deprecated: use capabilities/canComment.
165
165
"canReadRevisions": True or False, # Deprecated: use capabilities/canReadRevisions.
166
166
"capabilities": { # Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
167
+
"canAcceptOwnership": True or False, # Whether the current user is the pending owner of the file. Not populated for shared drive files.
167
168
"canAddChildren": True or False, # Whether the current user can add children to this folder. This is always false when the item is not a folder.
168
169
"canAddFolderFromAnotherDrive": True or False, # Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is false when the item is not a folder. Only populated for items in shared drives.
169
170
"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.
@@ -354,6 +355,7 @@ <h3>Method Details</h3>
354
355
"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 unless the permission type is anyone, in which case both id and value are ignored.
355
356
"kind": "drive#permission", # This is always drive#permission.
356
357
"name": "A String", # The name for this permission.
358
+
"pendingOwner": True or False, # Whether the account associated with this permission is a pending owner. Only populated for user type permissions for files that are not in a shared drive.
357
359
"permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
358
360
{
359
361
"additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
@@ -476,6 +478,7 @@ <h3>Method Details</h3>
476
478
"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 unless the permission type is anyone, in which case both id and value are ignored.
477
479
"kind": "drive#permission", # This is always drive#permission.
478
480
"name": "A String", # The name for this permission.
481
+
"pendingOwner": True or False, # Whether the account associated with this permission is a pending owner. Only populated for user type permissions for files that are not in a shared drive.
479
482
"permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
480
483
{
481
484
"additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
@@ -680,6 +683,7 @@ <h3>Method Details</h3>
680
683
"canComment": True or False, # Deprecated: use capabilities/canComment.
681
684
"canReadRevisions": True or False, # Deprecated: use capabilities/canReadRevisions.
682
685
"capabilities": { # Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
686
+
"canAcceptOwnership": True or False, # Whether the current user is the pending owner of the file. Not populated for shared drive files.
683
687
"canAddChildren": True or False, # Whether the current user can add children to this folder. This is always false when the item is not a folder.
684
688
"canAddFolderFromAnotherDrive": True or False, # Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is false when the item is not a folder. Only populated for items in shared drives.
685
689
"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.
@@ -870,6 +874,7 @@ <h3>Method Details</h3>
870
874
"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 unless the permission type is anyone, in which case both id and value are ignored.
871
875
"kind": "drive#permission", # This is always drive#permission.
872
876
"name": "A String", # The name for this permission.
877
+
"pendingOwner": True or False, # Whether the account associated with this permission is a pending owner. Only populated for user type permissions for files that are not in a shared drive.
873
878
"permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
874
879
{
875
880
"additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
@@ -992,6 +997,7 @@ <h3>Method Details</h3>
992
997
"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 unless the permission type is anyone, in which case both id and value are ignored.
993
998
"kind": "drive#permission", # This is always drive#permission.
994
999
"name": "A String", # The name for this permission.
1000
+
"pendingOwner": True or False, # Whether the account associated with this permission is a pending owner. Only populated for user type permissions for files that are not in a shared drive.
995
1001
"permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
996
1002
{
997
1003
"additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
0 commit comments