com.pulumi.gcp.cloudbuild.kotlin.outputs.GetTriggerGitFileSource.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@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 path The path of the file, with the repo root as the root of the path.
* @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 fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository.
* If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
* @property revision The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the
* filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions
* If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
* @property uri The URI of the repo (optional). If unspecified, the repo from which the trigger
* invocation originated is assumed to be the repo from which to read the specified path.
*/
public data class GetTriggerGitFileSource(
public val bitbucketServerConfig: String,
public val githubEnterpriseConfig: String,
public val path: String,
public val repoType: String,
public val repository: String,
public val revision: String,
public val uri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.GetTriggerGitFileSource): GetTriggerGitFileSource = GetTriggerGitFileSource(
bitbucketServerConfig = javaType.bitbucketServerConfig(),
githubEnterpriseConfig = javaType.githubEnterpriseConfig(),
path = javaType.path(),
repoType = javaType.repoType(),
repository = javaType.repository(),
revision = javaType.revision(),
uri = javaType.uri(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy