Module GapiDriveV2Service.RevisionsResource

val delete : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> fileId:string -> revisionId:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t

Removes a revision.

parameter base_url

Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v2/").

parameter std_params

Optional standard parameters.

parameter fileId

The ID of the file.

parameter revisionId

The ID of the revision.

val get : ?⁠base_url:string -> ?⁠etag:string -> ?⁠std_params:GapiService.StandardParameters.t -> fileId:string -> revisionId:string -> GapiConversation.Session.t -> GapiDriveV2Model.Revision.t * GapiConversation.Session.t

Gets a specific revision.

parameter base_url

Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v2/").

parameter etag

Optional ETag.

parameter std_params

Optional standard parameters.

parameter fileId

The ID of the file.

parameter revisionId

The ID of the revision.

val list : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> ?⁠maxResults:int -> ?⁠pageToken:string -> fileId:string -> GapiConversation.Session.t -> GapiDriveV2Model.RevisionList.t * GapiConversation.Session.t

Lists a file's revisions.

parameter base_url

Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v2/").

parameter std_params

Optional standard parameters.

parameter maxResults

Maximum number of revisions to return.

parameter pageToken

Page token for revisions. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response.

parameter fileId

The ID of the file.

val patch : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> fileId:string -> revisionId:string -> GapiDriveV2Model.Revision.t -> GapiConversation.Session.t -> GapiDriveV2Model.Revision.t * GapiConversation.Session.t

Updates a revision. This method supports patch semantics.

parameter base_url

Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v2/").

parameter std_params

Optional standard parameters.

parameter fileId

The ID for the file.

parameter revisionId

The ID for the revision.

val update : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> fileId:string -> revisionId:string -> GapiDriveV2Model.Revision.t -> GapiConversation.Session.t -> GapiDriveV2Model.Revision.t * GapiConversation.Session.t

Updates a revision.

parameter base_url

Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v2/").

parameter std_params

Optional standard parameters.

parameter fileId

The ID for the file.

parameter revisionId

The ID for the revision.