![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.github.BranchProtectionV3Args Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of github Show documentation
Show all versions of github Show documentation
A Pulumi package for creating and managing github cloud resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.github;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.github.inputs.BranchProtectionV3RequiredPullRequestReviewsArgs;
import com.pulumi.github.inputs.BranchProtectionV3RequiredStatusChecksArgs;
import com.pulumi.github.inputs.BranchProtectionV3RestrictionsArgs;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class BranchProtectionV3Args extends com.pulumi.resources.ResourceArgs {
public static final BranchProtectionV3Args Empty = new BranchProtectionV3Args();
/**
* The Git branch to protect.
*
*/
@Import(name="branch", required=true)
private Output branch;
/**
* @return The Git branch to protect.
*
*/
public Output branch() {
return this.branch;
}
/**
* Boolean, setting this to `true` enforces status checks for repository administrators.
*
*/
@Import(name="enforceAdmins")
private @Nullable Output enforceAdmins;
/**
* @return Boolean, setting this to `true` enforces status checks for repository administrators.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy