[][src]Struct google_firebasehosting1_beta1::Version

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 preview: Option<PreviewConfig>,
    pub config: Option<ServingConfig>,
    pub create_time: Option<String>,
    pub file_count: Option<String>,
}

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

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.

preview: Option<PreviewConfig>

Version preview configuration for the site version. This configuration specfies 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.

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<String>

Output only. The total number of files associated with the version.
This value is calculated after a version is FINALIZED.

Trait Implementations

impl Clone for Version[src]

impl Debug for Version[src]

impl Default for Version[src]

impl<'de> Deserialize<'de> for Version[src]

impl RequestValue for Version[src]

impl ResponseResult for Version[src]

impl Serialize for Version[src]

Auto Trait Implementations

impl RefUnwindSafe for Version

impl Send for Version

impl Sync for Version

impl Unpin for Version

impl UnwindSafe for Version

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any