com.pulumi.googlenative.containeranalysis.v1beta1.kotlin.outputs.BuildProvenanceResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.containeranalysis.v1beta1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map
/**
* Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.
* @property buildOptions Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
* @property builderVersion Version string of the builder at the time this build was executed.
* @property builtArtifacts Output of the build.
* @property commands Commands requested by the build.
* @property createTime Time at which the build was created.
* @property creator E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
* @property endTime Time at which execution of the build was finished.
* @property logsUri URI where any logs for this provenance were written.
* @property project ID of the project.
* @property sourceProvenance Details of the Source input to the build.
* @property startTime Time at which execution of the build was started.
* @property triggerId Trigger identifier if the build was triggered automatically; empty if not.
*/
public data class BuildProvenanceResponse(
public val buildOptions: Map,
public val builderVersion: String,
public val builtArtifacts: List,
public val commands: List,
public val createTime: String,
public val creator: String,
public val endTime: String,
public val logsUri: String,
public val project: String,
public val sourceProvenance: SourceResponse,
public val startTime: String,
public val triggerId: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.containeranalysis.v1beta1.outputs.BuildProvenanceResponse): BuildProvenanceResponse = BuildProvenanceResponse(
buildOptions = javaType.buildOptions().map({ args0 -> args0.key.to(args0.value) }).toMap(),
builderVersion = javaType.builderVersion(),
builtArtifacts = javaType.builtArtifacts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.containeranalysis.v1beta1.kotlin.outputs.ArtifactResponse.Companion.toKotlin(args0)
})
}),
commands = javaType.commands().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.containeranalysis.v1beta1.kotlin.outputs.CommandResponse.Companion.toKotlin(args0)
})
}),
createTime = javaType.createTime(),
creator = javaType.creator(),
endTime = javaType.endTime(),
logsUri = javaType.logsUri(),
project = javaType.project(),
sourceProvenance = javaType.sourceProvenance().let({ args0 ->
com.pulumi.googlenative.containeranalysis.v1beta1.kotlin.outputs.SourceResponse.Companion.toKotlin(args0)
}),
startTime = javaType.startTime(),
triggerId = javaType.triggerId(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy