Struct google_api_proto::google::devtools::cloudbuild::v1::GitHubEnterpriseConfig
source · pub struct GitHubEnterpriseConfig {
pub name: String,
pub host_url: String,
pub app_id: i64,
pub create_time: Option<Timestamp>,
pub webhook_key: String,
pub peered_network: String,
pub secrets: Option<GitHubEnterpriseSecrets>,
pub display_name: String,
pub ssl_ca: String,
}
Fields§
§name: String
Optional. The full resource name for the GitHubEnterpriseConfig For example: “projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}”
host_url: String
The URL of the github enterprise host the configuration is for.
app_id: i64
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
create_time: Option<Timestamp>
Output only. Time when the installation was associated with the project.
webhook_key: String
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
peered_network: String
Optional. The network to be used when reaching out to the GitHub
Enterprise server. The VPC network must be enabled for private
service connection. This should be set if the GitHub Enterprise server is
hosted on-premises and not reachable by public internet.
If this field is left empty, no network peering will occur and calls to
the GitHub Enterprise server will be made over the public internet.
Must be in the format
projects/{project}/global/networks/{network}
, where {project}
is a project number or id and {network} is the name of a
VPC network in the project.
secrets: Option<GitHubEnterpriseSecrets>
Names of secrets in Secret Manager.
display_name: String
Name to display for this config.
ssl_ca: String
Optional. SSL certificate to use for requests to GitHub Enterprise.
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