Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolUse

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

Returns a new instance of GoogleCloudDialogflowCxV3ToolUse.



8398
8399
8400
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8398

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

Instance Attribute Details

#actionString

Corresponds to the JSON property action

Returns:

  • (String)


8376
8377
8378
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8376

def action
  @action
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


8381
8382
8383
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8381

def display_name
  @display_name
end

#input_action_parametersHash<String,Object>

Corresponds to the JSON property inputActionParameters

Returns:

  • (Hash<String,Object>)


8386
8387
8388
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8386

def input_action_parameters
  @input_action_parameters
end

#output_action_parametersHash<String,Object>

Corresponds to the JSON property outputActionParameters

Returns:

  • (Hash<String,Object>)


8391
8392
8393
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8391

def output_action_parameters
  @output_action_parameters
end

#toolString

Corresponds to the JSON property tool

Returns:

  • (String)


8396
8397
8398
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8396

def tool
  @tool
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8403
8404
8405
8406
8407
8408
8409
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8403

def update!(**args)
  @action = args[:action] if args.key?(:action)
  @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)
end