Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec

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) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec

Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpec.



19338
19339
19340
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19338

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

Instance Attribute Details

#attribute_typeString

Corresponds to the JSON property attributeType

Returns:

  • (String)


19321
19322
19323
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19321

def attribute_type
  @attribute_type
end

#control_pointsArray<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeRequestSearchConfigBoostSpecsBoostSpecConditionBoostSpecBoostControlSpecControlPoint>

Corresponds to the JSON property controlPoints



19326
19327
19328
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19326

def control_points
  @control_points
end

#field_nameString

Corresponds to the JSON property fieldName

Returns:

  • (String)


19331
19332
19333
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19331

def field_name
  @field_name
end

#interpolation_typeString

Corresponds to the JSON property interpolationType

Returns:

  • (String)


19336
19337
19338
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19336

def interpolation_type
  @interpolation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19343
19344
19345
19346
19347
19348
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 19343

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