class Google::Apis::SearchconsoleV1::WmxSitemap

Contains detailed information about a specific URL submitted as a [sitemap]( support.google.com/webmasters/answer/156184).

Attributes

contents[RW]

The various content types in the sitemap. Corresponds to the JSON property `contents` @return [Array<Google::Apis::SearchconsoleV1::WmxSitemapContent>]

errors[RW]

Number of errors in the sitemap. These are issues with the sitemap itself that need to be fixed before it can be processed correctly. Corresponds to the JSON property `errors` @return [Fixnum]

is_pending[RW]

If true, the sitemap has not been processed. Corresponds to the JSON property `isPending` @return [Boolean]

is_pending?[RW]

If true, the sitemap has not been processed. Corresponds to the JSON property `isPending` @return [Boolean]

is_sitemaps_index[RW]

If true, the sitemap is a collection of sitemaps. Corresponds to the JSON property `isSitemapsIndex` @return [Boolean]

is_sitemaps_index?[RW]

If true, the sitemap is a collection of sitemaps. Corresponds to the JSON property `isSitemapsIndex` @return [Boolean]

last_downloaded[RW]

Date & time in which this sitemap was last downloaded. Date format is in RFC 3339 format (yyyy-mm-dd). Corresponds to the JSON property `lastDownloaded` @return [String]

last_submitted[RW]

Date & time in which this sitemap was submitted. Date format is in RFC 3339 format (yyyy-mm-dd). Corresponds to the JSON property `lastSubmitted` @return [String]

path[RW]

The url of the sitemap. Corresponds to the JSON property `path` @return [String]

type[RW]

The type of the sitemap. For example: `rssFeed`. Corresponds to the JSON property `type` @return [String]

warnings[RW]

Number of warnings for the sitemap. These are generally non-critical issues with URLs in the sitemaps. Corresponds to the JSON property `warnings` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/searchconsole_v1/classes.rb, line 550
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/searchconsole_v1/classes.rb, line 555
def update!(**args)
  @contents = args[:contents] if args.key?(:contents)
  @errors = args[:errors] if args.key?(:errors)
  @is_pending = args[:is_pending] if args.key?(:is_pending)
  @is_sitemaps_index = args[:is_sitemaps_index] if args.key?(:is_sitemaps_index)
  @last_downloaded = args[:last_downloaded] if args.key?(:last_downloaded)
  @last_submitted = args[:last_submitted] if args.key?(:last_submitted)
  @path = args[:path] if args.key?(:path)
  @type = args[:type] if args.key?(:type)
  @warnings = args[:warnings] if args.key?(:warnings)
end