module PermissionsResource: sig .. end
val create : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?transferOwnership:bool ->
?emailMessage:string ->
?sendNotificationEmail:bool ->
fileId:string ->
GapiDriveV3Model.Permission.t ->
GapiConversation.Session.t ->
GapiDriveV3Model.Permission.t * GapiConversation.Session.t
Creates a permission for a file.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").
std_params : Optional standard parameters.
transferOwnership : Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect.
emailMessage : A custom message to include in the notification email.
sendNotificationEmail : Whether to send a notification email when sharing to users or groups. This defaults to true for users and groups, and is not allowed for other requests. It must not be disabled for ownership transfers.
fileId : The ID of the file.
val delete : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
permissionId:string ->
GapiConversation.Session.t -> unit * GapiConversation.Session.t
Deletes a permission.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").
std_params : Optional standard parameters.
fileId : The ID of the file.
permissionId : The ID of the permission.
val get : ?base_url:string ->
?etag:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
permissionId:string ->
GapiConversation.Session.t ->
GapiDriveV3Model.Permission.t * GapiConversation.Session.t
Gets a permission by ID.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").
etag : Optional ETag.
std_params : Optional standard parameters.
fileId : The ID of the file.
permissionId : The ID of the permission.
val list : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
GapiConversation.Session.t ->
GapiDriveV3Model.PermissionList.t * GapiConversation.Session.t
Lists a file's permissions.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").
std_params : Optional standard parameters.
fileId : The ID of the file.
val update : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?removeExpiration:bool ->
?transferOwnership:bool ->
fileId:string ->
permissionId:string ->
GapiDriveV3Model.Permission.t ->
GapiConversation.Session.t ->
GapiDriveV3Model.Permission.t * GapiConversation.Session.t
Updates a permission with patch semantics.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v3/").
std_params : Optional standard parameters.
removeExpiration : Whether to remove the expiration date.
transferOwnership : Whether to transfer ownership to the specified user and downgrade the current owner to a writer. This parameter is required as an acknowledgement of the side effect.
fileId : The ID of the file.
permissionId : The ID of the permission.