ProjectTargetBranchRuleArgs

data class ProjectTargetBranchRuleArgs(val project: Output<String>? = null, val sourceBranchPattern: Output<String>? = null, val targetBranchName: Output<String>? = null) : ConvertibleToJava<ProjectTargetBranchRuleArgs>

The gitlab.ProjectTargetBranchRule resource allows to configure default target branch rules when creating a merge request. Upstream API: GitLab GraphQL API docs

Constructors

Link copied to clipboard
constructor(project: Output<String>? = null, sourceBranchPattern: Output<String>? = null, targetBranchName: Output<String>? = null)

Properties

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

The ID or URL-encoded path of the project.

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

A pattern matching the branch name for which the merge request should have a default target branch configured.

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

The name of the branch to which the merge request should be addressed.

Functions

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