Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction

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

Overview

Setting a parameter value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction

Returns a new instance of GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction.



8014
8015
8016
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8014

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

Instance Attribute Details

#parameterString

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

Returns:

  • (String)


8007
8008
8009
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8007

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)


8012
8013
8014
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8012

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8019
8020
8021
8022
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8019

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