pub struct GitHubEnterpriseConfig {
pub app_id: Option<i64>,
pub create_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub host_url: Option<String>,
pub name: Option<String>,
pub peered_network: Option<String>,
pub secrets: Option<GitHubEnterpriseSecrets>,
pub ssl_ca: Option<String>,
pub webhook_key: Option<String>,
}
Expand description
GitHubEnterpriseConfig represents a configuration for a GitHub Enterprise server.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- github enterprise configs create projects (request)
- github enterprise configs get projects (response)
- github enterprise configs patch projects (request)
- locations github enterprise configs create projects (request)
- locations github enterprise configs get projects (response)
- locations github enterprise configs patch projects (request)
Fields§
§app_id: Option<i64>
Required. The GitHub app id of the Cloud Build app on the GitHub Enterprise server.
create_time: Option<DateTime<Utc>>
Output only. Time when the installation was associated with the project.
display_name: Option<String>
Optional. Name to display for this config.
host_url: Option<String>
The URL of the github enterprise host the configuration is for.
name: Option<String>
The full resource name for the GitHubEnterpriseConfig For example: “projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}”
peered_network: Option<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>
Optional. Names of secrets in Secret Manager.
ssl_ca: Option<String>
Optional. SSL certificate to use for requests to GitHub Enterprise.
webhook_key: Option<String>
The key that should be attached to webhook calls to the ReceiveWebhook endpoint.
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§fn default() -> GitHubEnterpriseConfig
fn default() -> GitHubEnterpriseConfig
Source§impl<'de> Deserialize<'de> for GitHubEnterpriseConfig
impl<'de> Deserialize<'de> for GitHubEnterpriseConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for GitHubEnterpriseConfig
impl Serialize for GitHubEnterpriseConfig
impl RequestValue for GitHubEnterpriseConfig
impl ResponseResult 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more