Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSiteSearchEngine

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

SiteSearchEngine captures DataStore level site search persisting configurations. It is a singleton value per data store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSiteSearchEngine

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSiteSearchEngine.



6342
6343
6344
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6342

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

Instance Attribute Details

#nameString

The fully qualified resource name of the site search engine. Format: projects/ */locations/*/dataStores/*/siteSearchEngine Corresponds to the JSON property name

Returns:

  • (String)


6340
6341
6342
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6340

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6347
6348
6349
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 6347

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