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.



19490
19491
19492
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19490

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


19483
19484
19485
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19483

def data_stores
  @data_stores
end

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

Corresponds to the JSON property spec



19488
19489
19490
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19488

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19495
19496
19497
19498
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19495

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