Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo

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

Returns a new instance of GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo.



19373
19374
19375
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19373

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

Instance Attribute Details

#tool_callGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCall

Corresponds to the JSON property toolCall



19366
19367
19368
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19366

def tool_call
  @tool_call
end

#tool_call_resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResult

Corresponds to the JSON property toolCallResult



19371
19372
19373
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19371

def tool_call_result
  @tool_call_result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19378
19379
19380
19381
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 19378

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