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.



14892
14893
14894
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14892

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


14885
14886
14887
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14885

def data_stores
  @data_stores
end

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

Corresponds to the JSON property spec



14890
14891
14892
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14890

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14897
14898
14899
14900
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14897

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