View Source GoogleApi.Checks.V1alpha.Model.GoogleChecksAisafetyV1alphaTextInput (google_api_checks v0.5.0)

Text input to be classified.

Attributes

  • content (type: String.t, default: nil) - Actual piece of text to be classified.
  • languageCode (type: String.t, default: nil) - Optional. Language of the text in ISO 639-1 format. If the language is invalid or not specified, the system will try to detect it.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Checks.V1alpha.Model.GoogleChecksAisafetyV1alphaTextInput{
  content: String.t() | nil,
  languageCode: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.