Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1ToolCallResultError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolCallResultError

Returns a new instance of GoogleCloudDialogflowV2beta1ToolCallResultError.



21668
21669
21670
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21668

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

Instance Attribute Details

#messageString

Corresponds to the JSON property message

Returns:

  • (String)


21660
21661
21662
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21660

def message
  @message
end

#retryableBoolean Also known as: retryable?

Corresponds to the JSON property retryable

Returns:

  • (Boolean)


21665
21666
21667
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21665

def retryable
  @retryable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21673
21674
21675
21676
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 21673

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