All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.firebase.kotlin.outputs.GetAndroidAppResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.firebase.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getAndroidApp.
 * @property apiKeyId
 * @property appId Immutable. The globally unique, Firebase-assigned identifier of the AndroidApp.
 * This identifier should be treated as an opaque token, as the data format is not specified.
 * @property deletionPolicy
 * @property displayName The user-assigned display name of 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.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property name The fully qualified resource name of the AndroidApp, for example:
 * projects/projectId/androidApps/appId
 * @property packageName The canonical package name of the Android app as would appear in the Google Play Developer Console.
 * @property project
 * @property sha1Hashes The SHA1 certificate hashes for the AndroidApp.
 * @property sha256Hashes The SHA256 certificate hashes for the AndroidApp.
 */
public data class GetAndroidAppResult(
    public val apiKeyId: String,
    public val appId: String,
    public val deletionPolicy: String,
    public val displayName: String,
    public val etag: String,
    public val id: String,
    public val name: String,
    public val packageName: String,
    public val project: String? = null,
    public val sha1Hashes: List,
    public val sha256Hashes: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.firebase.outputs.GetAndroidAppResult): GetAndroidAppResult = GetAndroidAppResult(
            apiKeyId = javaType.apiKeyId(),
            appId = javaType.appId(),
            deletionPolicy = javaType.deletionPolicy(),
            displayName = javaType.displayName(),
            etag = javaType.etag(),
            id = javaType.id(),
            name = javaType.name(),
            packageName = javaType.packageName(),
            project = javaType.project().map({ args0 -> args0 }).orElse(null),
            sha1Hashes = javaType.sha1Hashes().map({ args0 -> args0 }),
            sha256Hashes = javaType.sha256Hashes().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy