Class: Google::Apis::WebmastersV3::UrlSampleDetails
- Inherits:
-
Object
- Object
- Google::Apis::WebmastersV3::UrlSampleDetails
- 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
-
#containing_sitemaps ⇒ Array<String>
List of sitemaps pointing at this URL.
-
#linked_from_urls ⇒ Array<String>
A sample set of URLs linking to this URL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UrlSampleDetails
constructor
A new instance of UrlSampleDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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_sitemaps ⇒ Array<String>
List of sitemaps pointing at this URL.
Corresponds to the JSON property containingSitemaps
421 422 423 |
# File 'generated/google/apis/webmasters_v3/classes.rb', line 421 def containing_sitemaps @containing_sitemaps end |
#linked_from_urls ⇒ Array<String>
A sample set of URLs linking to this URL.
Corresponds to the JSON property linkedFromUrls
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 |