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_v3.changes.html
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -213,8 +213,10 @@ <h3>Method Details</h3>
213
213
"canCopy": True or False, # Output only. 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.
214
214
"canDelete": True or False, # Output only. Whether the current user can delete this file.
215
215
"canDeleteChildren": True or False, # Output only. Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
216
+
"canDisableInheritedPermissions": True or False, # Whether a user can disable inherited permissions.
216
217
"canDownload": True or False, # Output only. Whether the current user can download this file.
217
218
"canEdit": True or False, # Output only. Whether the current user can edit this file. Other factors may limit the type of changes a user can make to a file. For example, see `canChangeCopyRequiresWriterPermission` or `canModifyContent`.
219
+
"canEnableInheritedPermissions": True or False, # Whether a user can re-enable inherited permissions.
218
220
"canListChildren": True or False, # Output only. Whether the current user can list the children of this folder. This is always false when the item is not a folder.
219
221
"canModifyContent": True or False, # Output only. Whether the current user can modify the content of this file.
220
222
"canModifyContentRestriction": True or False, # Deprecated: Output only. Use one of `canModifyEditorContentRestriction`, `canModifyOwnerContentRestriction` or `canRemoveContentRestriction`.
@@ -312,6 +314,7 @@ <h3>Method Details</h3>
312
314
"whiteBalance": "A String", # Output only. The white balance mode used to create the photo.
313
315
"width": 42, # Output only. The width of the image in pixels.
314
316
},
317
+
"inheritedPermissionsDisabled": True or False, # Whether this file has inherited permissions disabled. Inherited permissions are enabled by default.
315
318
"isAppAuthorized": True or False, # Output only. Whether the file was created or opened by the requesting app.
316
319
"kind": "drive#file", # Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#file"`.
317
320
"labelInfo": { # Output only. An overview of the labels on the file.
@@ -397,12 +400,13 @@ <h3>Method Details</h3>
397
400
"emailAddress": "A String", # The email address of the user or group to which this permission refers.
398
401
"expirationTime": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration times have the following restrictions: - They can only be set on user and group permissions - The time must be in the future - The time cannot be more than a year in the future
399
402
"id": "A String", # Output only. The ID of this permission. This is a unique identifier for the grantee, and is published in User resources as `permissionId`. IDs should be treated as opaque values.
403
+
"inheritedPermissionsDisabled": True or False, # When true, only organizers, owners, and users with permissions added directly on the item can access it.
400
404
"kind": "drive#permission", # Output only. Identifies what kind of resource this is. Value: the fixed string `"drive#permission"`.
401
405
"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.
402
-
"permissionDetails": [ # Output only. 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.
406
+
"permissionDetails": [ # Output only. Details of whether the permissions on this item are inherited or directly on this item.
403
407
{
404
408
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
405
-
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is an output-only field.
409
+
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
406
410
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
407
411
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
408
412
},
@@ -418,7 +422,7 @@ <h3>Method Details</h3>
418
422
},
419
423
],
420
424
"type": "A String", # The type of the grantee. Valid values are: * `user` * `group` * `domain` * `anyone` When creating a permission, if `type` is `user` or `group`, you must provide an `emailAddress` for the user or group. When `type` is `domain`, you must provide a `domain`. There isn't extra information required for an `anyone` type.
421
-
"view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. 'published'is the only supported value.
425
+
"view": "A String", # Indicates the view for this permission. Only populated for permissions that belong to a view. published and metadata are the only supported values. - published: The permission's role is published_reader. - metadata: The item is only visible to the metadata view because the item has limited access and the scope has at least read access to the parent. Note: The metadata view is currently only supported on folders.
422
426
},
423
427
],
424
428
"properties": { # A collection of arbitrary key-value pairs which are visible to all apps.
0 commit comments