Interface UpdatePolicyRequestOrBuilder (0.3.0)

public interface UpdatePolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPolicy()

public abstract Policy getPolicy()

Required. The policy to update.

.google.cloud.designcenter.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Policy

The policy.

getPolicyOrBuilder()

public abstract PolicyOrBuilder getPolicyOrBuilder()

Required. The policy to update.

.google.cloud.designcenter.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PolicyOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasPolicy()

public abstract boolean hasPolicy()

Required. The policy to update.

.google.cloud.designcenter.v1.Policy policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the policy field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. The fields to overwrite in the policy update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.