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.



19179
19180
19181
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19179

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


19172
19173
19174
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19172

def data_stores
  @data_stores
end

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

Corresponds to the JSON property spec



19177
19178
19179
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19177

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19184
19185
19186
19187
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19184

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