# Developer Connect v1 API - Class BitbucketDataCenterConfig (1.0.0-beta04)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta04 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.BitbucketDataCenterConfig)
- [1.0.0-beta03](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/1.0.0-beta03/Google.Cloud.DeveloperConnect.V1.BitbucketDataCenterConfig)

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

Reference documentation and code samples for the Developer Connect v1 API class BitbucketDataCenterConfig.

Configuration for connections to an instance of Bitbucket Data Center.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> BitbucketDataCenterConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BitbucketDataCenterConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.BitbucketDataCenterConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BitbucketDataCenterConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.BitbucketDataCenterConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BitbucketDataCenterConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.BitbucketDataCenterConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DeveloperConnect.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1)

## Assembly

Google.Cloud.DeveloperConnect.V1.dll

## Constructors

### BitbucketDataCenterConfig()

    public BitbucketDataCenterConfig()

### BitbucketDataCenterConfig(BitbucketDataCenterConfig)

    public BitbucketDataCenterConfig(BitbucketDataCenterConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.BitbucketDataCenterConfig` |

## Properties

### AuthorizerCredential

    public UserCredential AuthorizerCredential { get; set; }

Required. An http access token with the minimum `Repository admin` scope
access. This is needed to create webhooks. It's recommended to use a system
account to generate these credentials.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UserCredential` |   |

### HostUri

    public string HostUri { get; set; }

Required. The URI of the Bitbucket Data Center host this connection is for.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ReadAuthorizerCredential

    public UserCredential ReadAuthorizerCredential { get; set; }

Required. An http access token with the minimum `Repository read` access.
It's recommended to use a system account to generate the credentials.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.UserCredential` |   |

### ServerVersion

    public string ServerVersion { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ServiceDirectoryConfig

    public ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }

Optional. Configuration for using Service Directory to privately connect to
a Bitbucket Data Center instance. 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** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.ServiceDirectoryConfig` |   |

### SslCaCertificate

    public string SslCaCertificate { get; set; }

Optional. SSL certificate authority to trust when making requests to
Bitbucket Data Center.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.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/*` or
`projects/*/locations/*/secrets/*/versions/*` (if regional secrets are
supported in that location). This is used to validate webhooks.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### WebhookSecretSecretVersionAsSecretVersionName

    public SecretVersionName WebhookSecretSecretVersionAsSecretVersionName { get; set; }

[SecretVersionName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.SecretVersionName)-typed view over the [WebhookSecretSecretVersion](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.BitbucketDataCenterConfig#Google_Cloud_DeveloperConnect_V1_BitbucketDataCenterConfig_WebhookSecretSecretVersion) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DeveloperConnect.V1/latest/Google.Cloud.DeveloperConnect.V1.SecretVersionName` |   |