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

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

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.