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

com.pulumi.gcp.logging.kotlin.outputs.MetricMetricDescriptorLabel.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.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