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.



18995
18996
18997
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18995

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

Instance Attribute Details

#data_storesArray<String>

Corresponds to the JSON property dataStores

Returns:

  • (Array<String>)


18988
18989
18990
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18988

def data_stores
  @data_stores
end

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

Corresponds to the JSON property spec



18993
18994
18995
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18993

def spec
  @spec
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19000
19001
19002
19003
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19000

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