Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec

Returns a new instance of GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpec.



4563
4564
4565
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4563

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

Instance Attribute Details

#attribute_typeString

Corresponds to the JSON property attributeType

Returns:

  • (String)


4546
4547
4548
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4546

def attribute_type
  @attribute_type
end

#control_pointsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1BoostSpecConditionBoostSpecBoostControlSpecControlPoint>

Corresponds to the JSON property controlPoints



4551
4552
4553
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4551

def control_points
  @control_points
end

#field_nameString

Corresponds to the JSON property fieldName

Returns:

  • (String)


4556
4557
4558
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4556

def field_name
  @field_name
end

#interpolation_typeString

Corresponds to the JSON property interpolationType

Returns:

  • (String)


4561
4562
4563
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4561

def interpolation_type
  @interpolation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4568
4569
4570
4571
4572
4573
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4568

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