Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSitemap

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

A sitemap for the SiteSearchEngine.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSitemap

Returns a new instance of GoogleCloudDiscoveryengineV1betaSitemap.



22213
22214
22215
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22213

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

Instance Attribute Details

#create_timeString

Output only. The sitemap's creation time. Corresponds to the JSON property createTime

Returns:

  • (String)


22199
22200
22201
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22199

def create_time
  @create_time
end

#nameString

Output only. The fully qualified resource name of the sitemap. projects/*/ locations/*/collections/*/dataStores/*/siteSearchEngine/sitemaps/* The sitemap_id suffix is system-generated. Corresponds to the JSON property name

Returns:

  • (String)


22206
22207
22208
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22206

def name
  @name
end

#uriString

Public URI for the sitemap, e.g. www.example.com/sitemap.xml. Corresponds to the JSON property uri

Returns:

  • (String)


22211
22212
22213
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22211

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22218
22219
22220
22221
22222
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 22218

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