Struct google_api_proto::google::devtools::cloudbuild::v2::GitHubEnterpriseConfig
source · pub struct GitHubEnterpriseConfig {
pub host_uri: String,
pub api_key: String,
pub app_id: i64,
pub app_slug: String,
pub private_key_secret_version: String,
pub webhook_secret_secret_version: String,
pub app_installation_id: i64,
pub service_directory_config: Option<ServiceDirectoryConfig>,
pub ssl_ca: String,
pub server_version: String,
}
Expand description
Configuration for connections to an instance of GitHub Enterprise.
Fields§
§host_uri: String
Required. The URI of the GitHub Enterprise host this connection is for.
api_key: String
Required. API Key used for authentication of webhook events.
app_id: i64
Id of the GitHub App created from the manifest.
app_slug: String
The URL-friendly name of the GitHub App.
private_key_secret_version: String
SecretManager resource containing the private key of the GitHub App,
formatted as projects/*/secrets/*/versions/*
.
webhook_secret_secret_version: String
SecretManager resource containing the webhook secret of the GitHub App,
formatted as projects/*/secrets/*/versions/*
.
app_installation_id: i64
ID of the installation of the GitHub App.
service_directory_config: Option<ServiceDirectoryConfig>
Configuration for using Service Directory to privately connect to a GitHub Enterprise server. This should only be set if the GitHub Enterprise server is hosted on-premises and not reachable by public internet. If this field is left empty, calls to the GitHub Enterprise server will be made over the public internet.
ssl_ca: String
SSL certificate to use for requests to GitHub Enterprise.
server_version: String
Output only. GitHub Enterprise version installed at the host_uri.
Trait Implementations§
source§impl Clone for GitHubEnterpriseConfig
impl Clone for GitHubEnterpriseConfig
source§fn clone(&self) -> GitHubEnterpriseConfig
fn clone(&self) -> GitHubEnterpriseConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GitHubEnterpriseConfig
impl Debug for GitHubEnterpriseConfig
source§impl Default for GitHubEnterpriseConfig
impl Default for GitHubEnterpriseConfig
source§impl Message for GitHubEnterpriseConfig
impl Message for GitHubEnterpriseConfig
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 GitHubEnterpriseConfig
impl PartialEq for GitHubEnterpriseConfig
source§fn eq(&self, other: &GitHubEnterpriseConfig) -> bool
fn eq(&self, other: &GitHubEnterpriseConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GitHubEnterpriseConfig
Auto Trait Implementations§
impl Freeze for GitHubEnterpriseConfig
impl RefUnwindSafe for GitHubEnterpriseConfig
impl Send for GitHubEnterpriseConfig
impl Sync for GitHubEnterpriseConfig
impl Unpin for GitHubEnterpriseConfig
impl UnwindSafe for GitHubEnterpriseConfig
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