QualityDniDocPreviewRestrictions

GoogleApi.ContentWarehouse.V1.Model.QualityDniDocPreviewRestrictions


Table of Contents ▼

Jump to a specific part of the page:

Description

Set of per-document markup restrictions based on go/eucd-indexing-design. Used for EUCD and global preview compliance. Next ID: 20

Attributes List

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

View Attributes

Attributes

  1. bylineDateSecs (type: String.t, default: nil)
    - Publish date set by webmaster. See detailed description here: http://shortn/_1eC0zzjR7k. Note that this will currently only be set for canonical documents where byline date could be extracted.
  2. crawlTsUsec (type: String.t, default: nil)
    - The time that the info in this attachment was computed during crawl, in microseconds.
  3. extendedNewsPreviewsDomain (type: GoogleApi.ContentWarehouse.V1.Model.QualityDniExtendedNewsPreviews, default: nil)
    - Whether this document comes from a domain that is affected by Extended News Previews (ENP) and its status (approved/rejected).
  4. faviconDisplay (type: String.t, default: nil)
    - Whether the favicon for a given domain should be displayed. FAVICON_DISPLAY_UNSPECIFIED - Display the favicon DISABLE_FAVICON - the favicon should not be rendered by the feature
  5. firstseenDateSecs (type: integer(), default: nil)
    - Firstseen date populated by indexing. It works as fallback to byline_date if it doesn't exist. Note that this will currently only be set for canonical documents where firstseen date could be populated.
  6. isAmp (type: boolean(), default: nil)
    - Only be true when the page itself is an AMP page. For paired AMP, the canonical page will have this bit as false.
  7. isEucdDomain (type: boolean(), default: nil)
    -
  8. maxSnippetLength (type: integer(), default: nil)
    - The max number of snippet characters allowed. Based on document markup. No limit if value is less than 0, Google could use any length of snippets. Default value 0 is the strictest restriction, to avoid violating mistakenly If not set, there is no snippet length policy to enforce. Features must first check has_max_snippet_length to avoid applying an overly strict policy.
  9. maxSnippetLengthFromPublisher (type: integer(), default: nil)
    - Same as the max_snippet_length, max_thumbnail_size, max_video_preview_secs listed above. But values are based on publisher's preferences from Search Console's robots meta tag tool.
  10. maxSnippetLengthPublisherDefault (type: integer(), default: nil)
    -
  11. maxThumbnailSize (type: String.t, default: nil)
    - The max thumbnail size allowed. Based on document markup Default value NONE is the strictest restriction, to avoid violating mistakenly. If not set, there is no thumbnail policy to enforce.
  12. maxThumbnailSizeFromPublisher (type: String.t, default: nil)
    -
  13. maxThumbnailSizePublisherDefault (type: integer(), default: nil)
    -
  14. maxVideoPreviewSecs (type: integer(), default: nil)
    - The max seconds of video preview allowed. Based on document markup. No limit if value is less than 0, Google could show any seconds of video. Default value 0 is the strictest restriction, to avoid violating mistakenly If not set, there is no preview length policy to enforce. Features must first check has_max_video_preview_secs to avoid applying an overly strict policy.
  15. maxVideoPreviewSecsFromPublisher (type: integer(), default: nil)
    -
  16. maxVideoPreviewSecsPublisherDefault (type: integer(), default: nil)
    -
  17. snippetLengthSource (type: String.t, default: nil)
    - Source of snippet length.
  18. thumbnailSizeSource (type: String.t, default: nil)
    - Source of thumbnail size.
  19. videoPreviewSecsSource (type: String.t, default: nil)
    - Source of video preview seconds.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualityDniDocPreviewRestrictions{
bylineDateSecs: String.t() | nil,
crawlTsUsec: String.t() | nil,
extendedNewsPreviewsDomain: GoogleApi.ContentWarehouse.V1.Model.QualityDniExtendedNewsPreviews.t() | nil,
faviconDisplay: String.t() | nil,
firstseenDateSecs: integer() | nil,
isAmp: boolean() | nil,
isEucdDomain: boolean() | nil,
maxSnippetLength: integer() | nil,
maxSnippetLengthFromPublisher: integer() | nil,
maxSnippetLengthPublisherDefault: integer() | nil,
maxThumbnailSize: String.t() | nil,
maxThumbnailSizeFromPublisher: String.t() | nil,
maxThumbnailSizePublisherDefault: integer() | nil,
maxVideoPreviewSecs: integer() | nil,
maxVideoPreviewSecsFromPublisher: integer() | nil,
maxVideoPreviewSecsPublisherDefault: integer() | nil,
snippetLengthSource: String.t() | nil,
thumbnailSizeSource: String.t() | nil,
videoPreviewSecsSource: String.t() | nil
}

Function

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

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