google_api_accelerated_mobile_page_url v0.9.0 GoogleApi.AcceleratedMobilePageUrl.V1.Model.AmpUrl View Source

AMP URL response for a requested URL.

Attributes

  • ampUrl (type: String.t, default: nil) - The AMP URL pointing to the publisher's web server.
  • cdnAmpUrl (type: String.t, default: nil) - The AMP Cache URL pointing to the cached document in the Google AMP Cache.
  • originalUrl (type: String.t, default: nil) - The original non-AMP URL.

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.AcceleratedMobilePageUrl.V1.Model.AmpUrl{
  ampUrl: String.t(),
  cdnAmpUrl: String.t(),
  originalUrl: String.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.