Cloud Build v2 API - Class BitbucketCloudConfig (1.3.0)

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.

Configuration for connections to Bitbucket Cloud.

Inheritance

object > BitbucketCloudConfig

Namespace

Google.Cloud.CloudBuild.V2

Assembly

Google.Cloud.CloudBuild.V2.dll

Constructors

BitbucketCloudConfig()

public BitbucketCloudConfig()

BitbucketCloudConfig(BitbucketCloudConfig)

public BitbucketCloudConfig(BitbucketCloudConfig other)
Parameter
Name Description
other BitbucketCloudConfig

Properties

AuthorizerCredential

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.

Property Value
Type Description
UserCredential

ReadAuthorizerCredential

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.

Property Value
Type Description
UserCredential

WebhookSecretSecretVersion

public string WebhookSecretSecretVersion { get; set; }

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

Property Value
Type Description
string

WebhookSecretSecretVersionAsSecretVersionName

public SecretVersionName WebhookSecretSecretVersionAsSecretVersionName { get; set; }

SecretVersionName-typed view over the WebhookSecretSecretVersion resource name property.

Property Value
Type Description
SecretVersionName

Workspace

public string Workspace { get; set; }

Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.

Property Value
Type Description
string