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

Configuration for connections to gitlab.com.

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.
  • 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.
  • 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.GitLabConfig{
  authorizerCredential:
    GoogleApi.DeveloperConnect.V1.Model.UserCredential.t() | nil,
  readAuthorizerCredential:
    GoogleApi.DeveloperConnect.V1.Model.UserCredential.t() | nil,
  webhookSecretSecretVersion: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.