Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUse

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

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolUse.



13130
13131
13132
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13130

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

Instance Attribute Details

#actionString

Corresponds to the JSON property action

Returns:

  • (String)


13098
13099
13100
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13098

def action
  @action
end

#data_store_tool_traceGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUseDataStoreToolTrace

Corresponds to the JSON property dataStoreToolTrace



13103
13104
13105
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13103

def data_store_tool_trace
  @data_store_tool_trace
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


13108
13109
13110
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13108

def display_name
  @display_name
end

#input_action_parametersHash<String,Object>

Corresponds to the JSON property inputActionParameters

Returns:

  • (Hash<String,Object>)


13113
13114
13115
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13113

def input_action_parameters
  @input_action_parameters
end

#output_action_parametersHash<String,Object>

Corresponds to the JSON property outputActionParameters

Returns:

  • (Hash<String,Object>)


13118
13119
13120
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13118

def output_action_parameters
  @output_action_parameters
end

#toolString

Corresponds to the JSON property tool

Returns:

  • (String)


13123
13124
13125
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13123

def tool
  @tool
end

#webhook_tool_traceGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolUseWebhookToolTrace

Corresponds to the JSON property webhookToolTrace



13128
13129
13130
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13128

def webhook_tool_trace
  @webhook_tool_trace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13135
13136
13137
13138
13139
13140
13141
13142
13143
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13135

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @data_store_tool_trace = args[:data_store_tool_trace] if args.key?(:data_store_tool_trace)
  @display_name = args[:display_name] if args.key?(:display_name)
  @input_action_parameters = args[:input_action_parameters] if args.key?(:input_action_parameters)
  @output_action_parameters = args[:output_action_parameters] if args.key?(:output_action_parameters)
  @tool = args[:tool] if args.key?(:tool)
  @webhook_tool_trace = args[:webhook_tool_trace] if args.key?(:webhook_tool_trace)
end