View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRequestResponseTakedownResult (google_api_ai_platform v0.3.0)

Attributes

  • allowed (type: boolean(), default: nil) - False when response has to be taken down per above config.
  • requestTakedownRegex (type: String.t, default: nil) - Regex used to match the request.
  • responseTakedownRegex (type: String.t, default: nil) - Regex used to decide that response should be taken down. Empty when response is kept.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootRequestResponseTakedownResult{
    allowed: boolean() | nil,
    requestTakedownRegex: String.t() | nil,
    responseTakedownRegex: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.