Interface OrgPolicyOverlay.CustomConstraintOverlayOrBuilder (0.49.0)

public static interface OrgPolicyOverlay.CustomConstraintOverlayOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomConstraint()

public abstract CustomConstraint getCustomConstraint()

Optional. The new or updated custom constraint.

.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.orgpolicy.v2.CustomConstraint

The customConstraint.

getCustomConstraintOrBuilder()

public abstract CustomConstraintOrBuilder getCustomConstraintOrBuilder()

Optional. The new or updated custom constraint.

.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.cloud.orgpolicy.v2.CustomConstraintOrBuilder

getCustomConstraintParent()

public abstract String getCustomConstraintParent()

Optional. Resource the constraint is attached to. Example: "organization/987654"

string custom_constraint_parent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The customConstraintParent.

getCustomConstraintParentBytes()

public abstract ByteString getCustomConstraintParentBytes()

Optional. Resource the constraint is attached to. Example: "organization/987654"

string custom_constraint_parent = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for customConstraintParent.

hasCustomConstraint()

public abstract boolean hasCustomConstraint()

Optional. The new or updated custom constraint.

.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the customConstraint field is set.