Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAdvancedSiteSearchConfig

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

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.



9005
9006
9007
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9005

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)


8996
8997
8998
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8996

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)


9002
9003
9004
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9002

def disable_initial_index
  @disable_initial_index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9010
9011
9012
9013
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 9010

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