package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Creates a new comment on a file.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter fileId

    The ID of the file.

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

Deletes a comment.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter fileId

    The ID of the file.

  • parameter commentId

    The ID of the comment.

val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> ?includeDeleted:bool -> fileId:string -> commentId:string -> GapiConversation.Session.t -> GapiDriveV3Model.Comment.t * GapiConversation.Session.t

Gets a comment by ID.

  • parameter base_url

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

  • parameter etag

    Optional ETag.

  • parameter std_params

    Optional standard parameters.

  • parameter includeDeleted

    Whether to return deleted comments. Deleted comments will not include their original content.

  • parameter fileId

    The ID of the file.

  • parameter commentId

    The ID of the comment.

val list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?includeDeleted:bool -> ?pageSize:int -> ?pageToken:string -> ?startModifiedTime:string -> fileId:string -> GapiConversation.Session.t -> GapiDriveV3Model.CommentList.t * GapiConversation.Session.t

Lists a file's comments.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter includeDeleted

    Whether to include deleted comments. Deleted comments will not include their original content.

  • parameter pageSize

    The maximum number of comments to return per page.

  • parameter pageToken

    The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

  • parameter startModifiedTime

    The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time).

  • parameter fileId

    The ID of the file.

val update : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> fileId:string -> commentId:string -> GapiDriveV3Model.Comment.t -> GapiConversation.Session.t -> GapiDriveV3Model.Comment.t * GapiConversation.Session.t

Updates a comment with patch semantics.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter fileId

    The ID of the file.

  • parameter commentId

    The ID of the comment.