public sealed class UpdateContentPolicyRequest : IMessage<UpdateContentPolicyRequest>, IEquatable<UpdateContentPolicyRequest>, IDeepCloneable<UpdateContentPolicyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class UpdateContentPolicyRequest.
Request message for UpdateContentPolicy.
Implements
IMessageUpdateContentPolicyRequest, IEquatableUpdateContentPolicyRequest, IDeepCloneableUpdateContentPolicyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
UpdateContentPolicyRequest()
public UpdateContentPolicyRequest()UpdateContentPolicyRequest(UpdateContentPolicyRequest)
public UpdateContentPolicyRequest(UpdateContentPolicyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateContentPolicyRequest |
Properties
ContentPolicy
public ContentPolicy ContentPolicy { get; set; }Required. The content_policy with new values for the relevant fields.
| Property Value | |
|---|---|
| Type | Description |
ContentPolicy |
|
ContentPolicyName
public ContentPolicyName ContentPolicyName { get; set; }ContentPolicyName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
ContentPolicyName |
|
Name
public string Name { get; set; }Required. Resource name in the format:
projects/{project}/locations/{location}/contentPolicies/{content_policy}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UpdateMask
public FieldMask UpdateMask { get; set; }Optional. Mask to control which fields get updated.
| Property Value | |
|---|---|
| Type | Description |
FieldMask |
|