GoogleApi.Language.V1.Model.ClassifyTextResponse (google_api_language v0.16.3)

View Source

The document classification response message.

Attributes

  • categories (type: list(GoogleApi.Language.V1.Model.ClassificationCategory.t), default: nil) - Categories representing the input document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Language.V1.Model.ClassifyTextResponse{
  categories: [GoogleApi.Language.V1.Model.ClassificationCategory.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.