Reference documentation and code samples for the Google Cloud Build V2 Client class BitbucketDataCenterConfig.
Configuration for connections to Bitbucket Data Center.
Generated from protobuf message google.devtools.cloudbuild.v2.BitbucketDataCenterConfig
Namespace
Google \ Cloud \ Build \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ host_uri
string
Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.
↳ webhook_secret_secret_version
string
Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook events, formatted as projects/*/secrets/*/versions/*
.
↳ read_authorizer_credential
↳ authorizer_credential
↳ service_directory_config
ServiceDirectoryConfig
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.
↳ ssl_ca
string
Optional. SSL certificate to use for requests to the Bitbucket Data Center.
↳ server_version
string
Output only. Version of the Bitbucket Data Center running on the host_uri
.
getHostUri
Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.
string
setHostUri
Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.
var
string
$this
getWebhookSecretSecretVersion
Required. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted as projects/*/secrets/*/versions/*
.
string
setWebhookSecretSecretVersion
Required. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted as projects/*/secrets/*/versions/*
.
var
string
$this
getReadAuthorizerCredential
Required. A http access token with the REPO_READ
access.
hasReadAuthorizerCredential
clearReadAuthorizerCredential
setReadAuthorizerCredential
Required. A http access token with the REPO_READ
access.
$this
getAuthorizerCredential
Required. A http access token with the REPO_ADMIN
scope access.
hasAuthorizerCredential
clearAuthorizerCredential
setAuthorizerCredential
Required. A http access token with the REPO_ADMIN
scope access.
$this
getServiceDirectoryConfig
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.
hasServiceDirectoryConfig
clearServiceDirectoryConfig
setServiceDirectoryConfig
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.
$this
getSslCa
Optional. SSL certificate to use for requests to the Bitbucket Data Center.
string
setSslCa
Optional. SSL certificate to use for requests to the Bitbucket Data Center.
var
string
$this
getServerVersion
Output only. Version of the Bitbucket Data Center running on the host_uri
.
string
setServerVersion
Output only. Version of the Bitbucket Data Center running on the host_uri
.
var
string
$this