
com.pulumi.googlenative.compute.alpha.kotlin.outputs.LocalizedMessageResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.compute.alpha.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Provides a localized error message that is safe to return to the user which can be attached to an RPC error.
* @property locale The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
* @property message The localized error message in the above locale.
*/
public data class LocalizedMessageResponse(
public val locale: String,
public val message: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.compute.alpha.outputs.LocalizedMessageResponse): LocalizedMessageResponse = LocalizedMessageResponse(
locale = javaType.locale(),
message = javaType.message(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy