public sealed class BitbucketCloudConfig : IMessage<BitbucketCloudConfig>, IEquatable<BitbucketCloudConfig>, IDeepCloneable<BitbucketCloudConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Developer Connect v1 API class BitbucketCloudConfig.
Configuration for connections to an instance of Bitbucket Cloud.
Implements
IMessageBitbucketCloudConfig, IEquatableBitbucketCloudConfig, IDeepCloneableBitbucketCloudConfig, IBufferMessage, IMessageNamespace
Google.Cloud.DeveloperConnect.V1Assembly
Google.Cloud.DeveloperConnect.V1.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 minimum repository
, pullrequest
and
webhook
scope access. It can either be a workspace, project or repository
access token. This is needed to create webhooks. 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 minimum repository
access.
It can either be 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. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted as
projects/*/secrets/*/versions/*
. This is used to validate and create
webhooks.
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 |