class Google::Apis::AcceleratedmobilepageurlV1::AmpUrlError
AMP URL Error resource for a requested URL that couldn't be found.
Attributes
error_code[RW]
The error code of an API call. Corresponds to the JSON property `errorCode` @return [String]
error_message[RW]
An optional descriptive error message. Corresponds to the JSON property `errorMessage` @return [String]
original_url[RW]
The original non-AMP URL. Corresponds to the JSON property `originalUrl` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/acceleratedmobilepageurl_v1/classes.rb, line 76 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 81 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @error_message = args[:error_message] if args.key?(:error_message) @original_url = args[:original_url] if args.key?(:original_url) end