blob: b28734fb9f47b9f9794f969eff9de6b0d25ced1c [file] [log] [blame]
Bu Sun Kim65020912020-05-20 12:08:20 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="firebasehosting_v1beta1.html">Firebase Hosting API</a> . <a href="firebasehosting_v1beta1.projects.html">projects</a> . <a href="firebasehosting_v1beta1.projects.sites.html">sites</a> . <a href="firebasehosting_v1beta1.projects.sites.releases.html">releases</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="#create">create(parent, body=None, versionName=None, x__xgafv=None)</a></code></p>
79<p class="firstline">Creates a new release which makes the content of the specified version</p>
80<p class="toc_element">
81 <code><a href="#list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Lists the releases that have been created on the specified site.</p>
83<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
88 <code class="details" id="create">create(parent, body=None, versionName=None, x__xgafv=None)</code>
89 <pre>Creates a new release which makes the content of the specified version
90actively display on the appropriate URL(s).
91
92Args:
93 parent: string, Required. The site that the release belongs to, in the format:
94&lt;code&gt;sites/&lt;var&gt;site-name&lt;/var&gt;&lt;/code&gt; (required)
95 body: object, The request body.
96 The object takes the form of:
97
98{ # A `Release` is a particular
99 # [collection of configurations and files](sites.versions)
100 # that is set to be public at a particular time.
101 &quot;message&quot;: &quot;A String&quot;, # The deploy description when the release was created. The value can be up to
102 # 512&amp;nbsp;characters.
103 &quot;releaseUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who created the release.
104 # a release or finalizing a version.
105 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
106 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
107 # changed their email address or deleted their account.
108 },
109 &quot;releaseTime&quot;: &quot;A String&quot;, # Output only. The time at which the version is set to be public.
110 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier for the release, in the format:
111 # &lt;code&gt;sites/&lt;var&gt;site-name&lt;/var&gt;/releases/&lt;var&gt;releaseID&lt;/var&gt;&lt;/code&gt;
112 # This name is provided in the response body when you call the
113 # [`CreateRelease`](sites.releases/create) endpoint.
114 &quot;type&quot;: &quot;A String&quot;, # Explains the reason for the release.
115 # &lt;br&gt;Specify a value for this field only when creating a `SITE_DISABLE`
116 # type release.
117 &quot;version&quot;: { # A `Version` is the collection of configuration and # Output only. The configuration and content that was released.
118 # [static files](sites.versions.files) that determine how a site is displayed.
119 &quot;fileCount&quot;: &quot;A String&quot;, # Output only. The total number of files associated with the version.
120 # &lt;br&gt;This value is calculated after a version is `FINALIZED`.
121 &quot;deleteUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who `DELETED` the version.
122 # a release or finalizing a version.
123 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
124 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
125 # changed their email address or deleted their account.
126 },
127 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `DELETED`.
128 &quot;finalizeUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who `FINALIZED` the version.
129 # a release or finalizing a version.
130 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
131 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
132 # changed their email address or deleted their account.
133 },
134 &quot;preview&quot;: { # Version preview configuration. If active and unexpired, # Version preview configuration for the site version. This configuration
135 # specfies whether previewing is enabled for this site version. Version
136 # previews allow you to preview your site at a custom URL before
137 # releasing it as the live version.
138 # this version will be accessible via a custom URL even
139 # if it is not the currently released version.
140 &quot;active&quot;: True or False, # If true, preview URLs are enabled for this version.
141 &quot;expireTime&quot;: &quot;A String&quot;, # Indicates the expiration time for previewing this
142 # version; preview URL requests received after this time will 404.
143 },
144 &quot;labels&quot;: { # The labels used for extra metadata and/or filtering.
145 &quot;a_key&quot;: &quot;A String&quot;,
146 },
147 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was created.
148 &quot;versionBytes&quot;: &quot;A String&quot;, # Output only. The total stored bytesize of the version.
149 # &lt;br&gt;This value is calculated after a version is `FINALIZED`.
150 &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `FINALIZED`.
151 &quot;status&quot;: &quot;A String&quot;, # The deploy status of a version.
152 # &lt;br&gt;
153 # &lt;br&gt;For a successful deploy, call the
154 # [`CreateVersion`](sites.versions/create) endpoint to make a new version
155 # (`CREATED` status),
156 # [upload all desired files](sites.versions/populateFiles) to the version,
157 # then [update](sites.versions/patch) the version to the `FINALIZED` status.
158 # &lt;br&gt;
159 # &lt;br&gt;Note that if you leave the version in the `CREATED` state for more
160 # than 12&amp;nbsp;hours, the system will automatically mark the version as
161 # `ABANDONED`.
162 # &lt;br&gt;
163 # &lt;br&gt;You can also change the status of a version to `DELETED` by calling the
164 # [`DeleteVersion`](sites.versions/delete) endpoint.
165 &quot;config&quot;: { # The configuration for how incoming requests to a site should be routed and # The configuration for the behavior of the site. This configuration exists
166 # in the [`firebase.json`](/docs/cli/#the_firebasejson_file) file.
167 # processed before serving content. The patterns are matched and applied
168 # according to a specific
169 # [priority order](/docs/hosting/full-config#hosting_priority_order).
170 &quot;headers&quot;: [ # A list of custom response headers that are added to the content if the
171 # request URL path matches the glob.
172 { # A [`header`](/docs/hosting/full-config#headers) defines custom headers to
173 # add to a response should the request URL path match the pattern.
174 &quot;headers&quot;: { # Required. The additional headers to add to the response.
175 &quot;a_key&quot;: &quot;A String&quot;,
176 },
177 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request
178 # URL path.
179 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob
180 # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
181 # against the request URL path.
182 },
183 ],
184 &quot;appAssociation&quot;: &quot;A String&quot;, # How to handle well known App Association files.
185 &quot;cleanUrls&quot;: True or False, # Defines whether to drop the file extension from uploaded files.
186 &quot;trailingSlashBehavior&quot;: &quot;A String&quot;, # Defines how to handle a trailing slash in the URL path.
187 &quot;rewrites&quot;: [ # A list of rewrites that will act as if the service were given the
188 # destination URL.
189 { # A [`rewrite`](/docs/hosting/full-config#rewrites) represents an internal
190 # content rewrite on the version. If the pattern matches, the request will be
191 # handled as if it were to the destination path specified in the
192 # configuration.
193 &quot;function&quot;: &quot;A String&quot;, # The function to proxy requests to. Must match the exported function
194 # name exactly.
195 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request
196 # URL path.
197 &quot;dynamicLinks&quot;: True or False, # The request will be forwarded to Firebase Dynamic Links.
198 &quot;run&quot;: { # A configured rewrite that directs requests to a Cloud Run service. If the # The request will be forwarded to Cloud Run.
199 # Cloud Run service does not exist when setting or updating your Firebase
200 # Hosting configuration, then the request fails. Any errors from the Cloud Run
201 # service are passed to the end user (for example, if you delete a service, any
202 # requests directed to that service receive a `404` error).
203 &quot;region&quot;: &quot;A String&quot;, # Optional. User-provided region where the Cloud Run service is hosted.&lt;br&gt;
204 # Defaults to `us-central1` if not supplied.
205 &quot;serviceId&quot;: &quot;A String&quot;, # Required. User-defined ID of the Cloud Run service.
206 },
207 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob
208 # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
209 # against the request URL path.
210 &quot;path&quot;: &quot;A String&quot;, # The URL path to rewrite the request to.
211 },
212 ],
213 &quot;redirects&quot;: [ # A list of globs that will cause the response to redirect to another
214 # location.
215 { # A [`redirect`](/docs/hosting/full-config#redirects) represents the
216 # configuration for returning an HTTP redirect response given a matching
217 # request URL path.
218 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob
219 # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
220 # against the request URL path.
221 &quot;statusCode&quot;: 42, # Required. The status HTTP code to return in the response. It must be a
222 # valid 3xx status code.
223 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request
224 # URL path.
225 &quot;location&quot;: &quot;A String&quot;, # Required. The value to put in the HTTP location header of the response.
226 # &lt;br&gt;The location can contain capture group values from the pattern using
227 # a `:` prefix to identify the segment and an optional `*` to capture the
228 # rest of the URL.
229 # For example:
230 # &lt;code&gt;&quot;glob&quot;: &quot;/:capture*&quot;,
231 # &lt;br&gt;&quot;statusCode&quot;: 301,
232 # &lt;br&gt;&quot;location&quot;: &quot;https://example.com/foo/:capture&quot;&lt;/code&gt;
233 },
234 ],
235 },
236 &quot;name&quot;: &quot;A String&quot;, # The unique identifier for a version, in the format:
237 # &lt;code&gt;sites/&lt;var&gt;site-name&lt;/var&gt;/versions/&lt;var&gt;versionID&lt;/var&gt;&lt;/code&gt;
238 # This name is provided in the response body when you call the
239 # [`CreateVersion`](../sites.versions/create) endpoint.
240 &quot;createUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who created the version.
241 # a release or finalizing a version.
242 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
243 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
244 # changed their email address or deleted their account.
245 },
246 },
247}
248
249 versionName: string, The unique identifier for a version, in the format:
250&lt;code&gt;/sites/&lt;var&gt;site-name&lt;/var&gt;/versions/&lt;var&gt;versionID&lt;/var&gt;&lt;/code&gt;
251The &lt;var&gt;site-name&lt;/var&gt; in this version identifier must match the
252&lt;var&gt;site-name&lt;/var&gt; in the `parent` parameter.
253&lt;br&gt;
254&lt;br&gt;This query parameter must be empty if the `type` field in the
255request body is `SITE_DISABLE`.
256 x__xgafv: string, V1 error format.
257 Allowed values
258 1 - v1 error format
259 2 - v2 error format
260
261Returns:
262 An object of the form:
263
264 { # A `Release` is a particular
265 # [collection of configurations and files](sites.versions)
266 # that is set to be public at a particular time.
267 &quot;message&quot;: &quot;A String&quot;, # The deploy description when the release was created. The value can be up to
268 # 512&amp;nbsp;characters.
269 &quot;releaseUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who created the release.
270 # a release or finalizing a version.
271 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
272 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
273 # changed their email address or deleted their account.
274 },
275 &quot;releaseTime&quot;: &quot;A String&quot;, # Output only. The time at which the version is set to be public.
276 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier for the release, in the format:
277 # &lt;code&gt;sites/&lt;var&gt;site-name&lt;/var&gt;/releases/&lt;var&gt;releaseID&lt;/var&gt;&lt;/code&gt;
278 # This name is provided in the response body when you call the
279 # [`CreateRelease`](sites.releases/create) endpoint.
280 &quot;type&quot;: &quot;A String&quot;, # Explains the reason for the release.
281 # &lt;br&gt;Specify a value for this field only when creating a `SITE_DISABLE`
282 # type release.
283 &quot;version&quot;: { # A `Version` is the collection of configuration and # Output only. The configuration and content that was released.
284 # [static files](sites.versions.files) that determine how a site is displayed.
285 &quot;fileCount&quot;: &quot;A String&quot;, # Output only. The total number of files associated with the version.
286 # &lt;br&gt;This value is calculated after a version is `FINALIZED`.
287 &quot;deleteUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who `DELETED` the version.
288 # a release or finalizing a version.
289 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
290 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
291 # changed their email address or deleted their account.
292 },
293 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `DELETED`.
294 &quot;finalizeUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who `FINALIZED` the version.
295 # a release or finalizing a version.
296 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
297 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
298 # changed their email address or deleted their account.
299 },
300 &quot;preview&quot;: { # Version preview configuration. If active and unexpired, # Version preview configuration for the site version. This configuration
301 # specfies whether previewing is enabled for this site version. Version
302 # previews allow you to preview your site at a custom URL before
303 # releasing it as the live version.
304 # this version will be accessible via a custom URL even
305 # if it is not the currently released version.
306 &quot;active&quot;: True or False, # If true, preview URLs are enabled for this version.
307 &quot;expireTime&quot;: &quot;A String&quot;, # Indicates the expiration time for previewing this
308 # version; preview URL requests received after this time will 404.
309 },
310 &quot;labels&quot;: { # The labels used for extra metadata and/or filtering.
311 &quot;a_key&quot;: &quot;A String&quot;,
312 },
313 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was created.
314 &quot;versionBytes&quot;: &quot;A String&quot;, # Output only. The total stored bytesize of the version.
315 # &lt;br&gt;This value is calculated after a version is `FINALIZED`.
316 &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `FINALIZED`.
317 &quot;status&quot;: &quot;A String&quot;, # The deploy status of a version.
318 # &lt;br&gt;
319 # &lt;br&gt;For a successful deploy, call the
320 # [`CreateVersion`](sites.versions/create) endpoint to make a new version
321 # (`CREATED` status),
322 # [upload all desired files](sites.versions/populateFiles) to the version,
323 # then [update](sites.versions/patch) the version to the `FINALIZED` status.
324 # &lt;br&gt;
325 # &lt;br&gt;Note that if you leave the version in the `CREATED` state for more
326 # than 12&amp;nbsp;hours, the system will automatically mark the version as
327 # `ABANDONED`.
328 # &lt;br&gt;
329 # &lt;br&gt;You can also change the status of a version to `DELETED` by calling the
330 # [`DeleteVersion`](sites.versions/delete) endpoint.
331 &quot;config&quot;: { # The configuration for how incoming requests to a site should be routed and # The configuration for the behavior of the site. This configuration exists
332 # in the [`firebase.json`](/docs/cli/#the_firebasejson_file) file.
333 # processed before serving content. The patterns are matched and applied
334 # according to a specific
335 # [priority order](/docs/hosting/full-config#hosting_priority_order).
336 &quot;headers&quot;: [ # A list of custom response headers that are added to the content if the
337 # request URL path matches the glob.
338 { # A [`header`](/docs/hosting/full-config#headers) defines custom headers to
339 # add to a response should the request URL path match the pattern.
340 &quot;headers&quot;: { # Required. The additional headers to add to the response.
341 &quot;a_key&quot;: &quot;A String&quot;,
342 },
343 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request
344 # URL path.
345 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob
346 # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
347 # against the request URL path.
348 },
349 ],
350 &quot;appAssociation&quot;: &quot;A String&quot;, # How to handle well known App Association files.
351 &quot;cleanUrls&quot;: True or False, # Defines whether to drop the file extension from uploaded files.
352 &quot;trailingSlashBehavior&quot;: &quot;A String&quot;, # Defines how to handle a trailing slash in the URL path.
353 &quot;rewrites&quot;: [ # A list of rewrites that will act as if the service were given the
354 # destination URL.
355 { # A [`rewrite`](/docs/hosting/full-config#rewrites) represents an internal
356 # content rewrite on the version. If the pattern matches, the request will be
357 # handled as if it were to the destination path specified in the
358 # configuration.
359 &quot;function&quot;: &quot;A String&quot;, # The function to proxy requests to. Must match the exported function
360 # name exactly.
361 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request
362 # URL path.
363 &quot;dynamicLinks&quot;: True or False, # The request will be forwarded to Firebase Dynamic Links.
364 &quot;run&quot;: { # A configured rewrite that directs requests to a Cloud Run service. If the # The request will be forwarded to Cloud Run.
365 # Cloud Run service does not exist when setting or updating your Firebase
366 # Hosting configuration, then the request fails. Any errors from the Cloud Run
367 # service are passed to the end user (for example, if you delete a service, any
368 # requests directed to that service receive a `404` error).
369 &quot;region&quot;: &quot;A String&quot;, # Optional. User-provided region where the Cloud Run service is hosted.&lt;br&gt;
370 # Defaults to `us-central1` if not supplied.
371 &quot;serviceId&quot;: &quot;A String&quot;, # Required. User-defined ID of the Cloud Run service.
372 },
373 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob
374 # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
375 # against the request URL path.
376 &quot;path&quot;: &quot;A String&quot;, # The URL path to rewrite the request to.
377 },
378 ],
379 &quot;redirects&quot;: [ # A list of globs that will cause the response to redirect to another
380 # location.
381 { # A [`redirect`](/docs/hosting/full-config#redirects) represents the
382 # configuration for returning an HTTP redirect response given a matching
383 # request URL path.
384 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob
385 # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
386 # against the request URL path.
387 &quot;statusCode&quot;: 42, # Required. The status HTTP code to return in the response. It must be a
388 # valid 3xx status code.
389 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request
390 # URL path.
391 &quot;location&quot;: &quot;A String&quot;, # Required. The value to put in the HTTP location header of the response.
392 # &lt;br&gt;The location can contain capture group values from the pattern using
393 # a `:` prefix to identify the segment and an optional `*` to capture the
394 # rest of the URL.
395 # For example:
396 # &lt;code&gt;&quot;glob&quot;: &quot;/:capture*&quot;,
397 # &lt;br&gt;&quot;statusCode&quot;: 301,
398 # &lt;br&gt;&quot;location&quot;: &quot;https://example.com/foo/:capture&quot;&lt;/code&gt;
399 },
400 ],
401 },
402 &quot;name&quot;: &quot;A String&quot;, # The unique identifier for a version, in the format:
403 # &lt;code&gt;sites/&lt;var&gt;site-name&lt;/var&gt;/versions/&lt;var&gt;versionID&lt;/var&gt;&lt;/code&gt;
404 # This name is provided in the response body when you call the
405 # [`CreateVersion`](../sites.versions/create) endpoint.
406 &quot;createUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who created the version.
407 # a release or finalizing a version.
408 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
409 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
410 # changed their email address or deleted their account.
411 },
412 },
413 }</pre>
414</div>
415
416<div class="method">
417 <code class="details" id="list">list(parent, pageToken=None, pageSize=None, x__xgafv=None)</code>
418 <pre>Lists the releases that have been created on the specified site.
419
420Args:
421 parent: string, Required. The parent for which to list files, in the format:
422&lt;code&gt;sites/&lt;var&gt;site-name&lt;/var&gt;&lt;/code&gt; (required)
423 pageToken: string, The next_page_token from a previous request, if provided.
424 pageSize: integer, The page size to return. Defaults to 100.
425 x__xgafv: string, V1 error format.
426 Allowed values
427 1 - v1 error format
428 2 - v2 error format
429
430Returns:
431 An object of the form:
432
433 {
434 &quot;releases&quot;: [ # The list of hashes of files that still need to be uploaded, if any exist.
435 { # A `Release` is a particular
436 # [collection of configurations and files](sites.versions)
437 # that is set to be public at a particular time.
438 &quot;message&quot;: &quot;A String&quot;, # The deploy description when the release was created. The value can be up to
439 # 512&amp;nbsp;characters.
440 &quot;releaseUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who created the release.
441 # a release or finalizing a version.
442 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
443 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
444 # changed their email address or deleted their account.
445 },
446 &quot;releaseTime&quot;: &quot;A String&quot;, # Output only. The time at which the version is set to be public.
447 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier for the release, in the format:
448 # &lt;code&gt;sites/&lt;var&gt;site-name&lt;/var&gt;/releases/&lt;var&gt;releaseID&lt;/var&gt;&lt;/code&gt;
449 # This name is provided in the response body when you call the
450 # [`CreateRelease`](sites.releases/create) endpoint.
451 &quot;type&quot;: &quot;A String&quot;, # Explains the reason for the release.
452 # &lt;br&gt;Specify a value for this field only when creating a `SITE_DISABLE`
453 # type release.
454 &quot;version&quot;: { # A `Version` is the collection of configuration and # Output only. The configuration and content that was released.
455 # [static files](sites.versions.files) that determine how a site is displayed.
456 &quot;fileCount&quot;: &quot;A String&quot;, # Output only. The total number of files associated with the version.
457 # &lt;br&gt;This value is calculated after a version is `FINALIZED`.
458 &quot;deleteUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who `DELETED` the version.
459 # a release or finalizing a version.
460 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
461 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
462 # changed their email address or deleted their account.
463 },
464 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `DELETED`.
465 &quot;finalizeUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who `FINALIZED` the version.
466 # a release or finalizing a version.
467 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
468 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
469 # changed their email address or deleted their account.
470 },
471 &quot;preview&quot;: { # Version preview configuration. If active and unexpired, # Version preview configuration for the site version. This configuration
472 # specfies whether previewing is enabled for this site version. Version
473 # previews allow you to preview your site at a custom URL before
474 # releasing it as the live version.
475 # this version will be accessible via a custom URL even
476 # if it is not the currently released version.
477 &quot;active&quot;: True or False, # If true, preview URLs are enabled for this version.
478 &quot;expireTime&quot;: &quot;A String&quot;, # Indicates the expiration time for previewing this
479 # version; preview URL requests received after this time will 404.
480 },
481 &quot;labels&quot;: { # The labels used for extra metadata and/or filtering.
482 &quot;a_key&quot;: &quot;A String&quot;,
483 },
484 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was created.
485 &quot;versionBytes&quot;: &quot;A String&quot;, # Output only. The total stored bytesize of the version.
486 # &lt;br&gt;This value is calculated after a version is `FINALIZED`.
487 &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `FINALIZED`.
488 &quot;status&quot;: &quot;A String&quot;, # The deploy status of a version.
489 # &lt;br&gt;
490 # &lt;br&gt;For a successful deploy, call the
491 # [`CreateVersion`](sites.versions/create) endpoint to make a new version
492 # (`CREATED` status),
493 # [upload all desired files](sites.versions/populateFiles) to the version,
494 # then [update](sites.versions/patch) the version to the `FINALIZED` status.
495 # &lt;br&gt;
496 # &lt;br&gt;Note that if you leave the version in the `CREATED` state for more
497 # than 12&amp;nbsp;hours, the system will automatically mark the version as
498 # `ABANDONED`.
499 # &lt;br&gt;
500 # &lt;br&gt;You can also change the status of a version to `DELETED` by calling the
501 # [`DeleteVersion`](sites.versions/delete) endpoint.
502 &quot;config&quot;: { # The configuration for how incoming requests to a site should be routed and # The configuration for the behavior of the site. This configuration exists
503 # in the [`firebase.json`](/docs/cli/#the_firebasejson_file) file.
504 # processed before serving content. The patterns are matched and applied
505 # according to a specific
506 # [priority order](/docs/hosting/full-config#hosting_priority_order).
507 &quot;headers&quot;: [ # A list of custom response headers that are added to the content if the
508 # request URL path matches the glob.
509 { # A [`header`](/docs/hosting/full-config#headers) defines custom headers to
510 # add to a response should the request URL path match the pattern.
511 &quot;headers&quot;: { # Required. The additional headers to add to the response.
512 &quot;a_key&quot;: &quot;A String&quot;,
513 },
514 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request
515 # URL path.
516 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob
517 # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
518 # against the request URL path.
519 },
520 ],
521 &quot;appAssociation&quot;: &quot;A String&quot;, # How to handle well known App Association files.
522 &quot;cleanUrls&quot;: True or False, # Defines whether to drop the file extension from uploaded files.
523 &quot;trailingSlashBehavior&quot;: &quot;A String&quot;, # Defines how to handle a trailing slash in the URL path.
524 &quot;rewrites&quot;: [ # A list of rewrites that will act as if the service were given the
525 # destination URL.
526 { # A [`rewrite`](/docs/hosting/full-config#rewrites) represents an internal
527 # content rewrite on the version. If the pattern matches, the request will be
528 # handled as if it were to the destination path specified in the
529 # configuration.
530 &quot;function&quot;: &quot;A String&quot;, # The function to proxy requests to. Must match the exported function
531 # name exactly.
532 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request
533 # URL path.
534 &quot;dynamicLinks&quot;: True or False, # The request will be forwarded to Firebase Dynamic Links.
535 &quot;run&quot;: { # A configured rewrite that directs requests to a Cloud Run service. If the # The request will be forwarded to Cloud Run.
536 # Cloud Run service does not exist when setting or updating your Firebase
537 # Hosting configuration, then the request fails. Any errors from the Cloud Run
538 # service are passed to the end user (for example, if you delete a service, any
539 # requests directed to that service receive a `404` error).
540 &quot;region&quot;: &quot;A String&quot;, # Optional. User-provided region where the Cloud Run service is hosted.&lt;br&gt;
541 # Defaults to `us-central1` if not supplied.
542 &quot;serviceId&quot;: &quot;A String&quot;, # Required. User-defined ID of the Cloud Run service.
543 },
544 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob
545 # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
546 # against the request URL path.
547 &quot;path&quot;: &quot;A String&quot;, # The URL path to rewrite the request to.
548 },
549 ],
550 &quot;redirects&quot;: [ # A list of globs that will cause the response to redirect to another
551 # location.
552 { # A [`redirect`](/docs/hosting/full-config#redirects) represents the
553 # configuration for returning an HTTP redirect response given a matching
554 # request URL path.
555 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob
556 # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
557 # against the request URL path.
558 &quot;statusCode&quot;: 42, # Required. The status HTTP code to return in the response. It must be a
559 # valid 3xx status code.
560 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request
561 # URL path.
562 &quot;location&quot;: &quot;A String&quot;, # Required. The value to put in the HTTP location header of the response.
563 # &lt;br&gt;The location can contain capture group values from the pattern using
564 # a `:` prefix to identify the segment and an optional `*` to capture the
565 # rest of the URL.
566 # For example:
567 # &lt;code&gt;&quot;glob&quot;: &quot;/:capture*&quot;,
568 # &lt;br&gt;&quot;statusCode&quot;: 301,
569 # &lt;br&gt;&quot;location&quot;: &quot;https://example.com/foo/:capture&quot;&lt;/code&gt;
570 },
571 ],
572 },
573 &quot;name&quot;: &quot;A String&quot;, # The unique identifier for a version, in the format:
574 # &lt;code&gt;sites/&lt;var&gt;site-name&lt;/var&gt;/versions/&lt;var&gt;versionID&lt;/var&gt;&lt;/code&gt;
575 # This name is provided in the response body when you call the
576 # [`CreateVersion`](../sites.versions/create) endpoint.
577 &quot;createUser&quot;: { # Contains metadata about the user who performed an action, such as creating # Output only. Identifies the user who created the version.
578 # a release or finalizing a version.
579 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
580 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has
581 # changed their email address or deleted their account.
582 },
583 },
584 },
585 ],
586 &quot;nextPageToken&quot;: &quot;A String&quot;, # If there are additional releases remaining beyond the ones in this
587 # response, then supply this token in the next
588 # [`list`](../sites.versions.files/list) call to continue with the next set
589 # of releases.
590 }</pre>
591</div>
592
593<div class="method">
594 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
595 <pre>Retrieves the next page of results.
596
597Args:
598 previous_request: The request for the previous page. (required)
599 previous_response: The response from the request for the previous page. (required)
600
601Returns:
602 A request object that you can call &#x27;execute()&#x27; on to request the next
603 page. Returns None if there are no more items in the collection.
604 </pre>
605</div>
606
607</body></html>