Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/representations.rb

Overview

Contains a Sitemap and its metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1betaFetchSitemapsResponseSitemapMetadata.



16875
16876
16877
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16875

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

Instance Attribute Details

#sitemapGoogle::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSitemap

A sitemap for the SiteSearchEngine. Corresponds to the JSON property sitemap



16873
16874
16875
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16873

def sitemap
  @sitemap
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16880
16881
16882
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 16880

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