Interface UpdatePolicyRequestOrBuilder (3.96.0)

public interface UpdatePolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPolicy()

public abstract Policy getPolicy()

Required. The Policy's name is used to identify the policy to update, in the format projects/{project}/keys/{key}/policy.

.google.cloud.recaptchaenterprise.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Policy

The policy.

getPolicyOrBuilder()

public abstract PolicyOrBuilder getPolicyOrBuilder()

Required. The Policy's name is used to identify the policy to update, in the format projects/{project}/keys/{key}/policy.

.google.cloud.recaptchaenterprise.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PolicyOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated.

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

Returns
Type Description
FieldMaskOrBuilder

hasPolicy()

public abstract boolean hasPolicy()

Required. The Policy's name is used to identify the policy to update, in the format projects/{project}/keys/{key}/policy.

.google.cloud.recaptchaenterprise.v1.Policy policy = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the policy field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated.

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

Returns
Type Description
boolean

Whether the updateMask field is set.