Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig

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

Configuration data for advance site search.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig.



4128
4129
4130
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4128

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

Instance Attribute Details

#disable_automatic_refreshBoolean Also known as: disable_automatic_refresh?

If set true, automatic refresh is disabled for the DataStore. Corresponds to the JSON property disableAutomaticRefresh

Returns:

  • (Boolean)


4119
4120
4121
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4119

def disable_automatic_refresh
  @disable_automatic_refresh
end

#disable_initial_indexBoolean Also known as: disable_initial_index?

If set true, initial indexing is disabled for the DataStore. Corresponds to the JSON property disableInitialIndex

Returns:

  • (Boolean)


4125
4126
4127
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4125

def disable_initial_index
  @disable_initial_index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4133
4134
4135
4136
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 4133

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