Liking cljdoc? Tell your friends :D

happygapi.drive.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

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
raw docstring

create$clj

(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.
raw docstring

delete$clj

(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.
raw docstring

get$clj

(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.
raw docstring

list$clj

(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.
raw docstring

update$clj

(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.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close