View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SafetySettingsPhrase (google_api_dialogflow v0.78.0)

Text input which can be used for prompt or banned phrases.

Attributes

  • languageCode (type: String.t, default: nil) - Required. Language code of the phrase.
  • text (type: String.t, default: nil) - Required. Text input which can be used for prompt or banned phrases.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3SafetySettingsPhrase{
    languageCode: String.t() | nil,
    text: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.