public sealed class UpdatePolicyRequest : IMessage<UpdatePolicyRequest>, IEquatable<UpdatePolicyRequest>, IDeepCloneable<UpdatePolicyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class UpdatePolicyRequest.
The request message to update a policy.
Implements
IMessageUpdatePolicyRequest, IEquatableUpdatePolicyRequest, IDeepCloneableUpdatePolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.RecaptchaEnterprise.V1Assembly
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 |
|