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.



14992
14993
14994
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14992

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


14985
14986
14987
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14985

def data_stores
  @data_stores
end

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

Corresponds to the JSON property spec



14990
14991
14992
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14990

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14997
14998
14999
15000
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14997

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