Interface PrincipalAccessBoundaryPolicyDetailsOrBuilder (1.52.0)

public interface PrincipalAccessBoundaryPolicyDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnforcementVersion()

public abstract String getEnforcementVersion()

Optional. The version number (for example, 1 or latest) that indicates which permissions are able to be blocked by the policy. If empty, the PAB policy version will be set to the most recent version number at the time of the policy's creation.

string enforcement_version = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The enforcementVersion.

getEnforcementVersionBytes()

public abstract ByteString getEnforcementVersionBytes()

Optional. The version number (for example, 1 or latest) that indicates which permissions are able to be blocked by the policy. If empty, the PAB policy version will be set to the most recent version number at the time of the policy's creation.

string enforcement_version = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for enforcementVersion.

getRules(int index)

public abstract PrincipalAccessBoundaryPolicyRule getRules(int index)

Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.

repeated .google.iam.v3beta.PrincipalAccessBoundaryPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PrincipalAccessBoundaryPolicyRule

getRulesCount()

public abstract int getRulesCount()

Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.

repeated .google.iam.v3beta.PrincipalAccessBoundaryPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRulesList()

public abstract List<PrincipalAccessBoundaryPolicyRule> getRulesList()

Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.

repeated .google.iam.v3beta.PrincipalAccessBoundaryPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<PrincipalAccessBoundaryPolicyRule>

getRulesOrBuilder(int index)

public abstract PrincipalAccessBoundaryPolicyRuleOrBuilder getRulesOrBuilder(int index)

Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.

repeated .google.iam.v3beta.PrincipalAccessBoundaryPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PrincipalAccessBoundaryPolicyRuleOrBuilder

getRulesOrBuilderList()

public abstract List<? extends PrincipalAccessBoundaryPolicyRuleOrBuilder> getRulesOrBuilderList()

Required. A list of principal access boundary policy rules. The number of rules in a policy is limited to 500.

repeated .google.iam.v3beta.PrincipalAccessBoundaryPolicyRule rules = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.iam.v3beta.PrincipalAccessBoundaryPolicyRuleOrBuilder>