pub struct WebApp {
pub api_key_id: Option<String>,
pub app_id: Option<String>,
pub app_urls: Option<Vec<String>>,
pub display_name: Option<String>,
pub etag: Option<String>,
pub expire_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub project_id: Option<String>,
pub state: Option<String>,
pub web_id: Option<String>,
}
Expand description
Details of a Firebase App for the web.
§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).
- web apps create projects (request)
- web apps get projects (response)
- web apps patch projects (request|response)
Fields§
§api_key_id: Option<String>
The globally unique, Google-assigned identifier (UID) for the Firebase API key associated with the WebApp
. Be aware that this value is the UID of the API key, not the keyString
of the API key. The keyString
is the value that can be found in the App’s configuration artifact. If api_key_id
is not set in requests to webApps.Create
, then Firebase automatically associates an api_key_id
with the WebApp
. This auto-associated key may be an existing valid key or, if no valid key exists, a new one will be provisioned. In patch requests, api_key_id
cannot be set to an empty value, and the new UID must have no restrictions or only have restrictions that are valid for the associated WebApp
. We recommend using the Google Cloud Console to manage API keys.
app_id: Option<String>
Output only. Immutable. The globally unique, Firebase-assigned identifier for the WebApp
. This identifier should be treated as an opaque token, as the data format is not specified.
app_urls: Option<Vec<String>>
The URLs where the WebApp
is hosted.
display_name: Option<String>
The user-assigned display name for the WebApp
.
etag: Option<String>
This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding. Learn more about etag
in Google’s AIP-154 standard. This etag is strongly validated.
expire_time: Option<DateTime<Utc>>
Output only. Timestamp of when the App will be considered expired and cannot be undeleted. This value is only provided if the App is in the DELETED
state.
name: Option<String>
The resource name of the WebApp, in the format: projects/PROJECT_IDENTIFIER /webApps/APP_ID * PROJECT_IDENTIFIER: the parent Project’s ProjectNumber
(recommended) or its ProjectId
. Learn more about using project identifiers in Google’s AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be the ProjectId
. * APP_ID: the globally unique, Firebase-assigned identifier for the App (see appId
).
project_id: Option<String>
Output only. Immutable. A user-assigned unique identifier of the parent FirebaseProject for the WebApp
.
state: Option<String>
Output only. The lifecycle state of the App.
web_id: Option<String>
Output only. Immutable. A unique, Firebase-assigned identifier for the WebApp
. This identifier is only used to populate the namespace
value for the WebApp
. For most use cases, use appId
to identify or reference the App. The webId
value is only unique within a FirebaseProject
and its associated Apps.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebApp
impl<'de> Deserialize<'de> for WebApp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for WebApp
impl ResponseResult for WebApp
Auto Trait Implementations§
impl Freeze for WebApp
impl RefUnwindSafe for WebApp
impl Send for WebApp
impl Sync for WebApp
impl Unpin for WebApp
impl UnwindSafe for WebApp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more