pub struct AndroidApp {
pub api_key_id: Option<String>,
pub app_id: Option<String>,
pub display_name: Option<String>,
pub etag: Option<String>,
pub expire_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub package_name: Option<String>,
pub project_id: Option<String>,
pub sha1_hashes: Option<Vec<String>>,
pub sha256_hashes: Option<Vec<String>>,
pub state: Option<String>,
}
Expand description
Details of a Firebase App for Android.
§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).
- android apps create projects (request)
- android apps get projects (response)
- android 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 AndroidApp
. 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 androidApps.Create
, then Firebase automatically associates an api_key_id
with the AndroidApp
. 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 AndroidApp
. 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 AndroidApp
. This identifier should be treated as an opaque token, as the data format is not specified.
display_name: Option<String>
The user-assigned display name for the AndroidApp
.
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 AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/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
).
package_name: Option<String>
Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.
project_id: Option<String>
Output only. Immutable. A user-assigned unique identifier of the parent FirebaseProject for the AndroidApp
.
sha1_hashes: Option<Vec<String>>
The SHA1 certificate hashes for the AndroidApp.
sha256_hashes: Option<Vec<String>>
The SHA256 certificate hashes for the AndroidApp.
state: Option<String>
Output only. The lifecycle state of the App.
Trait Implementations§
Source§impl Clone for AndroidApp
impl Clone for AndroidApp
Source§fn clone(&self) -> AndroidApp
fn clone(&self) -> AndroidApp
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for AndroidApp
impl Debug for AndroidApp
Source§impl Default for AndroidApp
impl Default for AndroidApp
Source§fn default() -> AndroidApp
fn default() -> AndroidApp
Source§impl<'de> Deserialize<'de> for AndroidApp
impl<'de> Deserialize<'de> for AndroidApp
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>,
Source§impl Serialize for AndroidApp
impl Serialize for AndroidApp
impl RequestValue for AndroidApp
impl ResponseResult for AndroidApp
Auto Trait Implementations§
impl Freeze for AndroidApp
impl RefUnwindSafe for AndroidApp
impl Send for AndroidApp
impl Sync for AndroidApp
impl Unpin for AndroidApp
impl UnwindSafe for AndroidApp
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