Skip to content

Commit 3fce351

Browse files
chore(firebaseml): update the api
#### firebaseml:v1beta2 The following keys were added: - resources.projects.resources.models.methods.download (Total Keys: 10) - schemas.DownloadModelResponse (Total Keys: 12)
1 parent 0244bd3 commit 3fce351

File tree

2 files changed

+557
-473
lines changed

2 files changed

+557
-473
lines changed

docs/dyn/firebaseml_v1beta2.projects.models.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ <h2>Instance Methods</h2>
8383
<p class="toc_element">
8484
<code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Deletes a model</p>
86+
<p class="toc_element">
87+
<code><a href="#download">download(name, x__xgafv=None)</a></code></p>
88+
<p class="firstline">Gets Download information for a model. This is meant for downloading model resources onto devices. It gives very limited information about the model.</p>
8689
<p class="toc_element">
8790
<code><a href="#get">get(name, x__xgafv=None)</a></code></p>
8891
<p class="firstline">Gets a model resource.</p>
@@ -207,6 +210,28 @@ <h3>Method Details</h3>
207210
}</pre>
208211
</div>
209212

213+
<div class="method">
214+
<code class="details" id="download">download(name, x__xgafv=None)</code>
215+
<pre>Gets Download information for a model. This is meant for downloading model resources onto devices. It gives very limited information about the model.
216+
217+
Args:
218+
name: string, Required. The name of the model to download. The name must have the form `projects/{project}/models/{model}` (required)
219+
x__xgafv: string, V1 error format.
220+
Allowed values
221+
1 - v1 error format
222+
2 - v2 error format
223+
224+
Returns:
225+
An object of the form:
226+
227+
{ # The response for downloading a model to device.
228+
&quot;downloadUri&quot;: &quot;A String&quot;, # Output only. A download URI for the model/zip file.
229+
&quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time that the download URI link expires. If the link has expired, the REST call must be repeated.
230+
&quot;modelFormat&quot;: &quot;A String&quot;, # Output only. The format of the model being downloaded.
231+
&quot;sizeBytes&quot;: &quot;A String&quot;, # Output only. The size of the file(s), if this information is available.
232+
}</pre>
233+
</div>
234+
210235
<div class="method">
211236
<code class="details" id="get">get(name, x__xgafv=None)</code>
212237
<pre>Gets a model resource.

0 commit comments

Comments
 (0)