class Google::Apis::AcceleratedmobilepageurlV1::BatchGetAmpUrlsResponse
Batch AMP URL response.
Attributes
amp_urls[RW]
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. Corresponds to the JSON property `ampUrls` @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrl>]
url_errors[RW]
The errors for requested URLs that have no AMP URL. Corresponds to the JSON property `urlErrors` @return [Array<Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/acceleratedmobilepageurl_v1/classes.rb, line 130 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/acceleratedmobilepageurl_v1/classes.rb, line 135 def update!(**args) @amp_urls = args[:amp_urls] if args.key?(:amp_urls) @url_errors = args[:url_errors] if args.key?(:url_errors) end