Google Cloud Data Loss Prevention v2 API - Class ContentPolicy.Types.PolicyAction (4.27.0)

public sealed class ContentPolicy.Types.PolicyAction : IMessage<ContentPolicy.Types.PolicyAction>, IEquatable<ContentPolicy.Types.PolicyAction>, IDeepCloneable<ContentPolicy.Types.PolicyAction>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > ContentPolicy.Types.PolicyAction

Namespace

Google.Cloud.Dlp.V2

Assembly

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