Struct google_api_proto::google::devtools::cloudbuild::v2::GitLabConfig
source · pub struct GitLabConfig {
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 gitlab.com or an instance of GitLab Enterprise.
Fields§
§host_uri: String
The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.
webhook_secret_secret_version: String
Required. Immutable. SecretManager resource containing the webhook secret
of a GitLab Enterprise project, formatted as
projects/*/secrets/*/versions/*
.
Required. A GitLab personal access token with the minimum read_api
scope
access.
Required. A GitLab personal access token with the api
scope access.
service_directory_config: Option<ServiceDirectoryConfig>
Configuration for using Service Directory to privately connect to a GitLab Enterprise server. This should only be set if the GitLab Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitLab Enterprise server will be made over the public internet.
ssl_ca: String
SSL certificate to use for requests to GitLab Enterprise.
server_version: String
Output only. Version of the GitLab Enterprise server running on the
host_uri
.
Trait Implementations§
source§impl Clone for GitLabConfig
impl Clone for GitLabConfig
source§fn clone(&self) -> GitLabConfig
fn clone(&self) -> GitLabConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GitLabConfig
impl Debug for GitLabConfig
source§impl Default for GitLabConfig
impl Default for GitLabConfig
source§impl Message for GitLabConfig
impl Message for GitLabConfig
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 GitLabConfig
impl PartialEq for GitLabConfig
source§fn eq(&self, other: &GitLabConfig) -> bool
fn eq(&self, other: &GitLabConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GitLabConfig
Auto Trait Implementations§
impl Freeze for GitLabConfig
impl RefUnwindSafe for GitLabConfig
impl Send for GitLabConfig
impl Sync for GitLabConfig
impl Unpin for GitLabConfig
impl UnwindSafe for GitLabConfig
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