package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val delete : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> fileId:string -> parentId:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t

Removes a parent from a file.

  • 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 parentId

    The ID of the parent.

val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> fileId:string -> parentId:string -> GapiConversation.Session.t -> GapiDriveV2Model.ParentReference.t * GapiConversation.Session.t

Gets a specific parent reference.

  • 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 parentId

    The ID of the parent.

Adds a parent folder for a file.

  • 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.

Lists a file's parents.

  • 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.