ProjectPushRulesArgs

data class ProjectPushRulesArgs(val authorEmailRegex: Output<String>? = null, val branchNameRegex: Output<String>? = null, val commitCommitterCheck: Output<Boolean>? = null, val commitMessageNegativeRegex: Output<String>? = null, val commitMessageRegex: Output<String>? = null, val denyDeleteTag: Output<Boolean>? = null, val fileNameRegex: Output<String>? = null, val maxFileSize: Output<Int>? = null, val memberCheck: Output<Boolean>? = null, val preventSecrets: Output<Boolean>? = null, val rejectUnsignedCommits: Output<Boolean>? = null) : ConvertibleToJava<ProjectPushRulesArgs>

Constructors

Link copied to clipboard
constructor(authorEmailRegex: Output<String>? = null, branchNameRegex: Output<String>? = null, commitCommitterCheck: Output<Boolean>? = null, commitMessageNegativeRegex: Output<String>? = null, commitMessageRegex: Output<String>? = null, denyDeleteTag: Output<Boolean>? = null, fileNameRegex: Output<String>? = null, maxFileSize: Output<Int>? = null, memberCheck: Output<Boolean>? = null, preventSecrets: Output<Boolean>? = null, rejectUnsignedCommits: Output<Boolean>? = null)

Properties

Link copied to clipboard
val authorEmailRegex: Output<String>? = null

All commit author emails must match this regex, e.g. @my-company.com$.

Link copied to clipboard
val branchNameRegex: Output<String>? = null

All branch names must match this regex, e.g. (feature|hotfix)\/*.

Link copied to clipboard
val commitCommitterCheck: Output<Boolean>? = null

Users can only push commits to this repository that were committed with one of their own verified emails.

Link copied to clipboard
val commitMessageNegativeRegex: Output<String>? = null

No commit message is allowed to match this regex, for example ssh\:\/\/.

Link copied to clipboard
val commitMessageRegex: Output<String>? = null

All commit messages must match this regex, e.g. Fixed \d+\..*.

Link copied to clipboard
val denyDeleteTag: Output<Boolean>? = null

Deny deleting a tag.

Link copied to clipboard
val fileNameRegex: Output<String>? = null

All committed filenames must not match this regex, e.g. (jar|exe)$.

Link copied to clipboard
val maxFileSize: Output<Int>? = null

Maximum file size (MB).

Link copied to clipboard
val memberCheck: Output<Boolean>? = null

Restrict commits by author (email) to existing GitLab users.

Link copied to clipboard
val preventSecrets: Output<Boolean>? = null

GitLab will reject any files that are likely to contain secrets.

Link copied to clipboard
val rejectUnsignedCommits: Output<Boolean>? = null

Reject commit when it’s not signed through GPG. */

Functions

Link copied to clipboard
open override fun toJava(): ProjectPushRulesArgs