Skip to content

Commit

Permalink
UGemini v2.0.0-preview.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Uralstech committed Aug 29, 2024
1 parent a6aa2e0 commit 16fafc1
Show file tree
Hide file tree
Showing 254 changed files with 283 additions and 281 deletions.
Binary file modified UGemini/Packages/com.uralstech.ugemini/Documentation~/refman.pdf
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ refer to the following list and table of changes:

### General Changes
- `EnumExtensions` is now `GeminiContentTypeExtensions`.
- The `fileId` field in the constructors for `GeminiFileDeleteRequest` and `GeminiFileGetRequest` has been renamed to `fileNameOrId`.
- All code previously marked as "deprecated" has been removed.

### Namespace Changes
Expand Down
2 changes: 1 addition & 1 deletion docs/annotated.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down Expand Up @@ -105,7 +105,7 @@
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#a674668d1949a0514ab419399b0211b63">ApiVersion</a></td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html">Uralstech.UGemini.FileAPI.GeminiFileDeleteRequest</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#af727126ce217dedfd2af30911dd1dc79">FileId</a></td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html">Uralstech.UGemini.FileAPI.GeminiFileDeleteRequest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#aa4ec0edd7dc1974809733389a1f615b3">GeminiFileDeleteRequest</a>(string fileId, bool useBetaApi=true)</td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html">Uralstech.UGemini.FileAPI.GeminiFileDeleteRequest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#a3b025a3866813c7a368806a1031a51c4">GeminiFileDeleteRequest</a>(string fileNameOrId, bool useBetaApi=true)</td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html">Uralstech.UGemini.FileAPI.GeminiFileDeleteRequest</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#a468845875f4d6f4165013baf75e726b5">GetEndpointUri</a>(GeminiRequestMetadata metadata)</td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html">Uralstech.UGemini.FileAPI.GeminiFileDeleteRequest</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down Expand Up @@ -130,9 +130,9 @@
<dl class="section return"><dt>Returns</dt><dd>The URI.</dd></dl>
<br /></td></tr>
<tr class="separator:a468845875f4d6f4165013baf75e726b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4ec0edd7dc1974809733389a1f615b3" id="r_aa4ec0edd7dc1974809733389a1f615b3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aa4ec0edd7dc1974809733389a1f615b3">GeminiFileDeleteRequest</a> (string fileId, bool useBetaApi=true)</td></tr>
<tr class="memdesc:aa4ec0edd7dc1974809733389a1f615b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html" title="Requests metadata for an existing file. Return type is GeminiFile.">GeminiFileGetRequest</a>. <br /></td></tr>
<tr class="separator:aa4ec0edd7dc1974809733389a1f615b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b025a3866813c7a368806a1031a51c4" id="r_a3b025a3866813c7a368806a1031a51c4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a3b025a3866813c7a368806a1031a51c4">GeminiFileDeleteRequest</a> (string fileNameOrId, bool useBetaApi=true)</td></tr>
<tr class="memdesc:a3b025a3866813c7a368806a1031a51c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html" title="Requests the deletion of a file.">GeminiFileDeleteRequest</a>. <br /></td></tr>
<tr class="separator:a3b025a3866813c7a368806a1031a51c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
Expand All @@ -148,16 +148,16 @@
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Requests the deletion of a file. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aa4ec0edd7dc1974809733389a1f615b3" name="aa4ec0edd7dc1974809733389a1f615b3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa4ec0edd7dc1974809733389a1f615b3">&#9670;&#160;</a></span>GeminiFileDeleteRequest()</h2>
<a id="a3b025a3866813c7a368806a1031a51c4" name="a3b025a3866813c7a368806a1031a51c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b025a3866813c7a368806a1031a51c4">&#9670;&#160;</a></span>GeminiFileDeleteRequest()</h2>

