Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError

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) ⇒ GoogleCloudDialogflowV2beta1ToolCallResultError

Returns a new instance of GoogleCloudDialogflowV2beta1ToolCallResultError.



22598
22599
22600
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22598

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

Instance Attribute Details

#messageString

Corresponds to the JSON property message

Returns:

  • (String)


22590
22591
22592
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22590

def message
  @message
end

#retryableBoolean Also known as: retryable?

Corresponds to the JSON property retryable

Returns:

  • (Boolean)


22595
22596
22597
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22595

def retryable
  @retryable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22603
22604
22605
22606
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 22603

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