Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata

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

Overview

Contains a Sitemap and its metadata.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata

Returns a new instance of GoogleCloudDiscoveryengineV1alphaFetchSitemapsResponseSitemapMetadata.



10053
10054
10055
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10053

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

Instance Attribute Details

#sitemapGoogle::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSitemap

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



10051
10052
10053
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10051

def sitemap
  @sitemap
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10058
10059
10060
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10058

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