Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSitemap
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSitemap
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/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) ⇒ GoogleCloudDiscoveryengineV1betaSitemap
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSitemap.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSitemap
Returns a new instance of GoogleCloudDiscoveryengineV1betaSitemap.
33588 33589 33590 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33588 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
33574 33575 33576 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33574 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
33581 33582 33583 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33581 def name @name end |
#uri ⇒ String
Public URI for the sitemap, e.g. www.example.com/sitemap.xml.
Corresponds to the JSON property uri
33586 33587 33588 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33586 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
33593 33594 33595 33596 33597 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 33593 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 |