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

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

/**
 *
 * @property bitbucketServerConfig The full resource name of the bitbucket server config.
 * Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
 * @property githubEnterpriseConfig The full resource name of the github enterprise config.
 * Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
 * @property ref The branch or tag to use. Must start with "refs/" (required).
 * @property repoType The type of the repo, since it may not be explicit from the repo field (e.g from a URL).
 * Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
 * @property repository The qualified resource name of the Repo API repository.
 * Either uri or repository can be specified and is required.
 * @property uri The URI of the repo.
 */
public data class GetTriggerSourceToBuild(
    public val bitbucketServerConfig: String,
    public val githubEnterpriseConfig: String,
    public val ref: String,
    public val repoType: String,
    public val repository: String,
    public val uri: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.GetTriggerSourceToBuild): GetTriggerSourceToBuild = GetTriggerSourceToBuild(
            bitbucketServerConfig = javaType.bitbucketServerConfig(),
            githubEnterpriseConfig = javaType.githubEnterpriseConfig(),
            ref = javaType.ref(),
            repoType = javaType.repoType(),
            repository = javaType.repository(),
            uri = javaType.uri(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy