Struct google_firebasehosting1_beta1::Version [−][src]
pub struct Version { pub status: Option<String>, pub delete_user: Option<ActingUser>, pub name: Option<String>, pub version_bytes: Option<String>, pub labels: Option<HashMap<String, String>>, pub finalize_user: Option<ActingUser>, pub finalize_time: Option<String>, pub delete_time: Option<String>, pub create_user: Option<ActingUser>, pub config: Option<ServingConfig>, pub create_time: Option<String>, pub file_count: Option<i64>, }
A Version
is the collection of configuration and
static files that determine how a site is displayed.
Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- versions create sites (request|response)
- versions patch sites (request|response)
Fields
status: Option<String>
The deploy status of a version.
For a successful deploy, call the
CreateVersion
endpoint to make a new version
(CREATED
status),
upload all desired files to the version,
then update 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
endpoint.
delete_user: Option<ActingUser>
Output only. Identifies the user who DELETED
the version.
name: Option<String>
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
endpoint.
version_bytes: Option<String>
Output only. The total stored bytesize of the version.
This value is calculated after a version is FINALIZED
.
labels: Option<HashMap<String, String>>
The labels used for extra metadata and/or filtering.
finalize_user: Option<ActingUser>
Output only. Identifies the user who FINALIZED
the version.
finalize_time: Option<String>
Output only. The time at which the version was FINALIZED
.
delete_time: Option<String>
Output only. The time at which the version was DELETED
.
create_user: Option<ActingUser>
Output only. Identifies the user who created the version.
config: Option<ServingConfig>
The configuration for the behavior of the site. This configuration exists
in the firebase.json
file.
create_time: Option<String>
Output only. The time at which the version was created.
file_count: Option<i64>
Output only. The total number of files associated with the version.
This value is calculated after a version is FINALIZED
.
Trait Implementations
impl Default for Version
[src]
impl Default for Version
impl Clone for Version
[src]
impl Clone for Version
fn clone(&self) -> Version
[src]
fn clone(&self) -> Version
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Version
[src]
impl Debug for Version
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for Version
[src]
impl RequestValue for Version
impl ResponseResult for Version
[src]
impl ResponseResult for Version