Interface OrgPolicyConstraintOrBuilder (0.11.0)

public interface OrgPolicyConstraintOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCannedConstraintId()

public abstract String getCannedConstraintId()

Required. Org Policy Canned Constraint id.

string canned_constraint_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The cannedConstraintId.

getCannedConstraintIdBytes()

public abstract ByteString getCannedConstraintIdBytes()

Required. Org Policy Canned Constraint id.

string canned_constraint_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for cannedConstraintId.

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>