com.pulumi.gcp.cloudbuild.kotlin.outputs.GetTriggerBuildArtifact.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.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property images A list of images to be pushed upon the successful completion of all build steps.
* The images will be pushed using the builder service account's credentials.
* The digests of the pushed images will be stored in the Build resource's results field.
* If any of the images fail to be pushed, the build is marked FAILURE.
* @property mavenArtifacts A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
* The location and generation of the uploaded objects will be stored in the Build resource's results field.
* If any objects fail to be pushed, the build is marked FAILURE.
* @property npmPackages Npm package to upload to Artifact Registry upon successful completion of all build steps.
* The location and generation of the uploaded objects will be stored in the Build resource's results field.
* If any objects fail to be pushed, the build is marked FAILURE.
* @property objects A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
* Files in the workspace matching specified paths globs will be uploaded to the
* Cloud Storage location using the builder service account's credentials.
* The location and generation of the uploaded objects will be stored in the Build resource's results field.
* If any objects fail to be pushed, the build is marked FAILURE.
* @property pythonPackages Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
* The location and generation of the uploaded objects will be stored in the Build resource's results field.
* If any objects fail to be pushed, the build is marked FAILURE.
*/
public data class GetTriggerBuildArtifact(
public val images: List,
public val mavenArtifacts: List,
public val npmPackages: List,
public val objects: List,
public val pythonPackages: List,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.GetTriggerBuildArtifact): GetTriggerBuildArtifact = GetTriggerBuildArtifact(
images = javaType.images().map({ args0 -> args0 }),
mavenArtifacts = javaType.mavenArtifacts().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudbuild.kotlin.outputs.GetTriggerBuildArtifactMavenArtifact.Companion.toKotlin(args0)
})
}),
npmPackages = javaType.npmPackages().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudbuild.kotlin.outputs.GetTriggerBuildArtifactNpmPackage.Companion.toKotlin(args0)
})
}),
objects = javaType.objects().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudbuild.kotlin.outputs.GetTriggerBuildArtifactObject.Companion.toKotlin(args0)
})
}),
pythonPackages = javaType.pythonPackages().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.cloudbuild.kotlin.outputs.GetTriggerBuildArtifactPythonPackage.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy