Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction

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

Overview

Setting a parameter value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3FulfillmentSetParameterAction

Returns a new instance of GoogleCloudDialogflowCxV3FulfillmentSetParameterAction.



747
748
749
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 747

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

Instance Attribute Details

#parameterString

Display name of the parameter. Corresponds to the JSON property parameter

Returns:

  • (String)


740
741
742
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 740

def parameter
  @parameter
end

#valueObject

The new value of the parameter. A null value clears the parameter. Corresponds to the JSON property value

Returns:

  • (Object)


745
746
747
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 745

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



752
753
754
755
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 752

def update!(**args)
  @parameter = args[:parameter] if args.key?(:parameter)
  @value = args[:value] if args.key?(:value)
end