Interface UpdatePolicyRequestOrBuilder (2.29.0)

public interface UpdatePolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPolicy()

public abstract Policy getPolicy()

Required. Policy to update.

.google.cloud.orgpolicy.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Policy

The policy.

getPolicyOrBuilder()

public abstract PolicyOrBuilder getPolicyOrBuilder()

Required. Policy to update.

.google.cloud.orgpolicy.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
PolicyOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasPolicy()

public abstract boolean hasPolicy()

Required. Policy to update.

.google.cloud.orgpolicy.v2.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the policy field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Field mask used to specify the fields to be overwritten in the policy by the set. The fields specified in the update_mask are relative to the policy, not the full request.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
boolean

Whether the updateMask field is set.