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

com.pulumi.gcp.kms.kotlin.outputs.GetKeyRingsResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.kms.kotlin.outputs

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

/**
 * A collection of values returned by getKeyRings.
 * @property filter
 * @property id The provider-assigned unique ID for this managed resource.
 * @property keyRings
 * @property location
 * @property project
 */
public data class GetKeyRingsResult(
    public val filter: String? = null,
    public val id: String,
    public val keyRings: List,
    public val location: String,
    public val project: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.kms.outputs.GetKeyRingsResult): GetKeyRingsResult =
            GetKeyRingsResult(
                filter = javaType.filter().map({ args0 -> args0 }).orElse(null),
                id = javaType.id(),
                keyRings = javaType.keyRings().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.gcp.kms.kotlin.outputs.GetKeyRingsKeyRing.Companion.toKotlin(args0)
                    })
                }),
                location = javaType.location(),
                project = javaType.project().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy