Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore

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

Stores information regarding the serving configurations at DataStore level.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore

Returns a new instance of GoogleCloudDiscoveryengineV1alphaDataStoreServingConfigDataStore.



11041
11042
11043
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11041

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

Instance Attribute Details

#disabled_for_servingBoolean Also known as: disabled_for_serving?

If set true, the DataStore will not be available for serving search requests. Corresponds to the JSON property disabledForServing

Returns:

  • (Boolean)


11038
11039
11040
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11038

def disabled_for_serving
  @disabled_for_serving
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11046
11047
11048
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 11046

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