com.pulumi.gcp.secretmanager.kotlin.outputs.GetSecretsResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.secretmanager.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
* A collection of values returned by getSecrets.
* @property filter
* @property id The provider-assigned unique ID for this managed resource.
* @property project The ID of the project in which the resource belongs.
* @property secrets A list of secrets matching the filter. Structure is defined below.
*/
public data class GetSecretsResult(
public val filter: String? = null,
public val id: String,
public val project: String,
public val secrets: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.secretmanager.outputs.GetSecretsResult): GetSecretsResult = GetSecretsResult(
filter = javaType.filter().map({ args0 -> args0 }).orElse(null),
id = javaType.id(),
project = javaType.project(),
secrets = javaType.secrets().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.secretmanager.kotlin.outputs.GetSecretsSecret.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy