View Source GoogleApi.ContentWarehouse.V1.Model.QualityPreviewChosenSnippetInfo (google_api_content_warehouse v0.3.0)

Information for chosen snippet. Next ID: 8

Attributes

  • isVulgar (type: boolean(), default: nil) - Whether this snippet is a vulgar candidate.
  • leadingTextType (type: String.t, default: nil) -
  • snippetHtml (type: String.t, default: nil) - The rendered snippet html.
  • snippetType (type: String.t, default: nil) -
  • source (type: String.t, default: nil) - Source of the chosen snippet, decided in PORC. String value of quality.porc.TextSnippetCandidate.TextSnippetSource defined at google3/quality/porc/proto/text_snippet.proto
  • tidbits (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityPreviewChosenSnippetInfoTidbitInfo.t), default: nil) -
  • trailingEllipsis (type: boolean(), default: nil) - Whether this snippet has trailing ellipsis.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualityPreviewChosenSnippetInfo{
  isVulgar: boolean() | nil,
  leadingTextType: String.t() | nil,
  snippetHtml: String.t() | nil,
  snippetType: String.t() | nil,
  source: String.t() | nil,
  tidbits:
    [
      GoogleApi.ContentWarehouse.V1.Model.QualityPreviewChosenSnippetInfoTidbitInfo.t()
    ]
    | nil,
  trailingEllipsis: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.