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.



14943
14944
14945
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14943

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


14936
14937
14938
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14936

def data_stores
  @data_stores
end

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

Corresponds to the JSON property spec



14941
14942
14943
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14941

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14948
14949
14950
14951
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14948

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