GapiDriveV2Service.FilesResource
module Visibility : sig ... end
module Projection : sig ... end
module ModifiedDateBehavior : sig ... end
module Corpus : sig ... end
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.t
Creates a copy of the specified file.
val delete :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
GapiConversation.Session.t ->
unit * GapiConversation.Session.t
Permanently deletes a file by ID. Skips the trash. The currently authenticated user must own the file.
val emptyTrash :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
GapiConversation.Session.t ->
unit * GapiConversation.Session.t
Permanently deletes all of the user's trashed files.
val export :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?media_download:GapiMediaResource.download ->
fileId:string ->
mimeType:string ->
GapiConversation.Session.t ->
unit * GapiConversation.Session.t
Exports a Google Doc to the requested MIME type and returns the exported content.
val generateIds :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
?maxResults:int ->
?space:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.GeneratedIds.t * GapiConversation.Session.t
Generates a set of file IDs which can be provided in insert requests.
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.t
Gets a file's metadata by ID.
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.t
Insert a new file.
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.t
Lists the user's files.
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.t
Updates file metadata and/or content. This method supports patch semantics.
val touch :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.t
Set the file's updated time to the current server time.
val trash :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.t
Moves a file to the trash. The currently authenticated user must own the file.
val untrash :
?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
fileId:string ->
GapiConversation.Session.t ->
GapiDriveV2Model.File.t * GapiConversation.Session.t
Restores a file from the trash.
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.t
Updates file metadata and/or content.
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.t
Subscribe to changes on a file