QualityPreviewChosenSnippetInfo

GoogleApi.ContentWarehouse.V1.Model.QualityPreviewChosenSnippetInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

Information for chosen snippet. Next ID: 8

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. isVulgar (type: boolean(), default: nil)
    - Whether this snippet is a vulgar candidate.
  2. leadingTextType (type: String.t, default: nil)
    -
  3. snippetHtml (type: String.t, default: nil)
    - The rendered snippet html.
  4. snippetType (type: String.t, default: nil)
    -
  5. 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
  6. tidbits (type: list(GoogleApi.ContentWarehouse.V1.Model.QualityPreviewChosenSnippetInfoTidbitInfo), default: nil)
    -
  7. trailingEllipsis (type: boolean(), default: nil)
    - Whether this snippet has trailing ellipsis.

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.QualityPreviewChosenSnippetInfo