GetBitbucketServerConfigResult

data class GetBitbucketServerConfigResult(val apiKey: String, val connectedRepositories: List<BitbucketServerRepositoryIdResponse>, val createTime: String, val hostUri: String, val name: String, val peeredNetwork: String, val secrets: BitbucketServerSecretsResponse, val sslCa: String, val username: String, val webhookKey: String)

Constructors

Link copied to clipboard
constructor(apiKey: String, connectedRepositories: List<BitbucketServerRepositoryIdResponse>, createTime: String, hostUri: String, name: String, peeredNetwork: String, secrets: BitbucketServerSecretsResponse, sslCa: String, username: String, webhookKey: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

Link copied to clipboard

Connected Bitbucket Server repositories for this config.

Link copied to clipboard

Time when the config was created.

Link copied to clipboard

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

Link copied to clipboard

The resource name for the config.

Link copied to clipboard

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

Link copied to clipboard

Secret Manager secrets needed by the config.

Link copied to clipboard

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

Link copied to clipboard

Username of the account Cloud Build will use on Bitbucket Server.

Link copied to clipboard

UUID included in webhook requests. The UUID is used to look up the corresponding config.