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

com.pulumi.gcp.cloudfunctionsv2.kotlin.outputs.GetFunctionBuildConfigSourceRepoSource.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.cloudfunctionsv2.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property branchName Regex matching branches to build.
 * @property commitSha Regex matching tags to build.
 * @property dir Directory, relative to the source root, in which to run the build.
 * @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.
 * @property tagName Regex matching tags to build.
 */
public data class GetFunctionBuildConfigSourceRepoSource(
    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.cloudfunctionsv2.outputs.GetFunctionBuildConfigSourceRepoSource): GetFunctionBuildConfigSourceRepoSource = GetFunctionBuildConfigSourceRepoSource(
            branchName = javaType.branchName(),
            commitSha = javaType.commitSha(),
            dir = javaType.dir(),
            invertRegex = javaType.invertRegex(),
            projectId = javaType.projectId(),
            repoName = javaType.repoName(),
            tagName = javaType.tagName(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy