Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::BitbucketDataCenterConfig.
Configuration for connections to Bitbucket Data Center.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#authorizer_credential
def authorizer_credential() -> ::Google::Cloud::Build::V2::UserCredential
Returns
-
(::Google::Cloud::Build::V2::UserCredential) — Required. A http access token with the
REPO_ADMIN
scope access.
#authorizer_credential=
def authorizer_credential=(value) -> ::Google::Cloud::Build::V2::UserCredential
Parameter
-
value (::Google::Cloud::Build::V2::UserCredential) — Required. A http access token with the
REPO_ADMIN
scope access.
Returns
-
(::Google::Cloud::Build::V2::UserCredential) — Required. A http access token with the
REPO_ADMIN
scope access.
#host_uri
def host_uri() -> ::String
Returns
- (::String) — Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.
#host_uri=
def host_uri=(value) -> ::String
Parameter
- value (::String) — Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.
Returns
- (::String) — Required. The URI of the Bitbucket Data Center instance or cluster this connection is for.
#read_authorizer_credential
def read_authorizer_credential() -> ::Google::Cloud::Build::V2::UserCredential
Returns
-
(::Google::Cloud::Build::V2::UserCredential) — Required. A http access token with the
REPO_READ
access.
#read_authorizer_credential=
def read_authorizer_credential=(value) -> ::Google::Cloud::Build::V2::UserCredential
Parameter
-
value (::Google::Cloud::Build::V2::UserCredential) — Required. A http access token with the
REPO_READ
access.
Returns
-
(::Google::Cloud::Build::V2::UserCredential) — Required. A http access token with the
REPO_READ
access.
#server_version
def server_version() -> ::String
Returns
-
(::String) — Output only. Version of the Bitbucket Data Center running on the
host_uri
.
#service_directory_config
def service_directory_config() -> ::Google::Cloud::Build::V2::ServiceDirectoryConfig
Returns
- (::Google::Cloud::Build::V2::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.
#service_directory_config=
def service_directory_config=(value) -> ::Google::Cloud::Build::V2::ServiceDirectoryConfig
Parameter
- value (::Google::Cloud::Build::V2::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.
Returns
- (::Google::Cloud::Build::V2::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
def ssl_ca() -> ::String
Returns
- (::String) — Optional. SSL certificate to use for requests to the Bitbucket Data Center.
#ssl_ca=
def ssl_ca=(value) -> ::String
Parameter
- value (::String) — Optional. SSL certificate to use for requests to the Bitbucket Data Center.
Returns
- (::String) — Optional. SSL certificate to use for requests to the Bitbucket Data Center.
#webhook_secret_secret_version
def webhook_secret_secret_version() -> ::String
Returns
-
(::String) — Required. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted as
projects/*/secrets/*/versions/*
.
#webhook_secret_secret_version=
def webhook_secret_secret_version=(value) -> ::String
Parameter
-
value (::String) — Required. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted as
projects/*/secrets/*/versions/*
.
Returns
-
(::String) — Required. Immutable. SecretManager resource containing the webhook secret
used to verify webhook events, formatted as
projects/*/secrets/*/versions/*
.