public sealed class BitbucketCloudConfig : IMessage<BitbucketCloudConfig>, IEquatable<BitbucketCloudConfig>, IDeepCloneable<BitbucketCloudConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v2 API class BitbucketCloudConfig.
public UserCredential AuthorizerCredential { get; set; }
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.
public UserCredential ReadAuthorizerCredential { get; set; }
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.
[[["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\u003eThis page provides reference documentation for the \u003ccode\u003eBitbucketCloudConfig\u003c/code\u003e class within the Cloud Build v2 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBitbucketCloudConfig\u003c/code\u003e class is used to configure connections to Bitbucket Cloud and 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.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eBitbucketCloudConfig\u003c/code\u003e include \u003ccode\u003eAuthorizerCredential\u003c/code\u003e, \u003ccode\u003eReadAuthorizerCredential\u003c/code\u003e, \u003ccode\u003eWebhookSecretSecretVersion\u003c/code\u003e, \u003ccode\u003eWebhookSecretSecretVersionAsSecretVersionName\u003c/code\u003e, and \u003ccode\u003eWorkspace\u003c/code\u003e, each with specific requirements and types.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class available is 1.4.0, and prior versions are also documented, from version 1.0.0 to 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors available, one default and one that accepts another \u003ccode\u003eBitbucketCloudConfig\u003c/code\u003e object as a parameter for initialization.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v2 API - Class BitbucketCloudConfig (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.BitbucketCloudConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.3.0/Google.Cloud.CloudBuild.V2.BitbucketCloudConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.2.0/Google.Cloud.CloudBuild.V2.BitbucketCloudConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.1.0/Google.Cloud.CloudBuild.V2.BitbucketCloudConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/1.0.0/Google.Cloud.CloudBuild.V2.BitbucketCloudConfig) \n\n public sealed class BitbucketCloudConfig : IMessage\u003cBitbucketCloudConfig\u003e, IEquatable\u003cBitbucketCloudConfig\u003e, IDeepCloneable\u003cBitbucketCloudConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v2 API class BitbucketCloudConfig.\n\nConfiguration for connections to Bitbucket Cloud. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BitbucketCloudConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BitbucketCloudConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BitbucketCloudConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BitbucketCloudConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BitbucketCloudConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BitbucketCloudConfig](/dotnet/docs/reference/Google.Cloud.CloudBuild.V2/latest/Google.Cloud.CloudBuild.V2.BitbucketCloudConfig), [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### BitbucketCloudConfig()\n\n public BitbucketCloudConfig()\n\n### BitbucketCloudConfig(BitbucketCloudConfig)\n\n public BitbucketCloudConfig(BitbucketCloudConfig other)\n\nProperties\n----------\n\n### AuthorizerCredential\n\n public UserCredential AuthorizerCredential { get; set; }\n\nRequired. An access token with the `webhook`, `repository`,\n`repository:admin` and `pullrequest` scope access. It can be either a\nworkspace, project or repository access token. It's recommended to use a\nsystem account to generate these credentials.\n\n### ReadAuthorizerCredential\n\n public UserCredential ReadAuthorizerCredential { get; set; }\n\nRequired. An access token with the `repository` access. It can be either a\nworkspace, project or repository access token. It's recommended to use a\nsystem account to generate the credentials.\n\n### WebhookSecretSecretVersion\n\n public string WebhookSecretSecretVersion { get; set; }\n\nRequired. SecretManager resource containing the webhook secret used to\nverify webhook events, formatted as `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.BitbucketCloudConfig#Google_Cloud_CloudBuild_V2_BitbucketCloudConfig_WebhookSecretSecretVersion) resource name\nproperty.\n\n### Workspace\n\n public string Workspace { get; set; }\n\nRequired. The Bitbucket Cloud Workspace ID to be connected to Google Cloud\nPlatform."]]