GroupPushRulesArgs

data class GroupPushRulesArgs(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<GroupPushRulesArgs>

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

Only commits pushed using verified emails are allowed. Note This attribute is only supported in GitLab versions >= 16.4.

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

Filenames matching the regular expression provided in this attribute are not allowed, for example, (jar|exe)$.

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

Maximum file size (MB) allowed.

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

Allows only GitLab users to author commits.

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

Only commits signed through GPG are allowed. Note This attribute is only supported in GitLab versions >= 16.4. */

Functions

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