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



1093
1094
1095
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1093

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

Instance Attribute Details

#indexedFixnum

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



1081
1082
1083
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1081

def indexed
  @indexed
end

#submittedFixnum

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



1086
1087
1088
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1086

def 
  @submitted
end

#typeString

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



1091
1092
1093
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1091

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1098
1099
1100
1101
1102
# File 'lib/google/apis/searchconsole_v1/classes.rb', line 1098

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