Class: Google::Apis::SearchconsoleV1::WmxSitemapContent
- Inherits:
-
Object
- Object
- Google::Apis::SearchconsoleV1::WmxSitemapContent
- 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
-
#indexed ⇒ Fixnum
Deprecated; do not use. Corresponds to the JSON property
indexed
. -
#submitted ⇒ Fixnum
The number of URLs in the sitemap (of the content type).
-
#type ⇒ String
The specific type of content in this sitemap.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WmxSitemapContent
constructor
A new instance of WmxSitemapContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#indexed ⇒ Fixnum
Deprecated; do not use.
Corresponds to the JSON property indexed
1026 1027 1028 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1026 def indexed @indexed end |
#submitted ⇒ Fixnum
The number of URLs in the sitemap (of the content type).
Corresponds to the JSON property submitted
1031 1032 1033 |
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1031 def submitted @submitted end |
#type ⇒ String
The specific type of content in this sitemap. For example: web
.
Corresponds to the JSON property type
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 |