Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ToolCallResultError

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

Overview

An error produced by the tool call.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolCallResultError

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolCallResultError.



7109
7110
7111
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7109

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

Instance Attribute Details

#messageString

Optional. The error message of the function. Corresponds to the JSON property message

Returns:

  • (String)


7107
7108
7109
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7107

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7114
7115
7116
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7114

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