public sealed class ContentPolicy.Types.PolicyAction : IMessage<ContentPolicy.Types.PolicyAction>, IEquatable<ContentPolicy.Types.PolicyAction>, IDeepCloneable<ContentPolicy.Types.PolicyAction>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class ContentPolicy.Types.PolicyAction.
A possible action to take when applying a content policy.
Implements
IMessageContentPolicyTypesPolicyAction, IEquatableContentPolicyTypesPolicyAction, IDeepCloneableContentPolicyTypesPolicyAction, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
Google.Cloud.Dlp.V2.dll
Constructors
PolicyAction()
public PolicyAction()PolicyAction(PolicyAction)
public PolicyAction(ContentPolicy.Types.PolicyAction other)| Parameter | |
|---|---|
| Name | Description |
other |
ContentPolicyTypesPolicyAction |
Properties
ActionCase
public ContentPolicy.Types.PolicyAction.ActionOneofCase ActionCase { get; }| Property Value | |
|---|---|
| Type | Description |
ContentPolicyTypesPolicyActionActionOneofCase |
|
HasReturnVerdict
public bool HasReturnVerdict { get; }Gets whether the "return_verdict" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ReturnVerdict
public ContentPolicyVerdict ReturnVerdict { get; set; }Optional. If set, the verdict will be returned to the user.
| Property Value | |
|---|---|
| Type | Description |
ContentPolicyVerdict |
|