Class: Google::Apis::SearchconsoleV1::WmxSitemapContent

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchconsole_v1/classes.rb,
lib/google/apis/searchconsole_v1/representations.rb,
lib/google/apis/searchconsole_v1/representations.rb

Overview

Information about the various content types in the sitemap.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WmxSitemapContent

Returns a new instance of WmxSitemapContent.



1038
1039
1040
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1038

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#indexedFixnum

Deprecated; do not use. Corresponds to the JSON property indexed

Returns:

  • (Fixnum)


1026
1027
1028
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1026

def indexed
  @indexed
end

#submittedFixnum

The number of URLs in the sitemap (of the content type). Corresponds to the JSON property submitted

Returns:

  • (Fixnum)


1031
1032
1033
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1031

def 
  @submitted
end

#typeString

The specific type of content in this sitemap. For example: web. Corresponds to the JSON property type

Returns:

  • (String)


1036
1037
1038
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1036

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1043
1044
1045
1046
1047
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1043

def update!(**args)
  @indexed = args[:indexed] if args.key?(:indexed)
  @submitted = args[:submitted] if args.key?(:submitted)
  @type = args[:type] if args.key?(:type)
end