#[non_exhaustive]pub struct GitLabConfig {
pub webhook_secret_secret_version: String,
pub read_authorizer_credential: Option<UserCredential>,
pub authorizer_credential: Option<UserCredential>,
/* private fields */
}Expand description
Configuration for connections to gitlab.com.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.webhook_secret_secret_version: StringRequired. Immutable. SecretManager resource containing the webhook secret
of a GitLab project, formatted as projects/*/secrets/*/versions/*. This
is used to validate webhooks.
Required. A GitLab personal access token with the minimum read_api scope
access and a minimum role of reporter. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
Required. A GitLab personal access token with the minimum api scope
access and a minimum role of maintainer. The GitLab Projects visible to
this Personal Access Token will control which Projects Developer Connect
has access to.
Implementations§
Source§impl GitLabConfig
impl GitLabConfig
pub fn new() -> Self
Sourcepub fn set_webhook_secret_secret_version<T: Into<String>>(self, v: T) -> Self
pub fn set_webhook_secret_secret_version<T: Into<String>>(self, v: T) -> Self
Sets the value of webhook_secret_secret_version.
Sets the value of read_authorizer_credential.
Sets or clears the value of read_authorizer_credential.
Sets the value of authorizer_credential.
Sets or clears the value of authorizer_credential.
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 more