
com.pulumi.googlenative.firebase.v1beta1.kotlin.outputs.GetAndroidAppResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.firebase.v1beta1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property 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`](https://cloud.google.com/api-keys/docs/reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `keyString` is the value that can be found in the App's [configuration artifact](../../rest/v1beta1/projects.androidApps/getConfig). If `api_key_id` is not set in requests to [`androidApps.Create`](../../rest/v1beta1/projects.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](https://console.cloud.google.com/apis/credentials) to manage API keys.
* @property appId 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.
* @property displayName The user-assigned display name for the `AndroidApp`.
* @property 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](https://google.aip.dev/154#declarative-friendly-resources). This etag is strongly validated.
* @property expireTime 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.
* @property name The resource name of the AndroidApp, in the format: projects/ PROJECT_IDENTIFIER/androidApps/APP_ID * PROJECT_IDENTIFIER: the parent Project's [`ProjectNumber`](../projects#FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`](../projects#FirebaseProject.FIELDS.project_id). Learn more about using project identifiers in Google's [AIP 2510 standard](https://google.aip.dev/cloud/2510). 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`](../projects.androidApps#AndroidApp.FIELDS.app_id)).
* @property packageName Immutable. The canonical package name of the Android app as would appear in the Google Play Developer Console.
* @property project Immutable. A user-assigned unique identifier of the parent FirebaseProject for the `AndroidApp`.
* @property sha1Hashes The SHA1 certificate hashes for the AndroidApp.
* @property sha256Hashes The SHA256 certificate hashes for the AndroidApp.
* @property state The lifecycle state of the App.
*/
public data class GetAndroidAppResult(
public val apiKeyId: String,
public val appId: String,
public val displayName: String,
public val etag: String,
public val expireTime: String,
public val name: String,
public val packageName: String,
public val project: String,
public val sha1Hashes: List,
public val sha256Hashes: List,
public val state: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.firebase.v1beta1.outputs.GetAndroidAppResult): GetAndroidAppResult = GetAndroidAppResult(
apiKeyId = javaType.apiKeyId(),
appId = javaType.appId(),
displayName = javaType.displayName(),
etag = javaType.etag(),
expireTime = javaType.expireTime(),
name = javaType.name(),
packageName = javaType.packageName(),
project = javaType.project(),
sha1Hashes = javaType.sha1Hashes().map({ args0 -> args0 }),
sha256Hashes = javaType.sha256Hashes().map({ args0 -> args0 }),
state = javaType.state(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy