generated/google/apis/webmasters_v3/classes.rb in google-api-client-0.28.7 vs generated/google/apis/webmasters_v3/classes.rb in google-api-client-0.29.0

- old
+ new

@@ -268,175 +268,9 @@ def update!(**args) @site_entry = args[:site_entry] if args.key?(:site_entry) end end - # An entry in a URL crawl errors time series. - class UrlCrawlErrorCount - include Google::Apis::Core::Hashable - - # The error count at the given timestamp. - # Corresponds to the JSON property `count` - # @return [Fixnum] - attr_accessor :count - - # The date and time when the crawl attempt took place, in RFC 3339 format. - # Corresponds to the JSON property `timestamp` - # @return [DateTime] - attr_accessor :timestamp - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @count = args[:count] if args.key?(:count) - @timestamp = args[:timestamp] if args.key?(:timestamp) - end - end - - # Number of errors per day for a specific error type (defined by platform and - # category). - class UrlCrawlErrorCountsPerType - include Google::Apis::Core::Hashable - - # The crawl error type. - # Corresponds to the JSON property `category` - # @return [String] - attr_accessor :category - - # The error count entries time series. - # Corresponds to the JSON property `entries` - # @return [Array<Google::Apis::WebmastersV3::UrlCrawlErrorCount>] - attr_accessor :entries - - # 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` - # @return [String] - attr_accessor :platform - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - 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 - end - - # A time series of the number of URL crawl errors per error category and - # platform. - class QueryUrlCrawlErrorsCountsResponse - include Google::Apis::Core::Hashable - - # The time series of the number of URL crawl errors per error category and - # platform. - # Corresponds to the JSON property `countPerTypes` - # @return [Array<Google::Apis::WebmastersV3::UrlCrawlErrorCountsPerType>] - attr_accessor :count_per_types - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @count_per_types = args[:count_per_types] if args.key?(:count_per_types) - end - end - - # Contains information about specific crawl errors. - class UrlCrawlErrorsSample - include Google::Apis::Core::Hashable - - # The time the error was first detected, in RFC 3339 format. - # Corresponds to the JSON property `first_detected` - # @return [DateTime] - attr_accessor :first_detected - - # The time when the URL was last crawled, in RFC 3339 format. - # Corresponds to the JSON property `last_crawled` - # @return [DateTime] - attr_accessor :last_crawled - - # The URL of an error, relative to the site. - # Corresponds to the JSON property `pageUrl` - # @return [String] - attr_accessor :page_url - - # The HTTP response code, if any. - # Corresponds to the JSON property `responseCode` - # @return [Fixnum] - attr_accessor :response_code - - # Additional details about the URL, set only when calling get(). - # Corresponds to the JSON property `urlDetails` - # @return [Google::Apis::WebmastersV3::UrlSampleDetails] - attr_accessor :url_details - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - 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 - end - - # List of crawl error samples. - class ListUrlCrawlErrorsSamplesResponse - include Google::Apis::Core::Hashable - - # Information about the sample URL and its crawl error. - # Corresponds to the JSON property `urlCrawlErrorSample` - # @return [Array<Google::Apis::WebmastersV3::UrlCrawlErrorsSample>] - attr_accessor :url_crawl_error_sample - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @url_crawl_error_sample = args[:url_crawl_error_sample] if args.key?(:url_crawl_error_sample) - end - end - - # Additional details about the URL, set only when calling get(). - class UrlSampleDetails - include Google::Apis::Core::Hashable - - # List of sitemaps pointing at this URL. - # Corresponds to the JSON property `containingSitemaps` - # @return [Array<String>] - attr_accessor :containing_sitemaps - - # A sample set of URLs linking to this URL. - # Corresponds to the JSON property `linkedFromUrls` - # @return [Array<String>] - attr_accessor :linked_from_urls - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @containing_sitemaps = args[:containing_sitemaps] if args.key?(:containing_sitemaps) - @linked_from_urls = args[:linked_from_urls] if args.key?(:linked_from_urls) - end - end - # Contains permission level information about a Search Console site. For more # information, see Permissions in Search Console. class WmxSite include Google::Apis::Core::Hashable