Class AndroidApp
Details of a Firebase App for Android.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseManagement.v1beta1.Data
Assembly: Google.Apis.FirebaseManagement.v1beta1.dll
Syntax
public class AndroidApp : IDirectResponseSchema
Properties
ApiKeyId
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.
Declaration
[JsonProperty("apiKeyId")]
public virtual string ApiKeyId { get; set; }
Property Value
Type | Description |
---|---|
string |
AppId
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.
Declaration
[JsonProperty("appId")]
public virtual string AppId { get; set; }
Property Value
Type | Description |
---|---|
string |
DisplayName
The user-assigned display name for the AndroidApp
.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
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.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExpireTime
object representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type | Description |
---|---|
object |
ExpireTimeDateTimeOffset
DateTimeOffset representation of ExpireTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
ExpireTimeRaw
Output only. If the App has been removed from the Project, this is the timestamp of when the App is
considered expired and will be permanently deleted. After this time, the App cannot be undeleted (that is,
restored to the Project). This value is only provided if the App is in the DELETED
state.
Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
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
).
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
PackageName
Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.
Declaration
[JsonProperty("packageName")]
public virtual string PackageName { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Output only. Immutable. A user-assigned unique identifier of the parent FirebaseProject for the
AndroidApp
.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
Sha1Hashes
The SHA1 certificate hashes for the AndroidApp.
Declaration
[JsonProperty("sha1Hashes")]
public virtual IList<string> Sha1Hashes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Sha256Hashes
The SHA256 certificate hashes for the AndroidApp.
Declaration
[JsonProperty("sha256Hashes")]
public virtual IList<string> Sha256Hashes { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
State
Output only. The lifecycle state of the App.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |