Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResultError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolCallResultError

Returns a new instance of GoogleCloudDialogflowV2ToolCallResultError.



17258
17259
17260
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17258

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

Instance Attribute Details

#messageString

Corresponds to the JSON property message

Returns:

  • (String)


17256
17257
17258
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17256

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17263
17264
17265
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17263

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