Module GapiDriveV2Service.RealtimeResource

module RealtimeResource: sig .. end

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.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v2/").
etag : Optional ETag.
std_params : Optional standard parameters.
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.
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.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/drive/v2/").
std_params : Optional standard parameters.
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.
fileId : The ID of the file that the Realtime API data model is associated with.