com.pulumi.gcp.cloudbuild.kotlin.inputs.TriggerBuildArtifactsObjectsArgs.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.cloudbuild.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudbuild.inputs.TriggerBuildArtifactsObjectsArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property location Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".
* Files in the workspace matching any path pattern will be uploaded to Cloud Storage with
* this location as a prefix.
* @property paths Path globs used to match files in the build's workspace.
* @property timings (Output)
* Output only. Stores timing information for pushing all artifact objects.
* Structure is documented below.
* The `timing` block contains:
*/
public data class TriggerBuildArtifactsObjectsArgs(
public val location: Output? = null,
public val paths: Output>? = null,
public val timings: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudbuild.inputs.TriggerBuildArtifactsObjectsArgs =
com.pulumi.gcp.cloudbuild.inputs.TriggerBuildArtifactsObjectsArgs.builder()
.location(location?.applyValue({ args0 -> args0 }))
.paths(paths?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.timings(
timings?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [TriggerBuildArtifactsObjectsArgs].
*/
@PulumiTagMarker
public class TriggerBuildArtifactsObjectsArgsBuilder internal constructor() {
private var location: Output? = null
private var paths: Output>? = null
private var timings: Output>? = null
/**
* @param value Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/".
* Files in the workspace matching any path pattern will be uploaded to Cloud Storage with
* this location as a prefix.
*/
@JvmName("lwajlilphuyvlddv")
public suspend fun location(`value`: Output) {
this.location = value
}
/**
* @param value Path globs used to match files in the build's workspace.
*/
@JvmName("matqadmbmwgovksm")
public suspend fun paths(`value`: Output>) {
this.paths = value
}
@JvmName("omxtbqadwxqxqgks")
public suspend fun paths(vararg values: Output) {
this.paths = Output.all(values.asList())
}
/**
* @param values Path globs used to match files in the build's workspace.
*/
@JvmName("ukfbtwmowoosbvmm")
public suspend fun paths(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy