View Source GoogleApi.SearchConsole.V1.Model.AmpInspectionResult (google_api_search_console v0.19.0)

AMP inspection result of the live page or the current information from Google's index, depending on whether you requested a live inspection or not.

Attributes

  • ampIndexStatusVerdict (type: String.t, default: nil) - Index status of the AMP URL.
  • ampUrl (type: String.t, default: nil) - URL of the AMP that was inspected. If the submitted URL is a desktop page that refers to an AMP version, the AMP version will be inspected.
  • indexingState (type: String.t, default: nil) - Whether or not the page blocks indexing through a noindex rule.
  • issues (type: list(GoogleApi.SearchConsole.V1.Model.AmpIssue.t), default: nil) - A list of zero or more AMP issues found for the inspected URL.
  • lastCrawlTime (type: DateTime.t, default: nil) - Last time this AMP version was crawled by Google. Absent if the URL was never crawled successfully.
  • pageFetchState (type: String.t, default: nil) - Whether or not Google could fetch the AMP.
  • robotsTxtState (type: String.t, default: nil) - Whether or not the page is blocked to Google by a robots.txt rule.
  • verdict (type: String.t, default: nil) - The status of the most severe error on the page. If a page has both warnings and errors, the page status is error. Error status means the page cannot be shown in Search results.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SearchConsole.V1.Model.AmpInspectionResult{
  ampIndexStatusVerdict: String.t() | nil,
  ampUrl: String.t() | nil,
  indexingState: String.t() | nil,
  issues: [GoogleApi.SearchConsole.V1.Model.AmpIssue.t()] | nil,
  lastCrawlTime: DateTime.t() | nil,
  pageFetchState: String.t() | nil,
  robotsTxtState: String.t() | nil,
  verdict: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.