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

Batch AMP URL response.

Attributes

  • ampUrls (type: list(GoogleApi.AcceleratedMobilePageUrl.V1.Model.AmpUrl.t), default: nil) - For each URL in BatchAmpUrlsRequest, the URL response. The response might not be in the same order as URLs in the batch request. If BatchAmpUrlsRequest contains duplicate URLs, AmpUrl is generated only once.
  • urlErrors (type: list(GoogleApi.AcceleratedMobilePageUrl.V1.Model.AmpUrlError.t), default: nil) - The errors for requested URLs that have no AMP URL.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AcceleratedMobilePageUrl.V1.Model.BatchGetAmpUrlsResponse{
  ampUrls: [GoogleApi.AcceleratedMobilePageUrl.V1.Model.AmpUrl.t()] | nil,
  urlErrors: [GoogleApi.AcceleratedMobilePageUrl.V1.Model.AmpUrlError.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.