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