Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction

Returns a new instance of GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction.



10912
10913
10914
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10912

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

Instance Attribute Details

#parameterString

Corresponds to the JSON property parameter

Returns:

  • (String)


10905
10906
10907
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10905

def parameter
  @parameter
end

#valueObject

Corresponds to the JSON property value

Returns:

  • (Object)


10910
10911
10912
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10910

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10917
10918
10919
10920
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10917

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