package gapi-ocaml
Module GapiDriveV2Service.FilesResourceSource
Source
val copy :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?convert:bool ->
?ocr:bool ->
?pinned:bool ->
?visibility:Visibility.t ->
?ocrLanguage:string ->
?timedTextLanguage:string ->
?timedTextTrackName:string ->
fileId:string ->
GapiDriveV2Model.File.t ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.tCreates a copy of the specified file.
Source
val delete :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
GapiConversation.Session.t ->
unit * GapiConversation.Session.tPermanently deletes a file by ID. Skips the trash. The currently authenticated user must own the file.
Source
val emptyTrash :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
GapiConversation.Session.t ->
unit * GapiConversation.Session.tPermanently deletes all of the user's trashed files.
Source
val export :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?media_download:GapiMediaResource.download ->
fileId:string ->
mimeType:string ->
GapiConversation.Session.t ->
unit * GapiConversation.Session.tExports a Google Doc to the requested MIME type and returns the exported content.
Source
val generateIds :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?maxResults:int ->
?space:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.GeneratedIds.t * GapiConversation.Session.tGenerates a set of file IDs which can be provided in insert requests.
Source
val get :
?base_url:string ->
?etag:string ->
?std_params:GapiService.StandardParameters.t ->
?media_download:GapiMediaResource.download ->
?acknowledgeAbuse:bool ->
?updateViewedDate:bool ->
?projection:Projection.t ->
?revisionId:string ->
fileId:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.tGets a file's metadata by ID.
Source
val insert :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?media_source:GapiMediaResource.t ->
?convert:bool ->
?ocr:bool ->
?pinned:bool ->
?useContentAsIndexableText:bool ->
?visibility:Visibility.t ->
?ocrLanguage:string ->
?timedTextLanguage:string ->
?timedTextTrackName:string ->
GapiDriveV2Model.File.t ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.tInsert a new file.
Source
val list :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?maxResults:int ->
?corpus:Corpus.t ->
?orderBy:string ->
?pageToken:string ->
?projection:Projection.t ->
?q:string ->
?spaces:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.FileList.t * GapiConversation.Session.tLists the user's files.
Source
val patch :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?convert:bool ->
?newRevision:bool ->
?ocr:bool ->
?pinned:bool ->
?setModifiedDate:bool ->
?updateViewedDate:bool ->
?useContentAsIndexableText:bool ->
?addParents:string ->
?modifiedDateBehavior:ModifiedDateBehavior.t ->
?ocrLanguage:string ->
?removeParents:string ->
?timedTextLanguage:string ->
?timedTextTrackName:string ->
fileId:string ->
GapiDriveV2Model.File.t ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.tUpdates file metadata and/or content. This method supports patch semantics.
Source
val touch :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.tSet the file's updated time to the current server time.
Source
val trash :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.tMoves a file to the trash. The currently authenticated user must own the file.
Source
val untrash :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.tRestores a file from the trash.
Source
val update :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?media_source:GapiMediaResource.t ->
?convert:bool ->
?newRevision:bool ->
?ocr:bool ->
?pinned:bool ->
?setModifiedDate:bool ->
?updateViewedDate:bool ->
?useContentAsIndexableText:bool ->
?addParents:string ->
?modifiedDateBehavior:ModifiedDateBehavior.t ->
?ocrLanguage:string ->
?removeParents:string ->
?timedTextLanguage:string ->
?timedTextTrackName:string ->
fileId:string ->
GapiDriveV2Model.File.t ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.tUpdates file metadata and/or content.
Source
val watch :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?media_download:GapiMediaResource.download ->
?acknowledgeAbuse:bool ->
?updateViewedDate:bool ->
?projection:Projection.t ->
?revisionId:string ->
fileId:string ->
GapiDriveV2Model.Channel.t ->
GapiConversation.Session.t ->
GapiDriveV2Model.Channel.t * GapiConversation.Session.tSubscribe to changes on a file