View Source GoogleApi.AcceleratedMobilePageUrl.V1.Model.AmpUrl (google_api_accelerated_mobile_page_url v0.12.0)

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AcceleratedMobilePageUrl.V1.Model.AmpUrl{
  ampUrl: String.t() | nil,
  cdnAmpUrl: String.t() | nil,
  originalUrl: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.