Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
- 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
-
#attribute_type ⇒ String
Corresponds to the JSON property
attributeType. -
#control_points ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint>
Corresponds to the JSON property
controlPoints. -
#field_name ⇒ String
Corresponds to the JSON property
fieldName. -
#interpolation_type ⇒ String
Corresponds to the JSON property
interpolationType.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
constructor
A new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec.
15140 15141 15142 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribute_type ⇒ String
Corresponds to the JSON property attributeType
15123 15124 15125 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15123 def attribute_type @attribute_type end |
#control_points ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint>
Corresponds to the JSON property controlPoints
15128 15129 15130 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15128 def control_points @control_points end |
#field_name ⇒ String
Corresponds to the JSON property fieldName
15133 15134 15135 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15133 def field_name @field_name end |
#interpolation_type ⇒ String
Corresponds to the JSON property interpolationType
15138 15139 15140 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15138 def interpolation_type @interpolation_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15145 15146 15147 15148 15149 15150 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15145 def update!(**args) @attribute_type = args[:attribute_type] if args.key?(:attribute_type) @control_points = args[:control_points] if args.key?(:control_points) @field_name = args[:field_name] if args.key?(:field_name) @interpolation_type = args[:interpolation_type] if args.key?(:interpolation_type) end |