Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs

Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs.



15074
15075
15076
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15074

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


15067
15068
15069
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15067

def data_stores
  @data_stores
end

#specArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpec>

Corresponds to the JSON property spec



15072
15073
15074
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15072

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15079
15080
15081
15082
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15079

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