com.pulumi.gcp.dataplex.kotlin.outputs.AssetDiscoveryStatus.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.dataplex.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property lastRunDuration The duration of the last discovery run.
* @property lastRunTime The start time of the last discovery run.
* @property message Additional information about the current state.
* @property state Output only. Current state of the asset. Possible values: STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED
* @property stats Data Stats of the asset reported by discovery.
* @property updateTime Output only. The time when the asset was last updated.
*/
public data class AssetDiscoveryStatus(
public val lastRunDuration: String? = null,
public val lastRunTime: String? = null,
public val message: String? = null,
public val state: String? = null,
public val stats: List? = null,
public val updateTime: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.AssetDiscoveryStatus): AssetDiscoveryStatus = AssetDiscoveryStatus(
lastRunDuration = javaType.lastRunDuration().map({ args0 -> args0 }).orElse(null),
lastRunTime = javaType.lastRunTime().map({ args0 -> args0 }).orElse(null),
message = javaType.message().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
stats = javaType.stats().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.dataplex.kotlin.outputs.AssetDiscoveryStatusStat.Companion.toKotlin(args0)
})
}),
updateTime = javaType.updateTime().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy