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):
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)
, default:nil
)
- -
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
}
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