com.pulumi.gcp.dataplex.kotlin.outputs.TaskExecutionStatusLatestJob.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.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property endTime (Output)
* The time when the job ended.
* @property message (Output)
* Additional information about the current state.
* @property name (Output)
* The relative resource name of the job, of the form: projects/{project_number}/locations/{locationId}/lakes/{lakeId}/tasks/{taskId}/jobs/{jobId}.
* @property retryCount (Output)
* The number of times the job has been retried (excluding the initial attempt).
* @property service (Output)
* The underlying service running a job.
* @property serviceJob (Output)
* The full resource name for the job run under a particular service.
* @property startTime (Output)
* The time when the job was started.
* @property state (Output)
* Execution state for the job.
* @property uid (Output)
* System generated globally unique ID for the job.
*/
public data class TaskExecutionStatusLatestJob(
public val endTime: String? = null,
public val message: String? = null,
public val name: String? = null,
public val retryCount: Int? = null,
public val service: String? = null,
public val serviceJob: String? = null,
public val startTime: String? = null,
public val state: String? = null,
public val uid: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.dataplex.outputs.TaskExecutionStatusLatestJob): TaskExecutionStatusLatestJob = TaskExecutionStatusLatestJob(
endTime = javaType.endTime().map({ args0 -> args0 }).orElse(null),
message = javaType.message().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
retryCount = javaType.retryCount().map({ args0 -> args0 }).orElse(null),
service = javaType.service().map({ args0 -> args0 }).orElse(null),
serviceJob = javaType.serviceJob().map({ args0 -> args0 }).orElse(null),
startTime = javaType.startTime().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 -> args0 }).orElse(null),
uid = javaType.uid().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy