All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerBuildArtifactsObjects.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudbuild.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @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 TriggerBuildArtifactsObjects(
    public val location: String? = null,
    public val paths: List? = null,
    public val timings: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.TriggerBuildArtifactsObjects): TriggerBuildArtifactsObjects = TriggerBuildArtifactsObjects(
            location = javaType.location().map({ args0 -> args0 }).orElse(null),
            paths = javaType.paths().map({ args0 -> args0 }),
            timings = javaType.timings().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerBuildArtifactsObjectsTiming.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy