Interface OrgPolicyConstraintCustomOrBuilder (0.9.0)

public interface OrgPolicyConstraintCustomOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomConstraint()

public abstract CustomConstraint getCustomConstraint()

Required. Org Policy Custom Constraint.

.google.cloud.securityposture.v1.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomConstraint

The customConstraint.

getCustomConstraintOrBuilder()

public abstract CustomConstraintOrBuilder getCustomConstraintOrBuilder()

Required. Org Policy Custom Constraint.

.google.cloud.securityposture.v1.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomConstraintOrBuilder

getPolicyRules(int index)

public abstract PolicyRule getPolicyRules(int index)

Required. Org Policyspec rules.

repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PolicyRule

getPolicyRulesCount()

public abstract int getPolicyRulesCount()

Required. Org Policyspec rules.

repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPolicyRulesList()

public abstract List<PolicyRule> getPolicyRulesList()

Required. Org Policyspec rules.

repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<PolicyRule>

getPolicyRulesOrBuilder(int index)

public abstract PolicyRuleOrBuilder getPolicyRulesOrBuilder(int index)

Required. Org Policyspec rules.

repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PolicyRuleOrBuilder

getPolicyRulesOrBuilderList()

public abstract List<? extends PolicyRuleOrBuilder> getPolicyRulesOrBuilderList()

Required. Org Policyspec rules.

repeated .google.cloud.securityposture.v1.PolicyRule policy_rules = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.securityposture.v1.PolicyRuleOrBuilder>

hasCustomConstraint()

public abstract boolean hasCustomConstraint()

Required. Org Policy Custom Constraint.

.google.cloud.securityposture.v1.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the customConstraint field is set.