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).

Fields

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.

Output only. Identifies the user who DELETED the version.

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.

Output only. The total stored bytesize of the version.
This value is calculated after a version is FINALIZED.

The labels used for extra metadata and/or filtering.

Output only. Identifies the user who FINALIZED the version.

Output only. The time at which the version was FINALIZED.

Output only. The time at which the version was DELETED.

Output only. Identifies the user who created the version.

The configuration for the behavior of the site. This configuration exists in the firebase.json file.

Output only. The time at which the version was created.

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]

Returns the "default value" for a type. Read more

impl Clone for Version
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Version
[src]

Formats the value using the given formatter. Read more

impl RequestValue for Version
[src]

impl ResponseResult for Version
[src]

Auto Trait Implementations

impl Send for Version

impl Sync for Version