Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResultError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolCallResultError

Returns a new instance of GoogleCloudDialogflowV2beta1ToolCallResultError.



22734
22735
22736
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 22734

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

Instance Attribute Details

#messageString

Corresponds to the JSON property message

Returns:

  • (String)


22732
22733
22734
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 22732

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22739
22740
22741
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 22739

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