# v1alpha1PullRequestGeneratorGitLab

Type: object

PullRequestGeneratorGitLab defines connection info specific to GitLab.

Schema: [v1alpha1PullRequestGeneratorGitLab](https://sourcey-argocd.pages.dev/api/models/v1alpha1pullrequestgeneratorgitlab/index.md)

- `api` (optional)
  Type: string
  
  The GitLab API URL to talk to. If blank, uses https://gitlab.com/.

- `caRef` (optional)
  Reference: [v1alpha1ConfigMapKeyRef](https://sourcey-argocd.pages.dev/api/models/v1alpha1configmapkeyref/index.md); Type: object
  
  ConfigMapKeyRef struct for a reference to a configmap key.

- `insecure` (optional)
  Type: boolean

- `labels` (optional)
  Type: array
  
  Items:
    Type: string

- `project` (optional)
  Type: string
  
  GitLab project to scan. Required.

- `pullRequestState` (optional)
  Type: string
  
  PullRequestState is an additional MRs filter to get only those with a certain state. Default: "" (all states).
  Valid values: opened, closed, merged, locked".

- `tokenRef` (optional)
  Reference: [v1alpha1SecretRef](https://sourcey-argocd.pages.dev/api/models/v1alpha1secretref/index.md); Type: object
  
  SecretRef struct for a reference to a secret key.