get Project Protected Branches
suspend fun getProjectProtectedBranches(argument: GetProjectProtectedBranchesPlainArgs): GetProjectProtectedBranchesResult
The gitlab.getProjectProtectedBranches
data source allows details of the protected branches of a given project. Upstream API: GitLab REST API docs
Return
A collection of values returned by getProjectProtectedBranches.
Parameters
argument
A collection of arguments for invoking getProjectProtectedBranches.
suspend fun getProjectProtectedBranches(projectId: String, protectedBranches: List<GetProjectProtectedBranchesProtectedBranch>? = null): GetProjectProtectedBranchesResult
Return
A collection of values returned by getProjectProtectedBranches.
Parameters
project Id
The integer or path with namespace that uniquely identifies the project.
protected Branches
A list of protected branches, as defined below.
See also
suspend fun getProjectProtectedBranches(argument: suspend GetProjectProtectedBranchesPlainArgsBuilder.() -> Unit): GetProjectProtectedBranchesResult
Return
A collection of values returned by getProjectProtectedBranches.
Parameters
argument
Builder for com.pulumi.gitlab.kotlin.inputs.GetProjectProtectedBranchesPlainArgs.