Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolCallResultError

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

Overview

An error produced by the tool call.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolCallResultError

Returns a new instance of GoogleCloudDialogflowV2beta1ToolCallResultError.



23807
23808
23809
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23807

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)


23805
23806
23807
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23805

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23812
23813
23814
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23812

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