View Source GoogleApi.DeveloperConnect.V1.Model.GitLabEnterpriseConfig (google_api_developer_connect v0.5.0)

Configuration for connections to an instance of GitLab Enterprise.

Attributes

  • authorizerCredential (type: GoogleApi.DeveloperConnect.V1.Model.UserCredential.t, default: nil) - 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.
  • hostUri (type: String.t, default: nil) - Required. The URI of the GitLab Enterprise host this connection is for.
  • readAuthorizerCredential (type: GoogleApi.DeveloperConnect.V1.Model.UserCredential.t, default: nil) - 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.
  • serverVersion (type: String.t, default: nil) - Output only. Version of the GitLab Enterprise server running on the host_uri.
  • serviceDirectoryConfig (type: GoogleApi.DeveloperConnect.V1.Model.ServiceDirectoryConfig.t, default: nil) - Optional. Configuration for using Service Directory to privately connect to a GitLab Enterprise instance. 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.
  • sslCaCertificate (type: String.t, default: nil) - Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
  • webhookSecretSecretVersion (type: String.t, default: nil) - Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project, formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DeveloperConnect.V1.Model.GitLabEnterpriseConfig{
  authorizerCredential:
    GoogleApi.DeveloperConnect.V1.Model.UserCredential.t() | nil,
  hostUri: String.t() | nil,
  readAuthorizerCredential:
    GoogleApi.DeveloperConnect.V1.Model.UserCredential.t() | nil,
  serverVersion: String.t() | nil,
  serviceDirectoryConfig:
    GoogleApi.DeveloperConnect.V1.Model.ServiceDirectoryConfig.t() | nil,
  sslCaCertificate: String.t() | nil,
  webhookSecretSecretVersion: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.