package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> ?media_download:GapiMediaResource.download -> ?revision:int -> fileId:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t

Exports the contents of the Realtime API data model associated with this file as JSON.

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

    The revision of the Realtime API data model to export. Revisions start at 1 (the initial empty data model) and are incremented with each change. If this parameter is excluded, the most recent data model will be returned.

  • parameter fileId

    The ID of the file that the Realtime API data model is associated with.

val update : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> ?media_source:GapiMediaResource.t -> ?baseRevision:string -> fileId:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t

Overwrites the Realtime API data model associated with this file with the provided JSON data model.

  • parameter base_url

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

  • parameter std_params

    Optional standard parameters.

  • parameter baseRevision

    The revision of the model to diff the uploaded model against. If set, the uploaded model is diffed against the provided revision and those differences are merged with any changes made to the model after the provided revision. If not set, the uploaded model replaces the current model on the server.

  • parameter fileId

    The ID of the file that the Realtime API data model is associated with.