Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorTool

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

Overview

A ConnectorTool enabling using Integration Connectors Connections as tools.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolConnectorTool

Returns a new instance of GoogleCloudDialogflowV2ToolConnectorTool.



19130
19131
19132
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19130

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

Instance Attribute Details

#actionsArray<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction>

Required. Actions for the tool to use. Corresponds to the JSON property actions



19122
19123
19124
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19122

def actions
  @actions
end

#nameString

Required. The full resource name of the referenced Integration Connectors Connection. Format: 'projects//locations//connections/*' Corresponds to the JSON property name

Returns:

  • (String)


19128
19129
19130
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19128

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19135
19136
19137
19138
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19135

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