ocaml-google-app/doc/html/ocaml-google-apps/GoogleApps/File/index.html
2020-08-26 03:44:00 +02:00

2 lines
6.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>File (ocaml-google-apps.GoogleApps.File)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">ocaml-google-apps</a> &#x00BB; <a href="../index.html">GoogleApps</a> &#x00BB; File</nav><h1>Module <code>GoogleApps.File</code></h1><p>Files in Google Drive.</p></header><dl><dt class="spec type" id="type-folder"><a href="#type-folder" class="anchor"></a><code><span class="keyword">type</span> folder</code></dt></dl><dl><dt class="spec value" id="val-get_folder_by_id"><a href="#val-get_folder_by_id" class="anchor"></a><code><span class="keyword">val</span> get_folder_by_id : string <span>&#45;&gt;</span> <a href="index.html#type-folder">folder</a></code></dt></dl><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt></dl><dl><dt class="spec value" id="val-t_of_js"><a href="#val-t_of_js" class="anchor"></a><code><span class="keyword">val</span> t_of_js : Ojs.t <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_file_by_id"><a href="#val-get_file_by_id" class="anchor"></a><code><span class="keyword">val</span> get_file_by_id : string <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-get_id"><a href="#val-get_id" class="anchor"></a><code><span class="keyword">val</span> get_id : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-get_name"><a href="#val-get_name" class="anchor"></a><code><span class="keyword">val</span> get_name : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-get_size"><a href="#val-get_size" class="anchor"></a><code><span class="keyword">val</span> get_size : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> int</code></dt><dt class="spec value" id="val-make_copy"><a href="#val-make_copy" class="anchor"></a><code><span class="keyword">val</span> make_copy : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>name:string</span> <span>&#45;&gt;</span> <span>folder:<a href="index.html#type-folder">folder</a></span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-set_content"><a href="#val-set_content" class="anchor"></a><code><span class="keyword">val</span> set_content : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <span>content:string</span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt></dl><dl><dt class="spec type" id="type-iterator"><a href="#type-iterator" class="anchor"></a><code><span class="keyword">type</span> iterator</code></dt><dd><p>An iterator that allows scripts to iterate over a potentially large collection of <a href="index.html#type-t"><code>File.t</code></a>.</p></dd></dl><dl><dt class="spec value" id="val-get_files"><a href="#val-get_files" class="anchor"></a><code><span class="keyword">val</span> get_files : unit <span>&#45;&gt;</span> <a href="index.html#type-iterator">iterator</a></code></dt><dd><dl><dt>returns</dt><dd><p>a <span class="xref-unresolved" title="unresolved reference to &quot;FileIterator.t&quot;"><code>FileIterator</code>.t</span> for all files of the drive</p></dd></dl></dd></dl><dl><dt class="spec value" id="val-has_next"><a href="#val-has_next" class="anchor"></a><code><span class="keyword">val</span> has_next : <a href="index.html#type-iterator">iterator</a> <span>&#45;&gt;</span> bool</code></dt><dt class="spec value" id="val-next"><a href="#val-next" class="anchor"></a><code><span class="keyword">val</span> next : <a href="index.html#type-iterator">iterator</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt></dl><dl><dt class="spec type" id="type-blob"><a href="#type-blob" class="anchor"></a><code><span class="keyword">type</span> blob</code></dt></dl><dl><dt class="spec value" id="val-blob_to_js"><a href="#val-blob_to_js" class="anchor"></a><code><span class="keyword">val</span> blob_to_js : <a href="index.html#type-blob">blob</a> <span>&#45;&gt;</span> Ojs.t</code></dt><dt class="spec value" id="val-new_blob"><a href="#val-new_blob" class="anchor"></a><code><span class="keyword">val</span> new_blob : string <span>&#45;&gt;</span> <a href="index.html#type-blob">blob</a></code></dt><dt class="spec value" id="val-get_blob"><a href="#val-get_blob" class="anchor"></a><code><span class="keyword">val</span> get_blob : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-blob">blob</a></code></dt><dt class="spec value" id="val-copy_blob"><a href="#val-copy_blob" class="anchor"></a><code><span class="keyword">val</span> copy_blob : <a href="index.html#type-blob">blob</a> <span>&#45;&gt;</span> <a href="index.html#type-blob">blob</a></code></dt><dt class="spec value" id="val-get_blob_data_as_string"><a href="#val-get_blob_data_as_string" class="anchor"></a><code><span class="keyword">val</span> get_blob_data_as_string : <a href="index.html#type-blob">blob</a> <span>&#45;&gt;</span> string</code></dt><dt class="spec value" id="val-set_blob_data_from_string"><a href="#val-set_blob_data_from_string" class="anchor"></a><code><span class="keyword">val</span> set_blob_data_from_string : <a href="index.html#type-blob">blob</a> <span>&#45;&gt;</span> <span>data:string</span> <span>&#45;&gt;</span> <a href="index.html#type-blob">blob</a></code></dt><dt class="spec value" id="val-set_blob_name"><a href="#val-set_blob_name" class="anchor"></a><code><span class="keyword">val</span> set_blob_name : <a href="index.html#type-blob">blob</a> <span>&#45;&gt;</span> <span>name:string</span> <span>&#45;&gt;</span> <a href="index.html#type-blob">blob</a></code></dt><dt class="spec value" id="val-set_blob_content_type"><a href="#val-set_blob_content_type" class="anchor"></a><code><span class="keyword">val</span> set_blob_content_type : <a href="index.html#type-blob">blob</a> <span>&#45;&gt;</span> <span>content_type:string</span> <span>&#45;&gt;</span> <a href="index.html#type-blob">blob</a></code></dt></dl></div></body></html>