Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore
- 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
Stores information regarding the serving configurations at DataStore level.
Instance Attribute Summary collapse
-
#disabled_for_serving ⇒ Boolean
(also: #disabled_for_serving?)
If set true, the DataStore will not be available for serving search requests.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore
constructor
A new instance of GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore
Returns a new instance of GoogleCloudDiscoveryengineV1DataStoreServingConfigDataStore.
1446 1447 1448 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1446 def initialize(**args) update!(**args) end |
Instance Attribute Details
#disabled_for_serving ⇒ Boolean 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
1443 1444 1445 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1443 def disabled_for_serving @disabled_for_serving end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1451 1452 1453 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1451 def update!(**args) @disabled_for_serving = args[:disabled_for_serving] if args.key?(:disabled_for_serving) end |