Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSitemap
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSitemap
- 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
-
#create_time ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#uri ⇒ String
Public URI for the sitemap, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSitemap
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSitemap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSitemap
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSitemap.
17438 17439 17440 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17438 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Output only. The sitemap's creation time.
Corresponds to the JSON property createTime
17424 17425 17426 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17424 def create_time @create_time end |
#name ⇒ String
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
17431 17432 17433 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17431 def name @name end |
#uri ⇒ String
Public URI for the sitemap, e.g. www.example.com/sitemap.xml
.
Corresponds to the JSON property uri
17436 17437 17438 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17436 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17443 17444 17445 17446 17447 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 17443 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 |