com.pulumi.gcp.logging.kotlin.outputs.MetricMetricDescriptorLabel.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.logging.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property description A human-readable description for the label.
* @property key The label key.
* @property valueType The type of data that can be assigned to the label.
* Default value is `STRING`.
* Possible values are: `BOOL`, `INT64`, `STRING`.
*/
public data class MetricMetricDescriptorLabel(
public val description: String? = null,
public val key: String,
public val valueType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.logging.outputs.MetricMetricDescriptorLabel): MetricMetricDescriptorLabel = MetricMetricDescriptorLabel(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
key = javaType.key(),
valueType = javaType.valueType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy