ConnectionGitlabConfig constructor
- required Input<
ConnectionGitlabConfigAuthorizerCredential> authorizerCredential, - Input<
String?> ? hostUri, - required Input<
ConnectionGitlabConfigReadAuthorizerCredential> readAuthorizerCredential, - Input<
String?> ? serverVersion, - Input<
ConnectionGitlabConfigServiceDirectoryConfig?> ? serviceDirectoryConfig, - Input<
String?> ? sslCa, - required Input<
String> webhookSecretSecretVersion,
Creates a new ConnectionGitlabConfig.
authorizerCredential Required. A GitLab personal access token with the api scope access.
hostUri The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.
readAuthorizerCredential Required. A GitLab personal access token with the minimum readApi scope access.
serverVersion (Output)
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.
sslCa SSL certificate to use for requests to GitLab Enterprise.
webhookSecretSecretVersion Required. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project, formatted as projects/*/secrets/*/versions/*.
Implementation
const ConnectionGitlabConfig({
required this.authorizerCredential,
this.hostUri,
required this.readAuthorizerCredential,
this.serverVersion,
this.serviceDirectoryConfig,
this.sslCa,
required this.webhookSecretSecretVersion,
});