google_api_page_speed_online v0.5.0 GoogleApi.PageSpeedOnline.V2.Model.Result View Source

Attributes

  • captchaResult (type: String.t, default: nil) - The captcha verify result
  • formattedResults (type: GoogleApi.PageSpeedOnline.V2.Model.ResultFormattedResults.t, default: nil) - Localized PageSpeed results. Contains a ruleResults entry for each PageSpeed rule instantiated and run by the server.
  • id (type: String.t, default: nil) - Canonicalized and final URL for the document, after following page redirects (if any).
  • invalidRules (type: list(String.t), default: nil) - List of rules that were specified in the request, but which the server did not know how to instantiate.
  • kind (type: String.t, default: pagespeedonline#result) - Kind of result.
  • pageStats (type: GoogleApi.PageSpeedOnline.V2.Model.ResultPageStats.t, default: nil) - Summary statistics for the page, such as number of JavaScript bytes, number of HTML bytes, etc.
  • responseCode (type: integer(), default: nil) - Response code for the document. 200 indicates a normal page load. 4xx/5xx indicates an error.
  • ruleGroups (type: map(), default: nil) - A map with one entry for each rule group in these results.
  • screenshot (type: GoogleApi.PageSpeedOnline.V2.Model.PagespeedApiImageV2.t, default: nil) - Base64-encoded screenshot of the page that was analyzed.
  • title (type: String.t, default: nil) - Title of the page, as displayed in the browser's title bar.
  • version (type: GoogleApi.PageSpeedOnline.V2.Model.ResultVersion.t, default: nil) - The version of PageSpeed used to generate these results.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.PageSpeedOnline.V2.Model.Result{
  captchaResult: String.t(),
  formattedResults:
    GoogleApi.PageSpeedOnline.V2.Model.ResultFormattedResults.t(),
  id: String.t(),
  invalidRules: [String.t()],
  kind: String.t(),
  pageStats: GoogleApi.PageSpeedOnline.V2.Model.ResultPageStats.t(),
  responseCode: integer(),
  ruleGroups: map(),
  screenshot: GoogleApi.PageSpeedOnline.V2.Model.PagespeedApiImageV2.t(),
  title: String.t(),
  version: GoogleApi.PageSpeedOnline.V2.Model.ResultVersion.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.