Struct google_api_proto::google::devtools::cloudbuild::v2::BitbucketDataCenterConfig
source · pub struct BitbucketDataCenterConfig {
pub host_uri: String,
pub webhook_secret_secret_version: String,
pub read_authorizer_credential: Option<UserCredential>,
pub authorizer_credential: Option<UserCredential>,
pub service_directory_config: Option<ServiceDirectoryConfig>,
pub ssl_ca: String,
pub server_version: String,
}
Expand description
Configuration for connections to Bitbucket Data Center.
Fields§
§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/*
.
Required. A http access token with the REPO_READ
access.
Required. A http access token with the REPO_ADMIN
scope access.
service_directory_config: Option<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
.
Trait Implementations§
source§impl Clone for BitbucketDataCenterConfig
impl Clone for BitbucketDataCenterConfig
source§fn clone(&self) -> BitbucketDataCenterConfig
fn clone(&self) -> BitbucketDataCenterConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BitbucketDataCenterConfig
impl Debug for BitbucketDataCenterConfig
source§impl Default for BitbucketDataCenterConfig
impl Default for BitbucketDataCenterConfig
source§impl Message for BitbucketDataCenterConfig
impl Message for BitbucketDataCenterConfig
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for BitbucketDataCenterConfig
impl PartialEq for BitbucketDataCenterConfig
source§fn eq(&self, other: &BitbucketDataCenterConfig) -> bool
fn eq(&self, other: &BitbucketDataCenterConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BitbucketDataCenterConfig
Auto Trait Implementations§
impl Freeze for BitbucketDataCenterConfig
impl RefUnwindSafe for BitbucketDataCenterConfig
impl Send for BitbucketDataCenterConfig
impl Sync for BitbucketDataCenterConfig
impl Unpin for BitbucketDataCenterConfig
impl UnwindSafe for BitbucketDataCenterConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request