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.
Implements
IMessageBitbucketDataCenterConfig, IEquatableBitbucketDataCenterConfig, IDeepCloneableBitbucketDataCenterConfig, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V2Assembly
Google.Cloud.CloudBuild.V2.dll
Constructors
BitbucketDataCenterConfig()
public BitbucketDataCenterConfig()
BitbucketDataCenterConfig(BitbucketDataCenterConfig)
public BitbucketDataCenterConfig(BitbucketDataCenterConfig other)
Parameter | |
---|---|
Name | Description |
other |
BitbucketDataCenterConfig |
Properties
AuthorizerCredential
public UserCredential AuthorizerCredential { get; set; }
Required. A http access token with the REPO_ADMIN
scope access.
Property Value | |
---|---|
Type | Description |
UserCredential |
HostUri
public string HostUri { get; set; }
Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.
Property Value | |
---|---|
Type | Description |
string |
ReadAuthorizerCredential
public UserCredential ReadAuthorizerCredential { get; set; }
Required. A http access token with the REPO_READ
access.
Property Value | |
---|---|
Type | Description |
UserCredential |
ServerVersion
public string ServerVersion { get; set; }
Output only. Version of the Bitbucket Data Center 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. 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 |
SslCa
public string SslCa { get; set; }
Optional. SSL certificate to use for requests to the 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/*
.
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 |