[−][src]Struct google_firebasehosting1_beta1::Version
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.
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,