Google Cloud reCAPTCHA Enterprise v1 API - Class UpdatePolicyRequest (2.21.0)

public sealed class UpdatePolicyRequest : IMessage<UpdatePolicyRequest>, IEquatable<UpdatePolicyRequest>, IDeepCloneable<UpdatePolicyRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class UpdatePolicyRequest.

The request message to update a policy.

Inheritance

object > UpdatePolicyRequest

Namespace

Google.Cloud.RecaptchaEnterprise.V1

Assembly

Google.Cloud.RecaptchaEnterprise.V1.dll

Constructors

UpdatePolicyRequest()

public UpdatePolicyRequest()

UpdatePolicyRequest(UpdatePolicyRequest)

public UpdatePolicyRequest(UpdatePolicyRequest other)
Parameter
Name Description
other UpdatePolicyRequest

Properties

Policy

public Policy Policy { get; set; }

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

Property Value
Type Description
Policy

UpdateMask

public FieldMask UpdateMask { get; set; }

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

Property Value
Type Description
FieldMask