com.pulumi.googlenative.certificatemanager.v1.kotlin.outputs.GetTrustConfigResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.certificatemanager.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property createTime The creation timestamp of a TrustConfig.
* @property description One or more paragraphs of text description of a TrustConfig.
* @property etag This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
* @property labels Set of labels associated with a TrustConfig.
* @property name A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.
* @property trustStores Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed.
* @property updateTime The last update timestamp of a TrustConfig.
* */*/*/
*/
public data class GetTrustConfigResult(
public val createTime: String,
public val description: String,
public val etag: String,
public val labels: Map,
public val name: String,
public val trustStores: List,
public val updateTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.certificatemanager.v1.outputs.GetTrustConfigResult): GetTrustConfigResult = GetTrustConfigResult(
createTime = javaType.createTime(),
description = javaType.description(),
etag = javaType.etag(),
labels = javaType.labels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
name = javaType.name(),
trustStores = javaType.trustStores().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.certificatemanager.v1.kotlin.outputs.TrustStoreResponse.Companion.toKotlin(args0)
})
}),
updateTime = javaType.updateTime(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy