Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec

Returns a new instance of GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec.



854
855
856
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 854

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

Instance Attribute Details

#attribute_typeString

Corresponds to the JSON property attributeType

Returns:

  • (String)


837
838
839
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 837

def attribute_type
  @attribute_type
end

#control_pointsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint>

Corresponds to the JSON property controlPoints



842
843
844
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 842

def control_points
  @control_points
end

#field_nameString

Corresponds to the JSON property fieldName

Returns:

  • (String)


847
848
849
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 847

def field_name
  @field_name
end

#interpolation_typeString

Corresponds to the JSON property interpolationType

Returns:

  • (String)


852
853
854
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 852

def interpolation_type
  @interpolation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



859
860
861
862
863
864
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 859

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