Liking cljdoc? Tell your friends :D

happygapi.drive.permissions

Drive API: permissions. Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. See: https://developers.google.com/drive/api/reference/rest/v3/permissions

Drive API: permissions.
Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.
See: https://developers.google.com/drive/api/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 [{:inherited boolean, :inheritedFrom string, :permissionType string, :role string}], :teamDrivePermissionDetails [{:inherited boolean, :inheritedFrom string, :role string, :teamDrivePermissionType string}], :id string, :kind string, :domain string, :view string, :photoLink string}

Creates a permission for a file or shared drive.

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 [{:inherited boolean,
                      :inheritedFrom string,
                      :permissionType string,
                      :role string}],
 :teamDrivePermissionDetails [{:inherited boolean,
                               :inheritedFrom string,
                               :role string,
                               :teamDrivePermissionType string}],
 :id string,
 :kind string,
 :domain string,
 :view string,
 :photoLink string}

Creates a permission for a file or shared drive.
sourceraw 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.

https://developers.google.com/drive/api/reference/rest/v3/permissions/delete

Required parameters: fileId, permissionId

Optional parameters: supportsAllDrives, supportsTeamDrives, useDomainAdminAccess

Deletes a permission.
sourceraw 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.
sourceraw docstring

list$clj

(list$ auth parameters)

https://developers.google.com/drive/api/reference/rest/v3/permissions/list

Required parameters: fileId

Optional parameters: includePermissionsForView, pageSize, pageToken, supportsAllDrives, supportsTeamDrives, useDomainAdminAccess

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: includePermissionsForView, pageSize, pageToken, supportsAllDrives, supportsTeamDrives, useDomainAdminAccess

Lists a file's or shared drive's permissions.
sourceraw 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 [{:inherited boolean, :inheritedFrom string, :permissionType string, :role string}], :teamDrivePermissionDetails [{:inherited boolean, :inheritedFrom string, :role string, :teamDrivePermissionType string}], :id string, :kind string, :domain string, :view string, :photoLink string}

Updates a permission with patch semantics.

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 [{:inherited boolean,
                      :inheritedFrom string,
                      :permissionType string,
                      :role string}],
 :teamDrivePermissionDetails [{:inherited boolean,
                               :inheritedFrom string,
                               :role string,
                               :teamDrivePermissionType string}],
 :id string,
 :kind string,
 :domain string,
 :view string,
 :photoLink string}

Updates a permission with patch semantics.
sourceraw docstring

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

× close