Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs

Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecs.



19253
19254
19255
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19253

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


19246
19247
19248
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19246

def data_stores
  @data_stores
end

#specArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec>

Corresponds to the JSON property spec



19251
19252
19253
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19251

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19258
19259
19260
19261
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19258

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