Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSitemap

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

A sitemap for the SiteSearchEngine.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSitemap

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSitemap.



14872
14873
14874
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14872

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)


14858
14859
14860
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14858

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)


14865
14866
14867
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14865

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)


14870
14871
14872
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14870

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14877
14878
14879
14880
14881
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14877

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