Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction

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

Overview

Setting a parameter value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction

Returns a new instance of GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction.



3054
3055
3056
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3054

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

Instance Attribute Details

#parameterString

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

Returns:

  • (String)


3047
3048
3049
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3047

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)


3052
3053
3054
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3052

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3059
3060
3061
3062
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 3059

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