Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorTool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
A ConnectorTool enabling using Integration Connectors Connections as tools.
Instance Attribute Summary collapse
-
#actions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction>
Required.
-
#name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolConnectorTool
constructor
A new instance of GoogleCloudDialogflowV2beta1ToolConnectorTool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolConnectorTool
Returns a new instance of GoogleCloudDialogflowV2beta1ToolConnectorTool.
23832 23833 23834 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23832 def initialize(**args) update!(**args) end |
Instance Attribute Details
#actions ⇒ Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction>
Required. Actions for the tool to use.
Corresponds to the JSON property actions
23824 23825 23826 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23824 def actions @actions end |
#name ⇒ String
Required. The full resource name of the referenced Integration Connectors
Connection. Format: 'projects//locations//connections/*'
Corresponds to the JSON property name
23830 23831 23832 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23830 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23837 23838 23839 23840 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23837 def update!(**args) @actions = args[:actions] if args.key?(:actions) @name = args[:name] if args.key?(:name) end |