Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall

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

Stores the metadata of a function call to execute.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall

Returns a new instance of GoogleCloudDialogflowCxV3beta1ActionFlowStateUpdateFunctionCall.



4167
4168
4169
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4167

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

Instance Attribute Details

#nameString

The name of the function call. Corresponds to the JSON property name

Returns:

  • (String)


4165
4166
4167
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4165

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4172
4173
4174
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4172

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