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.
Implements
IMessageBitbucketDataCenterConfig, IEquatableBitbucketDataCenterConfig, IDeepCloneableBitbucketDataCenterConfig, IBufferMessage, IMessageNamespace
Google.Cloud.DeveloperConnect.V1Assembly
Google.Cloud.DeveloperConnect.V1.dll
Constructors
BitbucketDataCenterConfig()
public BitbucketDataCenterConfig()
BitbucketDataCenterConfig(BitbucketDataCenterConfig)
public BitbucketDataCenterConfig(BitbucketDataCenterConfig other)
Parameter | |
---|---|
Name | Description |
other |
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 |
UserCredential |
HostUri
public string HostUri { get; set; }
Required. The URI of the Bitbucket Data Center host this connection is for.
Property Value | |
---|---|
Type | Description |
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 |
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 |
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 |
ServiceDirectoryConfig |
SslCaCertificate
public string SslCaCertificate { get; set; }
Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.
Property Value | |
---|---|
Type | Description |
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/*
. This is used to validate 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 |