Class: Google::Apis::WebmastersV3::UrlCrawlErrorCount
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::WebmastersV3::UrlCrawlErrorCount
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/webmasters_v3/classes.rb,
 generated/google/apis/webmasters_v3/representations.rb,
 generated/google/apis/webmasters_v3/representations.rb
Overview
An entry in a URL crawl errors time series.
Instance Attribute Summary collapse
- 
  
    
      #count  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The error count at the given timestamp. 
- 
  
    
      #timestamp  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date and time when the crawl attempt took place, in RFC 3339 format. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ UrlCrawlErrorCount 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of UrlCrawlErrorCount. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UrlCrawlErrorCount
Returns a new instance of UrlCrawlErrorCount
| 287 288 289 | # File 'generated/google/apis/webmasters_v3/classes.rb', line 287 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#count ⇒ Fixnum
The error count at the given timestamp.
Corresponds to the JSON property count
| 280 281 282 | # File 'generated/google/apis/webmasters_v3/classes.rb', line 280 def count @count end | 
#timestamp ⇒ DateTime
The date and time when the crawl attempt took place, in RFC 3339 format.
Corresponds to the JSON property timestamp
| 285 286 287 | # File 'generated/google/apis/webmasters_v3/classes.rb', line 285 def @timestamp end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 292 293 294 295 | # File 'generated/google/apis/webmasters_v3/classes.rb', line 292 def update!(**args) @count = args[:count] if args.key?(:count) @timestamp = args[:timestamp] if args.key?(:timestamp) end |