IndexingConverterRobotsInfo

GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRobotsInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

Robots Info encapsulates all robots.txt or related information that we know about the Document collected from multiple sources such as HTTP headers, meta robots tags etc.

Attributes List

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

View Attributes

Attributes

  1. contentExpiry (type: integer(), default: nil)
    - time in unix time format after which this content should not be shown in the results. This in inferred from the X-Robots-Tag HTTP header with unavailable_after: Do not use this field directly. There is a column called content_expiration in Alexandria that includes this and other signals.
  2. convertToRobotedReason (type: String.t, default: nil)
    -
  3. disallowedReason (type: integer(), default: nil)
    -
  4. indexifembeddedReason (type: integer(), default: nil)
    - IMPORTANT: if you add a new field here, update the MergeRobotsInfo() function to merge the new field.
  5. maxImagePreview (type: String.t, default: nil)
    - Max image preview restriction applied to this data. A value of THUMBNAIL_UNSPECIFIED can be treated as though there is no restriction.
  6. maxSnippetLength (type: String.t, default: nil)
    - Max snippet preview restriction applied to this data. If this field is zero, it indicates that no snippet data can be displayed, therefore this field should be checked using has_max_snippet_length to determine if it was set.
  7. noarchiveReason (type: integer(), default: nil)
    -
  8. nofollowReason (type: integer(), default: nil)
    -
  9. noimageframeoverlayReason (type: integer(), default: nil)
    -
  10. noimageindexReason (type: integer(), default: nil)
    -
  11. noindexReason (type: integer(), default: nil)
    - Bit map of RobotedReasons values. When set to a non-zero value, the document should not be indexed or archived etc. based on the name of the tag.
  12. nopreviewReason (type: integer(), default: nil)
    -
  13. nosnippetReason (type: integer(), default: nil)
    -
  14. notranslateReason (type: integer(), default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRobotsInfo{
contentExpiry: integer() | nil,
convertToRobotedReason: String.t() | nil,
disallowedReason: integer() | nil,
indexifembeddedReason: integer() | nil,
maxImagePreview: String.t() | nil,
maxSnippetLength: String.t() | nil,
noarchiveReason: integer() | nil,
nofollowReason: integer() | nil,
noimageframeoverlayReason: integer() | nil,
noimageindexReason: integer() | nil,
noindexReason: integer() | nil,
nopreviewReason: integer() | nil,
nosnippetReason: integer() | nil,
notranslateReason: integer() | nil
}

Function

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

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