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.



17621
17622
17623
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17621

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

Instance Attribute Details

#messageString

Corresponds to the JSON property message

Returns:

  • (String)


17613
17614
17615
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17613

def message
  @message
end

#retryableBoolean Also known as: retryable?

Corresponds to the JSON property retryable

Returns:

  • (Boolean)


17618
17619
17620
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17618

def retryable
  @retryable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17626
17627
17628
17629
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17626

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