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

com.pulumi.gcp.cloudbuildv2.kotlin.outputs.ConnectionBitbucketCloudConfig.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudbuildv2.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property authorizerCredential Required. An access token with the `webhook`, `repository`, `repository:admin` and `pullrequest` scope access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate these credentials.
 * Structure is documented below.
 * @property readAuthorizerCredential Required. An access token with the `repository` access. It can be either a workspace, project or repository access token. It's recommended to use a system account to generate the credentials.
 * Structure is documented below.
 * @property webhookSecretSecretVersion Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as `projects/*/secrets/*/versions/*`.
 * @property workspace The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
 * */*/*/
 */
public data class ConnectionBitbucketCloudConfig(
    public val authorizerCredential: ConnectionBitbucketCloudConfigAuthorizerCredential,
    public val readAuthorizerCredential: ConnectionBitbucketCloudConfigReadAuthorizerCredential,
    public val webhookSecretSecretVersion: String,
    public val workspace: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.cloudbuildv2.outputs.ConnectionBitbucketCloudConfig): ConnectionBitbucketCloudConfig = ConnectionBitbucketCloudConfig(
            authorizerCredential = javaType.authorizerCredential().let({ args0 ->
                com.pulumi.gcp.cloudbuildv2.kotlin.outputs.ConnectionBitbucketCloudConfigAuthorizerCredential.Companion.toKotlin(args0)
            }),
            readAuthorizerCredential = javaType.readAuthorizerCredential().let({ args0 ->
                com.pulumi.gcp.cloudbuildv2.kotlin.outputs.ConnectionBitbucketCloudConfigReadAuthorizerCredential.Companion.toKotlin(args0)
            }),
            webhookSecretSecretVersion = javaType.webhookSecretSecretVersion(),
            workspace = javaType.workspace(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy