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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eBitbucketDataCenterConfig\u003c/code\u003e class is used to configure connections to Bitbucket Data Center within the Cloud Build v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing a wide range of functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBitbucketDataCenterConfig\u003c/code\u003e class includes properties such as \u003ccode\u003eHostUri\u003c/code\u003e, \u003ccode\u003eAuthorizerCredential\u003c/code\u003e, and \u003ccode\u003eWebhookSecretSecretVersion\u003c/code\u003e, to manage connection details and security.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the documentation available, ranging from version 1.0.0 to the latest version, 1.4.0, for the \u003ccode\u003eBitbucketDataCenterConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceDirectoryConfig\u003c/code\u003e property allows users to configure a private connection to a locally hosted Bitbucket Data Center instance, otherwise, the connection will default to the public internet.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v2 API - Class BitbucketDataCenterConfig (1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BitbucketDataCenterConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.3.0/Google.Cloud.CloudBuild.V2.BitbucketDataCenterConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.2.0/Google.Cloud.CloudBuild.V2.BitbucketDataCenterConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.1.0/Google.Cloud.CloudBuild.V2.BitbucketDataCenterConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.0.0/Google.Cloud.CloudBuild.V2.BitbucketDataCenterConfig) \n\n public sealed class BitbucketDataCenterConfig : IMessage\u003cBitbucketDataCenterConfig\u003e, IEquatable\u003cBitbucketDataCenterConfig\u003e, IDeepCloneable\u003cBitbucketDataCenterConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v2 API class BitbucketDataCenterConfig.\n\nConfiguration for connections to Bitbucket Data Center. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BitbucketDataCenterConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BitbucketDataCenterConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BitbucketDataCenterConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BitbucketDataCenterConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BitbucketDataCenterConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BitbucketDataCenterConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CloudBuild.V2](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudBuild.V2.dll\n\nConstructors\n------------\n\n### BitbucketDataCenterConfig()\n\n public BitbucketDataCenterConfig()\n\n### BitbucketDataCenterConfig(BitbucketDataCenterConfig)\n\n public BitbucketDataCenterConfig(BitbucketDataCenterConfig other)\n\nProperties\n----------\n\n### AuthorizerCredential\n\n public UserCredential AuthorizerCredential { get; set; }\n\nRequired. A http access token with the `REPO_ADMIN` scope access.\n\n### HostUri\n\n public string HostUri { get; set; }\n\nRequired. The URI of the Bitbucket Data Center instance or cluster this\nconnection is for.\n\n### ReadAuthorizerCredential\n\n public UserCredential ReadAuthorizerCredential { get; set; }\n\nRequired. A http access token with the `REPO_READ` access.\n\n### ServerVersion\n\n public string ServerVersion { get; set; }\n\nOutput only. Version of the Bitbucket Data Center running on the\n`host_uri`.\n\n### ServiceDirectoryConfig\n\n public ServiceDirectoryConfig ServiceDirectoryConfig { get; set; }\n\nOptional. Configuration for using Service Directory to privately connect to\na Bitbucket Data Center. This should only be set if the Bitbucket Data\nCenter is hosted on-premises and not reachable by public internet. If this\nfield is left empty, calls to the Bitbucket Data Center will be made over\nthe public internet.\n\n### SslCa\n\n public string SslCa { get; set; }\n\nOptional. SSL certificate to use for requests to the Bitbucket Data Center.\n\n### WebhookSecretSecretVersion\n\n public string WebhookSecretSecretVersion { get; set; }\n\nRequired. Immutable. SecretManager resource containing the webhook secret\nused to verify webhook events, formatted as\n`projects/*/secrets/*/versions/*`.\n\n### WebhookSecretSecretVersionAsSecretVersionName\n\n public SecretVersionName WebhookSecretSecretVersionAsSecretVersionName { get; set; }\n\n[SecretVersionName](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.SecretVersionName)-typed view over the [WebhookSecretSecretVersion](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BitbucketDataCenterConfig#Google_Cloud_CloudBuild_V2_BitbucketDataCenterConfig_WebhookSecretSecretVersion) resource name\nproperty."]]