Cloud Build v2 API - Class BitbucketDataCenterConfig (1.3.0)

public sealed class BitbucketDataCenterConfig : IMessage<BitbucketDataCenterConfig>, IEquatable<BitbucketDataCenterConfig>, IDeepCloneable<BitbucketDataCenterConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Build v2 API class BitbucketDataCenterConfig.

Configuration for connections to Bitbucket Data Center.

Inheritance

object > BitbucketDataCenterConfig

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

BitbucketDataCenterConfig()

public BitbucketDataCenterConfig()

BitbucketDataCenterConfig(BitbucketDataCenterConfig)

public BitbucketDataCenterConfig(BitbucketDataCenterConfig other)
Parameter
NameDescription
otherBitbucketDataCenterConfig

Properties

AuthorizerCredential

public UserCredential AuthorizerCredential { get; set; }

Required. A http access token with the REPO_ADMIN scope access.

Property Value
TypeDescription
UserCredential

HostUri

public string HostUri { get; set; }

Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.

Property Value
TypeDescription
string

ReadAuthorizerCredential

public UserCredential ReadAuthorizerCredential { get; set; }

Required. A http access token with the REPO_READ access.

Property Value
TypeDescription
UserCredential

ServerVersion

public string ServerVersion { get; set; }

Output only. Version of the Bitbucket Data Center running on the host_uri.

Property Value
TypeDescription
string

ServiceDirectoryConfig

public ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }

Optional. Configuration for using Service Directory to privately connect to a Bitbucket Data Center. This should only be set if the Bitbucket Data Center is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the Bitbucket Data Center will be made over the public internet.

Property Value
TypeDescription
ServiceDirectoryConfig

SslCa

public string SslCa { get; set; }

Optional. SSL certificate to use for requests to the Bitbucket Data Center.

Property Value
TypeDescription
string

WebhookSecretSecretVersion

public string WebhookSecretSecretVersion { get; set; }

Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as projects/*/secrets/*/versions/*.

Property Value
TypeDescription
string

WebhookSecretSecretVersionAsSecretVersionName

public SecretVersionName WebhookSecretSecretVersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the WebhookSecretSecretVersion resource name property.

Property Value
TypeDescription
SecretVersionName