Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::ContentPolicy::PolicyAction.
A possible action to take when applying a content policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#return_verdict
def return_verdict() -> ::Google::Cloud::Dlp::V2::ContentPolicyVerdict
Returns
- (::Google::Cloud::Dlp::V2::ContentPolicyVerdict) — Optional. If set, the verdict will be returned to the user.
#return_verdict=
def return_verdict=(value) -> ::Google::Cloud::Dlp::V2::ContentPolicyVerdict
Parameter
- value (::Google::Cloud::Dlp::V2::ContentPolicyVerdict) — Optional. If set, the verdict will be returned to the user.
Returns
- (::Google::Cloud::Dlp::V2::ContentPolicyVerdict) — Optional. If set, the verdict will be returned to the user.