Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec

Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec.



15014
15015
15016
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15014

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

Instance Attribute Details

#attribute_typeString

Corresponds to the JSON property attributeType

Returns:

  • (String)


14997
14998
14999
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14997

def attribute_type
  @attribute_type
end

#control_pointsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint>

Corresponds to the JSON property controlPoints



15002
15003
15004
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15002

def control_points
  @control_points
end

#field_nameString

Corresponds to the JSON property fieldName

Returns:

  • (String)


15007
15008
15009
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15007

def field_name
  @field_name
end

#interpolation_typeString

Corresponds to the JSON property interpolationType

Returns:

  • (String)


15012
15013
15014
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15012

def interpolation_type
  @interpolation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15019
15020
15021
15022
15023
15024
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 15019

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