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.



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

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

Instance Attribute Details

#attribute_typeString

Corresponds to the JSON property attributeType

Returns:

  • (String)


4540
4541
4542
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4540

def attribute_type
  @attribute_type
end

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

Corresponds to the JSON property controlPoints



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

def control_points
  @control_points
end

#field_nameString

Corresponds to the JSON property fieldName

Returns:

  • (String)


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

def field_name
  @field_name
end

#interpolation_typeString

Corresponds to the JSON property interpolationType

Returns:

  • (String)


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

def interpolation_type
  @interpolation_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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