BranchRuleState constructor
- Input<
bool?> ? allowStaleReviews, - Input<
String?> ? branchRuleId, - Input<
String?> ? createTime, - Input<
String?> ? deletionPolicy, - Input<
bool?> ? disabled, - Input<
String?> ? includePattern, - Input<
String?> ? location, - Input<
int?> ? minimumApprovalsCount, - Input<
int?> ? minimumReviewsCount, - Input<
String?> ? name, - Input<
String?> ? project, - Input<
String?> ? repositoryId, - Input<
bool?> ? requireCommentsResolved, - Input<
bool?> ? requireLinearHistory, - Input<
bool?> ? requirePullRequest, - Input<
String?> ? uid, - Input<
String?> ? updateTime,
Creates a new BranchRuleState.
allowStaleReviews Determines if allow stale reviews or approvals before merging to the branch.
branchRuleId The ID for the BranchRule.
createTime Time the BranchRule was created in UTC.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
disabled Determines if the branch rule is disabled or not.
includePattern The BranchRule matches branches based on the specified regular expression. Use .* to match all branches.
location The location for the Repository.
minimumApprovalsCount The minimum number of approvals required for the branch rule to be matched.
minimumReviewsCount The minimum number of reviews required for the branch rule to be matched.
name The resource name for the BranchRule.
project The ID of the project in which the resource belongs.
repositoryId The ID for the Repository.
requireCommentsResolved Determines if require comments resolved before merging to the branch.
requireLinearHistory Determines if require linear history before merging to the branch.
requirePullRequest Determines if the branch rule requires a pull request or not.
uid Unique identifier of the BranchRule.
updateTime Time the BranchRule was updated in UTC.
Implementation
const BranchRuleState({
this.allowStaleReviews,
this.branchRuleId,
this.createTime,
this.deletionPolicy,
this.disabled,
this.includePattern,
this.location,
this.minimumApprovalsCount,
this.minimumReviewsCount,
this.name,
this.project,
this.repositoryId,
this.requireCommentsResolved,
this.requireLinearHistory,
this.requirePullRequest,
this.uid,
this.updateTime,
});