Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
- 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
-
#boost_specs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs>
Corresponds to the JSON property
boostSpecs. -
#filter_specs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs>
Corresponds to the JSON property
filterSpecs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
constructor
A new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig
Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfig.
14904 14905 14906 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14904 def initialize(**args) update!(**args) end |
Instance Attribute Details
#boost_specs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecs>
Corresponds to the JSON property boostSpecs
14897 14898 14899 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14897 def boost_specs @boost_specs end |
#filter_specs ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigFilterSpecs>
Corresponds to the JSON property filterSpecs
14902 14903 14904 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14902 def filter_specs @filter_specs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14909 14910 14911 14912 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14909 def update!(**args) @boost_specs = args[:boost_specs] if args.key?(:boost_specs) @filter_specs = args[:filter_specs] if args.key?(:filter_specs) end |