Interface OrgPolicyConstraintOrBuilder (0.6.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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.securityposture.v1.PolicyRuleOrBuilder>