com.pulumi.gcp.cloudbuild.kotlin.inputs.TriggerBuildArtifactsPythonPackageArgs.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.TriggerBuildArtifactsPythonPackageArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @property paths Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
* @property repository Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
* Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
* */
*/
public data class TriggerBuildArtifactsPythonPackageArgs(
public val paths: Output>? = null,
public val repository: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.cloudbuild.inputs.TriggerBuildArtifactsPythonPackageArgs =
com.pulumi.gcp.cloudbuild.inputs.TriggerBuildArtifactsPythonPackageArgs.builder()
.paths(paths?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
.repository(repository?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [TriggerBuildArtifactsPythonPackageArgs].
*/
@PulumiTagMarker
public class TriggerBuildArtifactsPythonPackageArgsBuilder internal constructor() {
private var paths: Output>? = null
private var repository: Output? = null
/**
* @param value Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
* */
*/
@JvmName("dbbqsccbqwrrpuhh")
public suspend fun paths(`value`: Output>) {
this.paths = value
}
@JvmName("freygxdfqpdcwpqd")
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. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
* */
*/
@JvmName("gfuwoncrygwrlffx")
public suspend fun paths(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy