com.pulumi.gcp.bigquery.kotlin.outputs.JobStatusError.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.bigquery.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property location Specifies where the error occurred, if present.
* @property message A human-readable description of the error.
* @property reason A short error code that summarizes the error.
*/
public data class JobStatusError(
public val location: String? = null,
public val message: String? = null,
public val reason: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.bigquery.outputs.JobStatusError): JobStatusError =
JobStatusError(
location = javaType.location().map({ args0 -> args0 }).orElse(null),
message = javaType.message().map({ args0 -> args0 }).orElse(null),
reason = javaType.reason().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy