Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
- 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
-
#attribute_type ⇒ String
Corresponds to the JSON property
attributeType. -
#control_points ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint>
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) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
constructor
A new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec
Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec.
19444 19445 19446 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19444 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attribute_type ⇒ String
Corresponds to the JSON property attributeType
19427 19428 19429 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19427 def attribute_type @attribute_type end |
#control_points ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint>
Corresponds to the JSON property controlPoints
19432 19433 19434 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19432 def control_points @control_points end |
#field_name ⇒ String
Corresponds to the JSON property fieldName
19437 19438 19439 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19437 def field_name @field_name end |
#interpolation_type ⇒ String
Corresponds to the JSON property interpolationType
19442 19443 19444 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19442 def interpolation_type @interpolation_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19449 19450 19451 19452 19453 19454 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19449 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 |