View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivityArgumentEvalPolicy (google_api_content_warehouse v0.4.0)

Policy controlling argument level eval.

Attributes

  • policyName (type: String.t, default: nil) - Optional cannery policy name. If it presents then Intent Scrubber will use the corresponding Cannery rule for argument scrubbing and redaction instead. It should only be used for existing complex argment value types such as HomeAutomationDevice.
  • redactQuerySpan (type: boolean(), default: nil) - Redact corresponding span of the string query.
  • replacement (type: String.t, default: nil) - Customized replacement phrase, if missing ${ArgumentName}_REDACTED is used as default.
  • scrubArgumentValue (type: boolean(), default: nil) - Scrub argument value and signals before saving to eval storage. If not set, 1) inherit the policy from the outer argument if there is one (for nested intents); 2) finally default to type based scrubbing: see go/argument-type-scrubbing.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersSensitivityArgumentEvalPolicy{
    policyName: String.t() | nil,
    redactQuerySpan: boolean() | nil,
    replacement: String.t() | nil,
    scrubArgumentValue: boolean() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.