Module GoogleApps.File
Files in Google Drive.
val get_folder_by_id : string -> folder
val t_of_js : Ojs.t -> t
val get_file_by_id : string -> t
val get_id : t -> string
val get_name : t -> string
val get_size : t -> int
val make_copy : t -> name:string -> folder:folder -> t
val set_content : t -> content:string -> t
type iterator
An iterator that allows scripts to iterate over a potentially large collection of
File.t
.
val get_files : unit -> iterator
- returns
a
FileIterator
.t for all files of the drive
val blob_to_js : blob -> Ojs.t
val new_blob : string -> blob
val get_blob : t -> blob
val copy_blob : blob -> blob
val get_blob_data_as_string : blob -> string
val set_blob_data_from_string : blob -> data:string -> blob
val set_blob_name : blob -> name:string -> blob
val set_blob_content_type : blob -> content_type:string -> blob