Interface UpdateCustomConstraintRequestOrBuilder (2.46.0)

public interface UpdateCustomConstraintRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCustomConstraint()

public abstract CustomConstraint getCustomConstraint()

Required. CustomConstraint to update.

.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomConstraint

The customConstraint.

getCustomConstraintOrBuilder()

public abstract CustomConstraintOrBuilder getCustomConstraintOrBuilder()

Required. CustomConstraint to update.

.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CustomConstraintOrBuilder

hasCustomConstraint()

public abstract boolean hasCustomConstraint()

Required. CustomConstraint to update.

.google.cloud.orgpolicy.v2.CustomConstraint custom_constraint = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the customConstraint field is set.