<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Uralstech.UGemini.FileAPI.GeminiFileDeleteRequest.GeminiFileDeleteRequest </td>
<td>(</td>
<td class="paramtype">string</td> <td class="paramname"><span class="paramname"><em>fileId</em></span>, </td>
<td class="paramtype">string</td> <td class="paramname"><span class="paramname"><em>fileNameOrId</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
Expand All @@ -167,10 +167,10 @@ <h2 class="memtitle"><span class="permalink"><a href="#aa4ec0edd7dc1974809733389
</table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html" title="Requests metadata for an existing file. Return type is GeminiFile.">GeminiFileGetRequest</a>. </p>
<p>Creates a new <a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html" title="Requests the deletion of a file.">GeminiFileDeleteRequest</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fileId</td><td>The ID of the file to delete.</td></tr>
<tr><td class="paramname">fileNameOrId</td><td>The name (format 'files/{fileId}') or ID of the file to delete.</td></tr>
<tr><td class="paramname">useBetaApi</td><td>Should the request use the Beta API?</td></tr>
</table>
</dd>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request =
[
[ "GeminiFileDeleteRequest", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#aa4ec0edd7dc1974809733389a1f615b3", null ],
[ "GeminiFileDeleteRequest", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#a3b025a3866813c7a368806a1031a51c4", null ],
[ "GetEndpointUri", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#a468845875f4d6f4165013baf75e726b5", null ],
[ "ApiVersion", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#a674668d1949a0514ab419399b0211b63", null ],
[ "FileId", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_delete_request.html#af727126ce217dedfd2af30911dd1dc79", null ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down Expand Up @@ -105,7 +105,7 @@
<table class="directory">
<tr class="even"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#a32b7138a90f955de05c9f8b6e31e96cd">ApiVersion</a></td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html">Uralstech.UGemini.FileAPI.GeminiFileGetRequest</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#a5454255b3a5058f077099ee114748b3d">FileId</a></td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html">Uralstech.UGemini.FileAPI.GeminiFileGetRequest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#a78e88187e3dac8839180bc202eb9bdb8">GeminiFileGetRequest</a>(string fileId, bool useBetaApi=true)</td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html">Uralstech.UGemini.FileAPI.GeminiFileGetRequest</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#aca11be9dc3fe159aff1010b6a883df4f">GeminiFileGetRequest</a>(string fileNameOrId, bool useBetaApi=true)</td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html">Uralstech.UGemini.FileAPI.GeminiFileGetRequest</a></td><td class="entry"></td></tr>
<tr class="odd"><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#a4cdb2e36ec4b15ce95f1837f9aa4f681">GetEndpointUri</a>(GeminiRequestMetadata metadata)</td><td class="entry"><a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html">Uralstech.UGemini.FileAPI.GeminiFileGetRequest</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
</div><!-- doc-content -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down Expand Up @@ -130,9 +130,9 @@
<dl class="section return"><dt>Returns</dt><dd>The URI.</dd></dl>
<br /></td></tr>
<tr class="separator:a4cdb2e36ec4b15ce95f1837f9aa4f681"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78e88187e3dac8839180bc202eb9bdb8" id="r_a78e88187e3dac8839180bc202eb9bdb8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#a78e88187e3dac8839180bc202eb9bdb8">GeminiFileGetRequest</a> (string fileId, bool useBetaApi=true)</td></tr>
<tr class="memdesc:a78e88187e3dac8839180bc202eb9bdb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html" title="Requests metadata for an existing file. Return type is GeminiFile.">GeminiFileGetRequest</a>. <br /></td></tr>
<tr class="separator:a78e88187e3dac8839180bc202eb9bdb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca11be9dc3fe159aff1010b6a883df4f" id="r_aca11be9dc3fe159aff1010b6a883df4f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="#aca11be9dc3fe159aff1010b6a883df4f">GeminiFileGetRequest</a> (string fileNameOrId, bool useBetaApi=true)</td></tr>
<tr class="memdesc:aca11be9dc3fe159aff1010b6a883df4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html" title="Requests metadata for an existing file. Return type is GeminiFile.">GeminiFileGetRequest</a>. <br /></td></tr>
<tr class="separator:aca11be9dc3fe159aff1010b6a883df4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Public Attributes</h2></td></tr>
Expand All @@ -148,16 +148,16 @@
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Requests metadata for an existing file. Return type is <a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file.html" title="Metadata for a file uploaded to the File API.">GeminiFile</a>. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a78e88187e3dac8839180bc202eb9bdb8" name="a78e88187e3dac8839180bc202eb9bdb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78e88187e3dac8839180bc202eb9bdb8">&#9670;&#160;</a></span>GeminiFileGetRequest()</h2>
<a id="aca11be9dc3fe159aff1010b6a883df4f" name="aca11be9dc3fe159aff1010b6a883df4f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca11be9dc3fe159aff1010b6a883df4f">&#9670;&#160;</a></span>GeminiFileGetRequest()</h2>

<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Uralstech.UGemini.FileAPI.GeminiFileGetRequest.GeminiFileGetRequest </td>
<td>(</td>
<td class="paramtype">string</td> <td class="paramname"><span class="paramname"><em>fileId</em></span>, </td>
<td class="paramtype">string</td> <td class="paramname"><span class="paramname"><em>fileNameOrId</em></span>, </td>
</tr>
<tr>
<td class="paramkey"></td>
Expand All @@ -170,7 +170,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a78e88187e3dac8839180bc20
<p>Creates a new <a class="el" href="class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html" title="Requests metadata for an existing file. Return type is GeminiFile.">GeminiFileGetRequest</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fileId</td><td>The ID of the file to get.</td></tr>
<tr><td class="paramname">fileNameOrId</td><td>The name (format 'files/{fileId}') or ID of the file to get.</td></tr>
<tr><td class="paramname">useBetaApi</td><td>Should the request use the Beta API?</td></tr>
</table>
</dd>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request =
[
[ "GeminiFileGetRequest", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#a78e88187e3dac8839180bc202eb9bdb8", null ],
[ "GeminiFileGetRequest", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#aca11be9dc3fe159aff1010b6a883df4f", null ],
[ "GetEndpointUri", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#a4cdb2e36ec4b15ce95f1837f9aa4f681", null ],
[ "ApiVersion", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#a32b7138a90f955de05c9f8b6e31e96cd", null ],
[ "FileId", "class_uralstech_1_1_u_gemini_1_1_file_a_p_i_1_1_gemini_file_get_request.html#a5454255b3a5058f077099ee114748b3d", null ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.2</span>
<div id="projectname">UGemini<span id="projectnumber">&#160;2.0.0-preview.3</span>
</div>
<div id="projectbrief">A C# wrapper for the Google Gemini API.</div>
</td>
Expand Down
Loading

0 comments on commit 16fafc1

Please sign in to comment.