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

com.pulumi.gcp.cloudbuild.kotlin.outputs.GetTriggerTriggerTemplate.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.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property branchName Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided.
 * This field is a regular expression.
 * @property commitSha Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
 * @property dir Directory, relative to the source root, in which to run the build.
 * This must be a relative path. If a step's dir is specified and
 * is an absolute path, this value is ignored for that step's
 * execution.
 * @property invertRegex Only trigger a build if the revision regex does NOT match the revision regex.
 * @property projectId ID of the project that owns the Cloud Source Repository. If
 * omitted, the project ID requesting the build is assumed.
 * @property repoName Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
 * @property tagName Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided.
 * This field is a regular expression.
 */
public data class GetTriggerTriggerTemplate(
    public val branchName: String,
    public val commitSha: String,
    public val dir: String,
    public val invertRegex: Boolean,
    public val projectId: String,
    public val repoName: String,
    public val tagName: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.GetTriggerTriggerTemplate): GetTriggerTriggerTemplate = GetTriggerTriggerTemplate(
            branchName = javaType.branchName(),
            commitSha = javaType.commitSha(),
            dir = javaType.dir(),
            invertRegex = javaType.invertRegex(),
            projectId = javaType.projectId(),
            repoName = javaType.repoName(),
            tagName = javaType.tagName(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy