Class: Google::Apis::WebmastersV3::UrlSampleDetails

Inherits:
Object
  • Object
show all
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

Additional details about the URL, set only when calling get().

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ UrlSampleDetails

Returns a new instance of UrlSampleDetails.



428
429
430
# File 'generated/google/apis/webmasters_v3/classes.rb', line 428

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

Instance Attribute Details

#containing_sitemapsArray<String>

List of sitemaps pointing at this URL. Corresponds to the JSON property containingSitemaps

Returns:

  • (Array<String>)


421
422
423
# File 'generated/google/apis/webmasters_v3/classes.rb', line 421

def containing_sitemaps
  @containing_sitemaps
end

#linked_from_urlsArray<String>

A sample set of URLs linking to this URL. Corresponds to the JSON property linkedFromUrls

Returns:

  • (Array<String>)


426
427
428
# File 'generated/google/apis/webmasters_v3/classes.rb', line 426

def linked_from_urls
  @linked_from_urls
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



433
434
435
436
# File 'generated/google/apis/webmasters_v3/classes.rb', line 433

def update!(**args)
  @containing_sitemaps = args[:containing_sitemaps] if args.key?(:containing_sitemaps)
  @linked_from_urls = args[:linked_from_urls] if args.key?(:linked_from_urls)
end