GroupProtectedEnvironmentApprovalRule

data class GroupProtectedEnvironmentApprovalRule(val accessLevel: String? = null, val accessLevelDescription: String? = null, val groupId: Int? = null, val groupInheritanceType: Int? = null, val id: Int? = null, val requiredApprovals: Int? = null, val userId: Int? = null)

Constructors

Link copied to clipboard
constructor(accessLevel: String? = null, accessLevelDescription: String? = null, groupId: Int? = null, groupInheritanceType: Int? = null, id: Int? = null, requiredApprovals: Int? = null, userId: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val accessLevel: String? = null

Levels of access allowed to approve a deployment to this protected environment. Mutually exclusive with user_id and group_id. Valid values are developer, maintainer.

Link copied to clipboard

Readable description of level of access.

Link copied to clipboard
val groupId: Int? = null

The ID of the group allowed to approve a deployment to this protected environment. TThe group must be a sub-group under the given group. Mutually exclusive with access_level and user_id.

Link copied to clipboard

Group inheritance allows access rules to take inherited group membership into account. Valid values are 0, 1. 0 => Direct group membership only, 1 => All inherited groups. Default: 0

Link copied to clipboard
val id: Int? = null

The unique ID of the Approval Rules object.

Link copied to clipboard
val requiredApprovals: Int? = null

The number of approval required to allow deployment to this protected environment. This is mutually exclusive with user_id.

Link copied to clipboard
val userId: Int? = null

The ID of the user allowed to approve a deployment to this protected environment. The user must be a member of the group with Maintainer role or higher. Mutually exclusive with access_level and group_id.