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.



19267
19268
19269
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19267

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


19260
19261
19262
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19260

def data_stores
  @data_stores
end

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

Corresponds to the JSON property spec



19265
19266
19267
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19265

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19272
19273
19274
19275
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19272

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