Class: Google::Apis::WebmastersV3::UrlCrawlErrorCountsPerType
- Inherits:
-
Object
- Object
- Google::Apis::WebmastersV3::UrlCrawlErrorCountsPerType
- 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
Number of errors per day for a specific error type (defined by platform and category).
Instance Attribute Summary collapse
-
#category ⇒ String
The crawl error type.
-
#entries ⇒ Array<Google::Apis::WebmastersV3::UrlCrawlErrorCount>
The error count entries time series.
-
#platform ⇒ String
The general type of Googlebot that made the request (see list of Googlebot user-agents for the user-agents used).
Instance Method Summary collapse
-
#initialize(**args) ⇒ UrlCrawlErrorCountsPerType
constructor
A new instance of UrlCrawlErrorCountsPerType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UrlCrawlErrorCountsPerType
Returns a new instance of UrlCrawlErrorCountsPerType
319 320 321 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 319 def initialize(**args) update!(**args) end |
Instance Attribute Details
#category ⇒ String
The crawl error type.
Corresponds to the JSON property category
306 307 308 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 306 def category @category end |
#entries ⇒ Array<Google::Apis::WebmastersV3::UrlCrawlErrorCount>
The error count entries time series.
Corresponds to the JSON property entries
311 312 313 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 311 def entries @entries end |
#platform ⇒ String
The general type of Googlebot that made the request (see list of Googlebot
user-agents for the user-agents used).
Corresponds to the JSON property platform
317 318 319 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 317 def platform @platform end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
324 325 326 327 328 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 324 def update!(**args) @category = args[:category] if args.key?(:category) @entries = args[:entries] if args.key?(:entries) @platform = args[:platform] if args.key?(:platform) end |