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

com.pulumi.gcp.cloudbuild.kotlin.outputs.GetTriggerGithubPullRequest.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.12.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 branch Regex of branches to match.
 * @property commentControl Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
 * @property invertRegex If true, branches that do NOT match the git_ref will trigger a build.
 */
public data class GetTriggerGithubPullRequest(
    public val branch: String,
    public val commentControl: String,
    public val invertRegex: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.GetTriggerGithubPullRequest): GetTriggerGithubPullRequest = GetTriggerGithubPullRequest(
            branch = javaType.branch(),
            commentControl = javaType.commentControl(),
            invertRegex = javaType.invertRegex(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy