Class GitLabConfig (3.24.0)

GitLabConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for connections to gitlab.com or an instance of GitLab Enterprise.

Attributes

NameDescription
host_uri str
The URI of the GitLab Enterprise host this connection is for. If not specified, the default value is https://gitlab.com.
webhook_secret_secret_version str
Required. Immutable. SecretManager resource containing the webhook secret of a GitLab Enterprise project, formatted as projects/*/secrets/*/versions/*.
read_authorizer_credential google.cloud.devtools.cloudbuild_v2.types.UserCredential
Required. A GitLab personal access token with the minimum read_api scope access.
authorizer_credential google.cloud.devtools.cloudbuild_v2.types.UserCredential
Required. A GitLab personal access token with the api scope access.
service_directory_config google.cloud.devtools.cloudbuild_v2.types.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.
ssl_ca str
SSL certificate to use for requests to GitLab Enterprise.
server_version str
Output only. Version of the GitLab Enterprise server running on the host_uri.