Class: Google::Apis::WebmastersV3::WmxSitemapContent
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::WebmastersV3::WmxSitemapContent
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/webmasters_v3/classes.rb,
 generated/google/apis/webmasters_v3/representations.rb,
 generated/google/apis/webmasters_v3/representations.rb
Overview
Information about the various content types in the sitemap.
Instance Attribute Summary collapse
- 
  
    
      #indexed  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of URLs from the sitemap that were indexed (of the content type). 
- 
  
    
      #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. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WmxSitemapContent
Returns a new instance of WmxSitemapContent
| 557 558 559 | # File 'generated/google/apis/webmasters_v3/classes.rb', line 557 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#indexed ⇒ Fixnum
The number of URLs from the sitemap that were indexed (of the content type).
Corresponds to the JSON property indexed
| 545 546 547 | # File 'generated/google/apis/webmasters_v3/classes.rb', line 545 def indexed @indexed end | 
#submitted ⇒ Fixnum
The number of URLs in the sitemap (of the content type).
Corresponds to the JSON property submitted
| 550 551 552 | # File 'generated/google/apis/webmasters_v3/classes.rb', line 550 def submitted @submitted end | 
#type ⇒ String
The specific type of content in this sitemap. For example: web.
Corresponds to the JSON property type
| 555 556 557 | # File 'generated/google/apis/webmasters_v3/classes.rb', line 555 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 562 563 564 565 566 | # File 'generated/google/apis/webmasters_v3/classes.rb', line 562 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 |