com.pulumi.gcp.monitoring.kotlin.outputs.GenericServiceBasicService.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.monitoring.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
/**
*
* @property serviceLabels Labels that specify the resource that emits the monitoring data
* which is used for SLO reporting of this `Service`.
* @property serviceType The type of service that this basic service defines, e.g.
* APP_ENGINE service type
*/
public data class GenericServiceBasicService(
public val serviceLabels: Map? = null,
public val serviceType: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.monitoring.outputs.GenericServiceBasicService): GenericServiceBasicService = GenericServiceBasicService(
serviceLabels = javaType.serviceLabels().map({ args0 -> args0.key.to(args0.value) }).toMap(),
serviceType = javaType.serviceType().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy