blob: 0a8b142f57f12c08e915ca04826cb1f9161c1a36 [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.channels.html">channels</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="firebasehosting_v1beta1.projects.sites.channels.releases.html">releases()</a></code>
79</p>
80<p class="firstline">Returns the releases Resource.</p>
81
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070082<p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84<p class="firstline">Close httplib2 connections.</p>
85<p class="toc_element">
86 <code><a href="#create">create(parent, body=None, channelId=None, x__xgafv=None)</a></code></p>
87<p class="firstline">Creates a new channel in the specified site.</p>
88<p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90<p class="firstline">Deletes a channel of a site. The `live` channel cannot be deleted.</p>
91<p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93<p class="firstline">Retrieves information for the specified channel of a site.</p>
94<p class="toc_element">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -080095 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070096<p class="firstline">Lists the channels for the specified site. All sites have a default "live" channel.</p>
97<p class="toc_element">
98 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
99<p class="firstline">Retrieves the next page of results.</p>
100<p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
102<p class="firstline">Updates information for the specified channel of a site. This method will implicitly create a channel if it doesn't exist.</p>
103<h3>Method Details</h3>
104<div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107</div>
108
109<div class="method">
110 <code class="details" id="create">create(parent, body=None, channelId=None, x__xgafv=None)</code>
111 <pre>Creates a new channel in the specified site.
112
113Args:
114 parent: string, Required. The site in which this channel should be created. (required)
115 body: object, The request body.
116 The object takes the form of:
117
118{ # A `Channel` represents a stream of releases for a site. All sites have a default `live` channel that serves content to the live Firebase-provided domains and any connected custom domains.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800119 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was last updated.
120 &quot;labels&quot;: { # Text labels used for extra metadata and/or filtering.
121 &quot;a_key&quot;: &quot;A String&quot;,
122 },
123 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in output whether set directly or via the `ttl` field.
124 &quot;ttl&quot;: &quot;A String&quot;, # Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.
125 &quot;url&quot;: &quot;A String&quot;, # Output only. The URL at which the channel can be viewed. For the `live` channel, the content of the current release may also be visible at other URLs.
126 &quot;name&quot;: &quot;A String&quot;, # The fully-qualified identifier of the Channel.
127 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was created.
128 &quot;retainedReleaseCount&quot;: 42, # The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
129 &quot;release&quot;: { # A `Release` is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time. # Output only. The current release for the channel, if any.
130 &quot;message&quot;: &quot;A String&quot;, # The deploy description when the release was created. The value can be up to 512 characters.
131 &quot;version&quot;: { # A `Version` is the collection of configuration and [static files](sites.versions.files) that determine how a site is displayed. # Output only. The configuration and content that was released.
132 &quot;createUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the version.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800133 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800134 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800135 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800136 &quot;preview&quot;: { # Version preview configuration. If active and unexpired, this version will be accessible via a custom URL even if it is not the currently released version. Deprecated in favor of site channels. # Deprecated in favor of site channels. Version preview configuration for the site version. This configuration specifies whether previewing is enabled for this site version. Version previews allow you to preview your site at a custom URL before releasing it as the live version.
137 &quot;active&quot;: True or False, # If true, preview URLs are enabled for this version.
138 &quot;expireTime&quot;: &quot;A String&quot;, # Indicates the expiration time for previewing this version; preview URL requests received after this time will 404.
139 },
140 &quot;status&quot;: &quot;A String&quot;, # The deploy status of a version. For a successful deploy, call the [`CreateVersion`](sites.versions/create) endpoint to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling the [`DeleteVersion`](sites.versions/delete) endpoint.
141 &quot;labels&quot;: { # The labels used for extra metadata and/or filtering.
142 &quot;a_key&quot;: &quot;A String&quot;,
143 },
144 &quot;finalizeUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `FINALIZED` the version.
145 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
146 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
147 },
148 &quot;name&quot;: &quot;A String&quot;, # The unique identifier for a version, in the format: sites/site-name /versions/versionID This name is provided in the response body when you call the [`CreateVersion`](../sites.versions/create) endpoint.
149 &quot;fileCount&quot;: &quot;A String&quot;, # Output only. The total number of files associated with the version. 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;deleteUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `DELETED` the version.
152 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
153 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
154 },
155 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `DELETED`.
156 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was created.
157 &quot;config&quot;: { # The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](/docs/hosting/full-config#hosting_priority_order). # The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](/docs/cli/#the_firebasejson_file) file.
158 &quot;i18n&quot;: { # If provided, i18n rewrites are enabled. # Optional. Defines i18n rewrite behavior.
159 &quot;root&quot;: &quot;A String&quot;, # Required. The user-supplied path where country and language specific content will be looked for within the public directory.
160 },
161 &quot;appAssociation&quot;: &quot;A String&quot;, # How to handle well known App Association files.
162 &quot;redirects&quot;: [ # An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
163 { # A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
164 &quot;statusCode&quot;: 42, # Required. The status HTTP code to return in the response. It must be a valid 3xx status code.
165 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
166 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
167 &quot;location&quot;: &quot;A String&quot;, # Required. The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: &quot;glob&quot;: &quot;/:capture*&quot;, &quot;statusCode&quot;: 301, &quot;location&quot;: &quot;https://example.com/foo/:capture&quot;
168 },
169 ],
170 &quot;cleanUrls&quot;: True or False, # Defines whether to drop the file extension from uploaded files.
171 &quot;headers&quot;: [ # An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
172 { # A [`header`](/docs/hosting/full-config#headers) is an object that specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
173 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
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;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
178 },
179 ],
180 &quot;trailingSlashBehavior&quot;: &quot;A String&quot;, # Defines how to handle a trailing slash in the URL path.
181 &quot;rewrites&quot;: [ # An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
182 { # A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
183 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
184 &quot;path&quot;: &quot;A String&quot;, # The URL path to rewrite the request to.
185 &quot;run&quot;: { # A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error). # The request will be forwarded to Cloud Run.
186 &quot;serviceId&quot;: &quot;A String&quot;, # Required. User-defined ID of the Cloud Run service.
187 &quot;region&quot;: &quot;A String&quot;, # Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
188 },
189 &quot;function&quot;: &quot;A String&quot;, # The function to proxy requests to. Must match the exported function name exactly.
190 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
191 &quot;dynamicLinks&quot;: True or False, # The request will be forwarded to Firebase Dynamic Links.
192 },
193 ],
194 },
195 &quot;versionBytes&quot;: &quot;A String&quot;, # Output only. The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700196 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800197 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier for the release, in the format: sites/ site-name/releases/releaseID This name is provided in the response body when you call the [`CreateRelease`](sites.releases/create) endpoint.
198 &quot;releaseTime&quot;: &quot;A String&quot;, # Output only. The time at which the version is set to be public.
199 &quot;type&quot;: &quot;A String&quot;, # Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
200 &quot;releaseUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the release.
201 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
202 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800203 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800204 },
205}
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700206
207 channelId: string, Required. Immutable. A unique id within the site to identify the channel.
208 x__xgafv: string, V1 error format.
209 Allowed values
210 1 - v1 error format
211 2 - v2 error format
212
213Returns:
214 An object of the form:
215
216 { # A `Channel` represents a stream of releases for a site. All sites have a default `live` channel that serves content to the live Firebase-provided domains and any connected custom domains.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800217 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was last updated.
218 &quot;labels&quot;: { # Text labels used for extra metadata and/or filtering.
219 &quot;a_key&quot;: &quot;A String&quot;,
220 },
221 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in output whether set directly or via the `ttl` field.
222 &quot;ttl&quot;: &quot;A String&quot;, # Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.
223 &quot;url&quot;: &quot;A String&quot;, # Output only. The URL at which the channel can be viewed. For the `live` channel, the content of the current release may also be visible at other URLs.
224 &quot;name&quot;: &quot;A String&quot;, # The fully-qualified identifier of the Channel.
225 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was created.
226 &quot;retainedReleaseCount&quot;: 42, # The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
227 &quot;release&quot;: { # A `Release` is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time. # Output only. The current release for the channel, if any.
228 &quot;message&quot;: &quot;A String&quot;, # The deploy description when the release was created. The value can be up to 512 characters.
229 &quot;version&quot;: { # A `Version` is the collection of configuration and [static files](sites.versions.files) that determine how a site is displayed. # Output only. The configuration and content that was released.
230 &quot;createUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the version.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800231 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800232 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800233 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800234 &quot;preview&quot;: { # Version preview configuration. If active and unexpired, this version will be accessible via a custom URL even if it is not the currently released version. Deprecated in favor of site channels. # Deprecated in favor of site channels. Version preview configuration for the site version. This configuration specifies whether previewing is enabled for this site version. Version previews allow you to preview your site at a custom URL before releasing it as the live version.
235 &quot;active&quot;: True or False, # If true, preview URLs are enabled for this version.
236 &quot;expireTime&quot;: &quot;A String&quot;, # Indicates the expiration time for previewing this version; preview URL requests received after this time will 404.
237 },
238 &quot;status&quot;: &quot;A String&quot;, # The deploy status of a version. For a successful deploy, call the [`CreateVersion`](sites.versions/create) endpoint to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling the [`DeleteVersion`](sites.versions/delete) endpoint.
239 &quot;labels&quot;: { # The labels used for extra metadata and/or filtering.
240 &quot;a_key&quot;: &quot;A String&quot;,
241 },
242 &quot;finalizeUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `FINALIZED` the version.
243 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
244 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
245 },
246 &quot;name&quot;: &quot;A String&quot;, # The unique identifier for a version, in the format: sites/site-name /versions/versionID This name is provided in the response body when you call the [`CreateVersion`](../sites.versions/create) endpoint.
247 &quot;fileCount&quot;: &quot;A String&quot;, # Output only. The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.
248 &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `FINALIZED`.
249 &quot;deleteUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `DELETED` the version.
250 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
251 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
252 },
253 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `DELETED`.
254 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was created.
255 &quot;config&quot;: { # The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](/docs/hosting/full-config#hosting_priority_order). # The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](/docs/cli/#the_firebasejson_file) file.
256 &quot;i18n&quot;: { # If provided, i18n rewrites are enabled. # Optional. Defines i18n rewrite behavior.
257 &quot;root&quot;: &quot;A String&quot;, # Required. The user-supplied path where country and language specific content will be looked for within the public directory.
258 },
259 &quot;appAssociation&quot;: &quot;A String&quot;, # How to handle well known App Association files.
260 &quot;redirects&quot;: [ # An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
261 { # A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
262 &quot;statusCode&quot;: 42, # Required. The status HTTP code to return in the response. It must be a valid 3xx status code.
263 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
264 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
265 &quot;location&quot;: &quot;A String&quot;, # Required. The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: &quot;glob&quot;: &quot;/:capture*&quot;, &quot;statusCode&quot;: 301, &quot;location&quot;: &quot;https://example.com/foo/:capture&quot;
266 },
267 ],
268 &quot;cleanUrls&quot;: True or False, # Defines whether to drop the file extension from uploaded files.
269 &quot;headers&quot;: [ # An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
270 { # A [`header`](/docs/hosting/full-config#headers) is an object that specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
271 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
272 &quot;headers&quot;: { # Required. The additional headers to add to the response.
273 &quot;a_key&quot;: &quot;A String&quot;,
274 },
275 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
276 },
277 ],
278 &quot;trailingSlashBehavior&quot;: &quot;A String&quot;, # Defines how to handle a trailing slash in the URL path.
279 &quot;rewrites&quot;: [ # An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
280 { # A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
281 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
282 &quot;path&quot;: &quot;A String&quot;, # The URL path to rewrite the request to.
283 &quot;run&quot;: { # A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error). # The request will be forwarded to Cloud Run.
284 &quot;serviceId&quot;: &quot;A String&quot;, # Required. User-defined ID of the Cloud Run service.
285 &quot;region&quot;: &quot;A String&quot;, # Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
286 },
287 &quot;function&quot;: &quot;A String&quot;, # The function to proxy requests to. Must match the exported function name exactly.
288 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
289 &quot;dynamicLinks&quot;: True or False, # The request will be forwarded to Firebase Dynamic Links.
290 },
291 ],
292 },
293 &quot;versionBytes&quot;: &quot;A String&quot;, # Output only. The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700294 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800295 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier for the release, in the format: sites/ site-name/releases/releaseID This name is provided in the response body when you call the [`CreateRelease`](sites.releases/create) endpoint.
296 &quot;releaseTime&quot;: &quot;A String&quot;, # Output only. The time at which the version is set to be public.
297 &quot;type&quot;: &quot;A String&quot;, # Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
298 &quot;releaseUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the release.
299 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
300 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800301 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800302 },
303 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700304</div>
305
306<div class="method">
307 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
308 <pre>Deletes a channel of a site. The `live` channel cannot be deleted.
309
310Args:
311 name: string, Required. The fully-qualified identifier for the site. (required)
312 x__xgafv: string, V1 error format.
313 Allowed values
314 1 - v1 error format
315 2 - v2 error format
316
317Returns:
318 An object of the form:
319
320 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
321 }</pre>
322</div>
323
324<div class="method">
325 <code class="details" id="get">get(name, x__xgafv=None)</code>
326 <pre>Retrieves information for the specified channel of a site.
327
328Args:
329 name: string, Required. The fully-qualified identifier for the channel. (required)
330 x__xgafv: string, V1 error format.
331 Allowed values
332 1 - v1 error format
333 2 - v2 error format
334
335Returns:
336 An object of the form:
337
338 { # A `Channel` represents a stream of releases for a site. All sites have a default `live` channel that serves content to the live Firebase-provided domains and any connected custom domains.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800339 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was last updated.
340 &quot;labels&quot;: { # Text labels used for extra metadata and/or filtering.
341 &quot;a_key&quot;: &quot;A String&quot;,
342 },
343 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in output whether set directly or via the `ttl` field.
344 &quot;ttl&quot;: &quot;A String&quot;, # Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.
345 &quot;url&quot;: &quot;A String&quot;, # Output only. The URL at which the channel can be viewed. For the `live` channel, the content of the current release may also be visible at other URLs.
346 &quot;name&quot;: &quot;A String&quot;, # The fully-qualified identifier of the Channel.
347 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was created.
348 &quot;retainedReleaseCount&quot;: 42, # The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
349 &quot;release&quot;: { # A `Release` is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time. # Output only. The current release for the channel, if any.
350 &quot;message&quot;: &quot;A String&quot;, # The deploy description when the release was created. The value can be up to 512 characters.
351 &quot;version&quot;: { # A `Version` is the collection of configuration and [static files](sites.versions.files) that determine how a site is displayed. # Output only. The configuration and content that was released.
352 &quot;createUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the version.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800353 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800354 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800355 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800356 &quot;preview&quot;: { # Version preview configuration. If active and unexpired, this version will be accessible via a custom URL even if it is not the currently released version. Deprecated in favor of site channels. # Deprecated in favor of site channels. Version preview configuration for the site version. This configuration specifies whether previewing is enabled for this site version. Version previews allow you to preview your site at a custom URL before releasing it as the live version.
357 &quot;active&quot;: True or False, # If true, preview URLs are enabled for this version.
358 &quot;expireTime&quot;: &quot;A String&quot;, # Indicates the expiration time for previewing this version; preview URL requests received after this time will 404.
359 },
360 &quot;status&quot;: &quot;A String&quot;, # The deploy status of a version. For a successful deploy, call the [`CreateVersion`](sites.versions/create) endpoint to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling the [`DeleteVersion`](sites.versions/delete) endpoint.
361 &quot;labels&quot;: { # The labels used for extra metadata and/or filtering.
362 &quot;a_key&quot;: &quot;A String&quot;,
363 },
364 &quot;finalizeUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `FINALIZED` the version.
365 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
366 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
367 },
368 &quot;name&quot;: &quot;A String&quot;, # The unique identifier for a version, in the format: sites/site-name /versions/versionID This name is provided in the response body when you call the [`CreateVersion`](../sites.versions/create) endpoint.
369 &quot;fileCount&quot;: &quot;A String&quot;, # Output only. The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.
370 &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `FINALIZED`.
371 &quot;deleteUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `DELETED` the version.
372 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
373 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
374 },
375 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `DELETED`.
376 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was created.
377 &quot;config&quot;: { # The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](/docs/hosting/full-config#hosting_priority_order). # The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](/docs/cli/#the_firebasejson_file) file.
378 &quot;i18n&quot;: { # If provided, i18n rewrites are enabled. # Optional. Defines i18n rewrite behavior.
379 &quot;root&quot;: &quot;A String&quot;, # Required. The user-supplied path where country and language specific content will be looked for within the public directory.
380 },
381 &quot;appAssociation&quot;: &quot;A String&quot;, # How to handle well known App Association files.
382 &quot;redirects&quot;: [ # An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
383 { # A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
384 &quot;statusCode&quot;: 42, # Required. The status HTTP code to return in the response. It must be a valid 3xx status code.
385 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
386 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
387 &quot;location&quot;: &quot;A String&quot;, # Required. The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: &quot;glob&quot;: &quot;/:capture*&quot;, &quot;statusCode&quot;: 301, &quot;location&quot;: &quot;https://example.com/foo/:capture&quot;
388 },
389 ],
390 &quot;cleanUrls&quot;: True or False, # Defines whether to drop the file extension from uploaded files.
391 &quot;headers&quot;: [ # An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
392 { # A [`header`](/docs/hosting/full-config#headers) is an object that specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
393 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
394 &quot;headers&quot;: { # Required. The additional headers to add to the response.
395 &quot;a_key&quot;: &quot;A String&quot;,
396 },
397 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
398 },
399 ],
400 &quot;trailingSlashBehavior&quot;: &quot;A String&quot;, # Defines how to handle a trailing slash in the URL path.
401 &quot;rewrites&quot;: [ # An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
402 { # A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
403 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
404 &quot;path&quot;: &quot;A String&quot;, # The URL path to rewrite the request to.
405 &quot;run&quot;: { # A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error). # The request will be forwarded to Cloud Run.
406 &quot;serviceId&quot;: &quot;A String&quot;, # Required. User-defined ID of the Cloud Run service.
407 &quot;region&quot;: &quot;A String&quot;, # Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
408 },
409 &quot;function&quot;: &quot;A String&quot;, # The function to proxy requests to. Must match the exported function name exactly.
410 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
411 &quot;dynamicLinks&quot;: True or False, # The request will be forwarded to Firebase Dynamic Links.
412 },
413 ],
414 },
415 &quot;versionBytes&quot;: &quot;A String&quot;, # Output only. The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700416 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800417 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier for the release, in the format: sites/ site-name/releases/releaseID This name is provided in the response body when you call the [`CreateRelease`](sites.releases/create) endpoint.
418 &quot;releaseTime&quot;: &quot;A String&quot;, # Output only. The time at which the version is set to be public.
419 &quot;type&quot;: &quot;A String&quot;, # Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
420 &quot;releaseUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the release.
421 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
422 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800423 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800424 },
425 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700426</div>
427
428<div class="method">
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800429 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700430 <pre>Lists the channels for the specified site. All sites have a default &quot;live&quot; channel.
431
432Args:
433 parent: string, Required. The site from which to list channels. (required)
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800434 pageSize: integer, The maximum number of versions to return. The service may return fewer than this value. If unspecified, at most 25 channels will be returned. The maximum value is 100; valuupdateses above 100 will be coerced to 100
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800435 pageToken: string, The next_page_token from a previous request, if provided.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700436 x__xgafv: string, V1 error format.
437 Allowed values
438 1 - v1 error format
439 2 - v2 error format
440
441Returns:
442 An object of the form:
443
444 { # The response returned by ListChannels.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700445 &quot;channels&quot;: [ # The list of channels.
446 { # A `Channel` represents a stream of releases for a site. All sites have a default `live` channel that serves content to the live Firebase-provided domains and any connected custom domains.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800447 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was last updated.
448 &quot;labels&quot;: { # Text labels used for extra metadata and/or filtering.
449 &quot;a_key&quot;: &quot;A String&quot;,
450 },
451 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in output whether set directly or via the `ttl` field.
452 &quot;ttl&quot;: &quot;A String&quot;, # Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.
453 &quot;url&quot;: &quot;A String&quot;, # Output only. The URL at which the channel can be viewed. For the `live` channel, the content of the current release may also be visible at other URLs.
454 &quot;name&quot;: &quot;A String&quot;, # The fully-qualified identifier of the Channel.
455 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was created.
456 &quot;retainedReleaseCount&quot;: 42, # The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
457 &quot;release&quot;: { # A `Release` is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time. # Output only. The current release for the channel, if any.
458 &quot;message&quot;: &quot;A String&quot;, # The deploy description when the release was created. The value can be up to 512 characters.
459 &quot;version&quot;: { # A `Version` is the collection of configuration and [static files](sites.versions.files) that determine how a site is displayed. # Output only. The configuration and content that was released.
460 &quot;createUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the version.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800461 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800462 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800463 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800464 &quot;preview&quot;: { # Version preview configuration. If active and unexpired, this version will be accessible via a custom URL even if it is not the currently released version. Deprecated in favor of site channels. # Deprecated in favor of site channels. Version preview configuration for the site version. This configuration specifies whether previewing is enabled for this site version. Version previews allow you to preview your site at a custom URL before releasing it as the live version.
465 &quot;active&quot;: True or False, # If true, preview URLs are enabled for this version.
466 &quot;expireTime&quot;: &quot;A String&quot;, # Indicates the expiration time for previewing this version; preview URL requests received after this time will 404.
467 },
468 &quot;status&quot;: &quot;A String&quot;, # The deploy status of a version. For a successful deploy, call the [`CreateVersion`](sites.versions/create) endpoint to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling the [`DeleteVersion`](sites.versions/delete) endpoint.
469 &quot;labels&quot;: { # The labels used for extra metadata and/or filtering.
470 &quot;a_key&quot;: &quot;A String&quot;,
471 },
472 &quot;finalizeUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `FINALIZED` the version.
473 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
474 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
475 },
476 &quot;name&quot;: &quot;A String&quot;, # The unique identifier for a version, in the format: sites/site-name /versions/versionID This name is provided in the response body when you call the [`CreateVersion`](../sites.versions/create) endpoint.
477 &quot;fileCount&quot;: &quot;A String&quot;, # Output only. The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.
478 &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `FINALIZED`.
479 &quot;deleteUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `DELETED` the version.
480 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
481 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
482 },
483 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `DELETED`.
484 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was created.
485 &quot;config&quot;: { # The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](/docs/hosting/full-config#hosting_priority_order). # The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](/docs/cli/#the_firebasejson_file) file.
486 &quot;i18n&quot;: { # If provided, i18n rewrites are enabled. # Optional. Defines i18n rewrite behavior.
487 &quot;root&quot;: &quot;A String&quot;, # Required. The user-supplied path where country and language specific content will be looked for within the public directory.
488 },
489 &quot;appAssociation&quot;: &quot;A String&quot;, # How to handle well known App Association files.
490 &quot;redirects&quot;: [ # An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
491 { # A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
492 &quot;statusCode&quot;: 42, # Required. The status HTTP code to return in the response. It must be a valid 3xx status code.
493 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
494 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
495 &quot;location&quot;: &quot;A String&quot;, # Required. The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: &quot;glob&quot;: &quot;/:capture*&quot;, &quot;statusCode&quot;: 301, &quot;location&quot;: &quot;https://example.com/foo/:capture&quot;
496 },
497 ],
498 &quot;cleanUrls&quot;: True or False, # Defines whether to drop the file extension from uploaded files.
499 &quot;headers&quot;: [ # An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
500 { # A [`header`](/docs/hosting/full-config#headers) is an object that specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
501 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
502 &quot;headers&quot;: { # Required. The additional headers to add to the response.
503 &quot;a_key&quot;: &quot;A String&quot;,
504 },
505 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
506 },
507 ],
508 &quot;trailingSlashBehavior&quot;: &quot;A String&quot;, # Defines how to handle a trailing slash in the URL path.
509 &quot;rewrites&quot;: [ # An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
510 { # A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
511 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
512 &quot;path&quot;: &quot;A String&quot;, # The URL path to rewrite the request to.
513 &quot;run&quot;: { # A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error). # The request will be forwarded to Cloud Run.
514 &quot;serviceId&quot;: &quot;A String&quot;, # Required. User-defined ID of the Cloud Run service.
515 &quot;region&quot;: &quot;A String&quot;, # Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
516 },
517 &quot;function&quot;: &quot;A String&quot;, # The function to proxy requests to. Must match the exported function name exactly.
518 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
519 &quot;dynamicLinks&quot;: True or False, # The request will be forwarded to Firebase Dynamic Links.
520 },
521 ],
522 },
523 &quot;versionBytes&quot;: &quot;A String&quot;, # Output only. The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700524 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800525 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier for the release, in the format: sites/ site-name/releases/releaseID This name is provided in the response body when you call the [`CreateRelease`](sites.releases/create) endpoint.
526 &quot;releaseTime&quot;: &quot;A String&quot;, # Output only. The time at which the version is set to be public.
527 &quot;type&quot;: &quot;A String&quot;, # Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
528 &quot;releaseUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the release.
529 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
530 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800531 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700532 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800533 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700534 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800535 &quot;nextPageToken&quot;: &quot;A String&quot;, # If there are additional releases remaining beyond the ones in this response, then supply this token in the next [`list`](../sites.channels/list) call to continue with the next set of releases.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700536 }</pre>
537</div>
538
539<div class="method">
540 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
541 <pre>Retrieves the next page of results.
542
543Args:
544 previous_request: The request for the previous page. (required)
545 previous_response: The response from the request for the previous page. (required)
546
547Returns:
548 A request object that you can call &#x27;execute()&#x27; on to request the next
549 page. Returns None if there are no more items in the collection.
550 </pre>
551</div>
552
553<div class="method">
554 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
555 <pre>Updates information for the specified channel of a site. This method will implicitly create a channel if it doesn&#x27;t exist.
556
557Args:
558 name: string, The fully-qualified identifier of the Channel. (required)
559 body: object, The request body.
560 The object takes the form of:
561
562{ # A `Channel` represents a stream of releases for a site. All sites have a default `live` channel that serves content to the live Firebase-provided domains and any connected custom domains.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800563 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was last updated.
564 &quot;labels&quot;: { # Text labels used for extra metadata and/or filtering.
565 &quot;a_key&quot;: &quot;A String&quot;,
566 },
567 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in output whether set directly or via the `ttl` field.
568 &quot;ttl&quot;: &quot;A String&quot;, # Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.
569 &quot;url&quot;: &quot;A String&quot;, # Output only. The URL at which the channel can be viewed. For the `live` channel, the content of the current release may also be visible at other URLs.
570 &quot;name&quot;: &quot;A String&quot;, # The fully-qualified identifier of the Channel.
571 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was created.
572 &quot;retainedReleaseCount&quot;: 42, # The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
573 &quot;release&quot;: { # A `Release` is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time. # Output only. The current release for the channel, if any.
574 &quot;message&quot;: &quot;A String&quot;, # The deploy description when the release was created. The value can be up to 512 characters.
575 &quot;version&quot;: { # A `Version` is the collection of configuration and [static files](sites.versions.files) that determine how a site is displayed. # Output only. The configuration and content that was released.
576 &quot;createUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the version.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800577 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800578 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800579 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800580 &quot;preview&quot;: { # Version preview configuration. If active and unexpired, this version will be accessible via a custom URL even if it is not the currently released version. Deprecated in favor of site channels. # Deprecated in favor of site channels. Version preview configuration for the site version. This configuration specifies whether previewing is enabled for this site version. Version previews allow you to preview your site at a custom URL before releasing it as the live version.
581 &quot;active&quot;: True or False, # If true, preview URLs are enabled for this version.
582 &quot;expireTime&quot;: &quot;A String&quot;, # Indicates the expiration time for previewing this version; preview URL requests received after this time will 404.
583 },
584 &quot;status&quot;: &quot;A String&quot;, # The deploy status of a version. For a successful deploy, call the [`CreateVersion`](sites.versions/create) endpoint to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling the [`DeleteVersion`](sites.versions/delete) endpoint.
585 &quot;labels&quot;: { # The labels used for extra metadata and/or filtering.
586 &quot;a_key&quot;: &quot;A String&quot;,
587 },
588 &quot;finalizeUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `FINALIZED` the version.
589 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
590 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
591 },
592 &quot;name&quot;: &quot;A String&quot;, # The unique identifier for a version, in the format: sites/site-name /versions/versionID This name is provided in the response body when you call the [`CreateVersion`](../sites.versions/create) endpoint.
593 &quot;fileCount&quot;: &quot;A String&quot;, # Output only. The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.
594 &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `FINALIZED`.
595 &quot;deleteUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `DELETED` the version.
596 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
597 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
598 },
599 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `DELETED`.
600 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was created.
601 &quot;config&quot;: { # The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](/docs/hosting/full-config#hosting_priority_order). # The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](/docs/cli/#the_firebasejson_file) file.
602 &quot;i18n&quot;: { # If provided, i18n rewrites are enabled. # Optional. Defines i18n rewrite behavior.
603 &quot;root&quot;: &quot;A String&quot;, # Required. The user-supplied path where country and language specific content will be looked for within the public directory.
604 },
605 &quot;appAssociation&quot;: &quot;A String&quot;, # How to handle well known App Association files.
606 &quot;redirects&quot;: [ # An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
607 { # A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
608 &quot;statusCode&quot;: 42, # Required. The status HTTP code to return in the response. It must be a valid 3xx status code.
609 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
610 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
611 &quot;location&quot;: &quot;A String&quot;, # Required. The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: &quot;glob&quot;: &quot;/:capture*&quot;, &quot;statusCode&quot;: 301, &quot;location&quot;: &quot;https://example.com/foo/:capture&quot;
612 },
613 ],
614 &quot;cleanUrls&quot;: True or False, # Defines whether to drop the file extension from uploaded files.
615 &quot;headers&quot;: [ # An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
616 { # A [`header`](/docs/hosting/full-config#headers) is an object that specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
617 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
618 &quot;headers&quot;: { # Required. The additional headers to add to the response.
619 &quot;a_key&quot;: &quot;A String&quot;,
620 },
621 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
622 },
623 ],
624 &quot;trailingSlashBehavior&quot;: &quot;A String&quot;, # Defines how to handle a trailing slash in the URL path.
625 &quot;rewrites&quot;: [ # An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
626 { # A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
627 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
628 &quot;path&quot;: &quot;A String&quot;, # The URL path to rewrite the request to.
629 &quot;run&quot;: { # A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error). # The request will be forwarded to Cloud Run.
630 &quot;serviceId&quot;: &quot;A String&quot;, # Required. User-defined ID of the Cloud Run service.
631 &quot;region&quot;: &quot;A String&quot;, # Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
632 },
633 &quot;function&quot;: &quot;A String&quot;, # The function to proxy requests to. Must match the exported function name exactly.
634 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
635 &quot;dynamicLinks&quot;: True or False, # The request will be forwarded to Firebase Dynamic Links.
636 },
637 ],
638 },
639 &quot;versionBytes&quot;: &quot;A String&quot;, # Output only. The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700640 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800641 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier for the release, in the format: sites/ site-name/releases/releaseID This name is provided in the response body when you call the [`CreateRelease`](sites.releases/create) endpoint.
642 &quot;releaseTime&quot;: &quot;A String&quot;, # Output only. The time at which the version is set to be public.
643 &quot;type&quot;: &quot;A String&quot;, # Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
644 &quot;releaseUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the release.
645 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
646 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800647 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800648 },
649}
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700650
651 updateMask: string, A comma-separated list of fields to be updated in this request.
652 x__xgafv: string, V1 error format.
653 Allowed values
654 1 - v1 error format
655 2 - v2 error format
656
657Returns:
658 An object of the form:
659
660 { # A `Channel` represents a stream of releases for a site. All sites have a default `live` channel that serves content to the live Firebase-provided domains and any connected custom domains.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800661 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was last updated.
662 &quot;labels&quot;: { # Text labels used for extra metadata and/or filtering.
663 &quot;a_key&quot;: &quot;A String&quot;,
664 },
665 &quot;expireTime&quot;: &quot;A String&quot;, # The time at which the channel will be automatically deleted. If null, the channel will not be automatically deleted. This field is present in output whether set directly or via the `ttl` field.
666 &quot;ttl&quot;: &quot;A String&quot;, # Input only. A time-to-live for this channel. Sets `expire_time` to the provided duration past the time of the request.
667 &quot;url&quot;: &quot;A String&quot;, # Output only. The URL at which the channel can be viewed. For the `live` channel, the content of the current release may also be visible at other URLs.
668 &quot;name&quot;: &quot;A String&quot;, # The fully-qualified identifier of the Channel.
669 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the channel was created.
670 &quot;retainedReleaseCount&quot;: 42, # The number of previous releases to retain on the channel for rollback or other purposes. Must be a number between 1-100. Defaults to 10 for new channels.
671 &quot;release&quot;: { # A `Release` is a particular [collection of configurations and files](sites.versions) that is set to be public at a particular time. # Output only. The current release for the channel, if any.
672 &quot;message&quot;: &quot;A String&quot;, # The deploy description when the release was created. The value can be up to 512 characters.
673 &quot;version&quot;: { # A `Version` is the collection of configuration and [static files](sites.versions.files) that determine how a site is displayed. # Output only. The configuration and content that was released.
674 &quot;createUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the version.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800675 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800676 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800677 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800678 &quot;preview&quot;: { # Version preview configuration. If active and unexpired, this version will be accessible via a custom URL even if it is not the currently released version. Deprecated in favor of site channels. # Deprecated in favor of site channels. Version preview configuration for the site version. This configuration specifies whether previewing is enabled for this site version. Version previews allow you to preview your site at a custom URL before releasing it as the live version.
679 &quot;active&quot;: True or False, # If true, preview URLs are enabled for this version.
680 &quot;expireTime&quot;: &quot;A String&quot;, # Indicates the expiration time for previewing this version; preview URL requests received after this time will 404.
681 },
682 &quot;status&quot;: &quot;A String&quot;, # The deploy status of a version. For a successful deploy, call the [`CreateVersion`](sites.versions/create) endpoint to make a new version (`CREATED` status), [upload all desired files](sites.versions/populateFiles) to the version, then [update](sites.versions/patch) the version to the `FINALIZED` status. Note that if you leave the version in the `CREATED` state for more than 12 hours, the system will automatically mark the version as `ABANDONED`. You can also change the status of a version to `DELETED` by calling the [`DeleteVersion`](sites.versions/delete) endpoint.
683 &quot;labels&quot;: { # The labels used for extra metadata and/or filtering.
684 &quot;a_key&quot;: &quot;A String&quot;,
685 },
686 &quot;finalizeUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `FINALIZED` the version.
687 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
688 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
689 },
690 &quot;name&quot;: &quot;A String&quot;, # The unique identifier for a version, in the format: sites/site-name /versions/versionID This name is provided in the response body when you call the [`CreateVersion`](../sites.versions/create) endpoint.
691 &quot;fileCount&quot;: &quot;A String&quot;, # Output only. The total number of files associated with the version. This value is calculated after a version is `FINALIZED`.
692 &quot;finalizeTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `FINALIZED`.
693 &quot;deleteUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who `DELETED` the version.
694 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
695 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
696 },
697 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was `DELETED`.
698 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the version was created.
699 &quot;config&quot;: { # The configuration for how incoming requests to a site should be routed and processed before serving content. The URL request paths are matched against the specified URL patterns in the configuration, then Hosting applies the applicable configuration according to a specific [priority order](/docs/hosting/full-config#hosting_priority_order). # The configuration for the behavior of the site. This configuration exists in the [`firebase.json`](/docs/cli/#the_firebasejson_file) file.
700 &quot;i18n&quot;: { # If provided, i18n rewrites are enabled. # Optional. Defines i18n rewrite behavior.
701 &quot;root&quot;: &quot;A String&quot;, # Required. The user-supplied path where country and language specific content will be looked for within the public directory.
702 },
703 &quot;appAssociation&quot;: &quot;A String&quot;, # How to handle well known App Association files.
704 &quot;redirects&quot;: [ # An array of objects (called redirect rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
705 { # A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond with a redirect to the specified destination path.
706 &quot;statusCode&quot;: 42, # Required. The status HTTP code to return in the response. It must be a valid 3xx status code.
707 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
708 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
709 &quot;location&quot;: &quot;A String&quot;, # Required. The value to put in the HTTP location header of the response. The location can contain capture group values from the pattern using a `:` prefix to identify the segment and an optional `*` to capture the rest of the URL. For example: &quot;glob&quot;: &quot;/:capture*&quot;, &quot;statusCode&quot;: 301, &quot;location&quot;: &quot;https://example.com/foo/:capture&quot;
710 },
711 ],
712 &quot;cleanUrls&quot;: True or False, # Defines whether to drop the file extension from uploaded files.
713 &quot;headers&quot;: [ # An array of objects, where each object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
714 { # A [`header`](/docs/hosting/full-config#headers) is an object that specifies a URL pattern that, if matched to the request URL path, triggers Hosting to apply the specified custom response headers.
715 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
716 &quot;headers&quot;: { # Required. The additional headers to add to the response.
717 &quot;a_key&quot;: &quot;A String&quot;,
718 },
719 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
720 },
721 ],
722 &quot;trailingSlashBehavior&quot;: &quot;A String&quot;, # Defines how to handle a trailing slash in the URL path.
723 &quot;rewrites&quot;: [ # An array of objects (called rewrite rules), where each rule specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
724 { # A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL pattern that, if matched to the request URL path, triggers Hosting to respond as if the service were given the specified destination URL.
725 &quot;glob&quot;: &quot;A String&quot;, # The user-supplied [glob](/docs/hosting/full-config#glob_pattern_matching) to match against the request URL path.
726 &quot;path&quot;: &quot;A String&quot;, # The URL path to rewrite the request to.
727 &quot;run&quot;: { # A configured rewrite that directs requests to a Cloud Run service. If the Cloud Run service does not exist when setting or updating your Firebase Hosting configuration, then the request fails. Any errors from the Cloud Run service are passed to the end user (for example, if you delete a service, any requests directed to that service receive a `404` error). # The request will be forwarded to Cloud Run.
728 &quot;serviceId&quot;: &quot;A String&quot;, # Required. User-defined ID of the Cloud Run service.
729 &quot;region&quot;: &quot;A String&quot;, # Optional. User-provided region where the Cloud Run service is hosted. Defaults to `us-central1` if not supplied.
730 },
731 &quot;function&quot;: &quot;A String&quot;, # The function to proxy requests to. Must match the exported function name exactly.
732 &quot;regex&quot;: &quot;A String&quot;, # The user-supplied RE2 regular expression to match against the request URL path.
733 &quot;dynamicLinks&quot;: True or False, # The request will be forwarded to Firebase Dynamic Links.
734 },
735 ],
736 },
737 &quot;versionBytes&quot;: &quot;A String&quot;, # Output only. The total stored bytesize of the version. This value is calculated after a version is `FINALIZED`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700738 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800739 &quot;name&quot;: &quot;A String&quot;, # Output only. The unique identifier for the release, in the format: sites/ site-name/releases/releaseID This name is provided in the response body when you call the [`CreateRelease`](sites.releases/create) endpoint.
740 &quot;releaseTime&quot;: &quot;A String&quot;, # Output only. The time at which the version is set to be public.
741 &quot;type&quot;: &quot;A String&quot;, # Explains the reason for the release. Specify a value for this field only when creating a `SITE_DISABLE` type release.
742 &quot;releaseUser&quot;: { # Contains metadata about the user who performed an action, such as creating a release or finalizing a version. # Output only. Identifies the user who created the release.
743 &quot;email&quot;: &quot;A String&quot;, # The email address of the user when the user performed the action.
744 &quot;imageUrl&quot;: &quot;A String&quot;, # A profile image URL for the user. May not be present if the user has changed their email address or deleted their account.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800745 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800746 },
747 }</pre>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700748</div>
749
Bu Sun Kim65020912020-05-20 12:08:20 -0700750</body></html>