class Google::Apis::WebmastersV3::UrlCrawlErrorsSample
Contains information about specific crawl errors.
Attributes
first_detected[RW]
The time the error was first detected, in RFC 3339 format. Corresponds to the JSON property `first_detected` @return [DateTime]
last_crawled[RW]
The time when the URL was last crawled, in RFC 3339 format. Corresponds to the JSON property `last_crawled` @return [DateTime]
page_url[RW]
The URL of an error, relative to the site. Corresponds to the JSON property `pageUrl` @return [String]
response_code[RW]
The HTTP response code, if any. Corresponds to the JSON property `responseCode` @return [Fixnum]
url_details[RW]
Additional details about the URL, set only when calling get(). Corresponds to the JSON property `urlDetails` @return [Google::Apis::WebmastersV3::UrlSampleDetails]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/webmasters_v3/classes.rb, line 381 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/webmasters_v3/classes.rb, line 386 def update!(**args) @first_detected = args[:first_detected] if args.key?(:first_detected) @last_crawled = args[:last_crawled] if args.key?(:last_crawled) @page_url = args[:page_url] if args.key?(:page_url) @response_code = args[:response_code] if args.key?(:response_code) @url_details = args[:url_details] if args.key?(:url_details) end