Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction
- 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
Overview
Configuration of a Connection operation for the tool to use.
Instance Attribute Summary collapse
-
#connection_action_id ⇒ String
ID of a Connection action for the tool to use.
-
#entity_operation ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation
Entity CRUD operation specification.
-
#input_fields ⇒ Array<String>
Optional.
-
#output_fields ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolConnectorToolAction.
14613 14614 14615 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14613 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_action_id ⇒ String
ID of a Connection action for the tool to use.
Corresponds to the JSON property connectionActionId
14594 14595 14596 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14594 def connection_action_id @connection_action_id end |
#entity_operation ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation
Entity CRUD operation specification.
Corresponds to the JSON property entityOperation
14599 14600 14601 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14599 def entity_operation @entity_operation end |
#input_fields ⇒ Array<String>
Optional. Entity fields to use as inputs for the operation. If no fields are
specified, all fields of the Entity will be used.
Corresponds to the JSON property inputFields
14605 14606 14607 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14605 def input_fields @input_fields end |
#output_fields ⇒ Array<String>
Optional. Entity fields to return from the operation. If no fields are
specified, all fields of the Entity will be returned.
Corresponds to the JSON property outputFields
14611 14612 14613 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14611 def output_fields @output_fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14618 14619 14620 14621 14622 14623 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14618 def update!(**args) @connection_action_id = args[:connection_action_id] if args.key?(:connection_action_id) @entity_operation = args[:entity_operation] if args.key?(:entity_operation) @input_fields = args[:input_fields] if args.key?(:input_fields) @output_fields = args[:output_fields] if args.key?(:output_fields) end |