Google Drive API: permissions. The Google Drive API allows clients to access resources from Google Drive. See: https://developers.google.com/drive/docs/reference/rest/v3/permissions
Google Drive API: permissions. The Google Drive API allows clients to access resources from Google Drive. See: https://developers.google.com/drive/docs/reference/rest/v3/permissions
(create$ auth parameters body)https://developers.google.com/drive/api/reference/rest/v3/permissions/create
Required parameters: fileId
Optional parameters: transferOwnership, moveToNewOwnersRoot, emailMessage, enforceSingleParent, supportsAllDrives, useDomainAdminAccess, sendNotificationEmail, supportsTeamDrives
Body:
{:role string, :deleted boolean, :allowFileDiscovery boolean, :expirationTime string, :displayName string, :emailAddress string, :type string, :permissionDetails [{:permissionType string, :inheritedFrom string, :role string, :inherited boolean}], :teamDrivePermissionDetails [{:teamDrivePermissionType string, :inheritedFrom string, :role string, :inherited boolean}], :id string, :kind string, :pendingOwner boolean, :domain string, :view string, :photoLink string}
Creates a permission for a file or shared drive. Warning: Concurrent permissions operations on the same file are not supported; only the last update is applied.
https://developers.google.com/drive/api/reference/rest/v3/permissions/create
Required parameters: fileId
Optional parameters: transferOwnership, moveToNewOwnersRoot, emailMessage, enforceSingleParent, supportsAllDrives, useDomainAdminAccess, sendNotificationEmail, supportsTeamDrives
Body:
{:role string,
:deleted boolean,
:allowFileDiscovery boolean,
:expirationTime string,
:displayName string,
:emailAddress string,
:type string,
:permissionDetails [{:permissionType string,
:inheritedFrom string,
:role string,
:inherited boolean}],
:teamDrivePermissionDetails [{:teamDrivePermissionType string,
:inheritedFrom string,
:role string,
:inherited boolean}],
:id string,
:kind string,
:pendingOwner boolean,
:domain string,
:view string,
:photoLink string}
Creates a permission for a file or shared drive. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.(delete$ auth parameters)https://developers.google.com/drive/api/reference/rest/v3/permissions/delete
Required parameters: fileId, permissionId
Optional parameters: supportsAllDrives, supportsTeamDrives, useDomainAdminAccess
Deletes a permission. Warning: Concurrent permissions operations on the same file are not supported; only the last update is applied.
https://developers.google.com/drive/api/reference/rest/v3/permissions/delete Required parameters: fileId, permissionId Optional parameters: supportsAllDrives, supportsTeamDrives, useDomainAdminAccess Deletes a permission. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.
(get$ auth parameters)https://developers.google.com/drive/api/reference/rest/v3/permissions/get
Required parameters: fileId, permissionId
Optional parameters: supportsAllDrives, supportsTeamDrives, useDomainAdminAccess
Gets a permission by ID.
https://developers.google.com/drive/api/reference/rest/v3/permissions/get Required parameters: fileId, permissionId Optional parameters: supportsAllDrives, supportsTeamDrives, useDomainAdminAccess Gets a permission by ID.
(list$ auth parameters)https://developers.google.com/drive/api/reference/rest/v3/permissions/list
Required parameters: fileId
Optional parameters: pageSize, pageToken, supportsAllDrives, supportsTeamDrives, useDomainAdminAccess, includePermissionsForView
Lists a file's or shared drive's permissions.
https://developers.google.com/drive/api/reference/rest/v3/permissions/list Required parameters: fileId Optional parameters: pageSize, pageToken, supportsAllDrives, supportsTeamDrives, useDomainAdminAccess, includePermissionsForView Lists a file's or shared drive's permissions.
(update$ auth parameters body)https://developers.google.com/drive/api/reference/rest/v3/permissions/update
Required parameters: fileId, permissionId
Optional parameters: removeExpiration, supportsAllDrives, supportsTeamDrives, transferOwnership, useDomainAdminAccess
Body:
{:role string, :deleted boolean, :allowFileDiscovery boolean, :expirationTime string, :displayName string, :emailAddress string, :type string, :permissionDetails [{:permissionType string, :inheritedFrom string, :role string, :inherited boolean}], :teamDrivePermissionDetails [{:teamDrivePermissionType string, :inheritedFrom string, :role string, :inherited boolean}], :id string, :kind string, :pendingOwner boolean, :domain string, :view string, :photoLink string}
Updates a permission with patch semantics. Warning: Concurrent permissions operations on the same file are not supported; only the last update is applied.
https://developers.google.com/drive/api/reference/rest/v3/permissions/update
Required parameters: fileId, permissionId
Optional parameters: removeExpiration, supportsAllDrives, supportsTeamDrives, transferOwnership, useDomainAdminAccess
Body:
{:role string,
:deleted boolean,
:allowFileDiscovery boolean,
:expirationTime string,
:displayName string,
:emailAddress string,
:type string,
:permissionDetails [{:permissionType string,
:inheritedFrom string,
:role string,
:inherited boolean}],
:teamDrivePermissionDetails [{:teamDrivePermissionType string,
:inheritedFrom string,
:role string,
:inherited boolean}],
:id string,
:kind string,
:pendingOwner boolean,
:domain string,
:view string,
:photoLink string}
Updates a permission with patch semantics. **Warning:** Concurrent permissions operations on the same file are not supported; only the last update is applied.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |