Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolAction
- 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
Instance Attribute Summary collapse
-
#connection_action_id ⇒ String
Corresponds to the JSON property
connectionActionId. -
#entity_operation ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation
Corresponds to the JSON property
entityOperation. -
#input_fields ⇒ Array<String>
Corresponds to the JSON property
inputFields. -
#output_fields ⇒ Array<String>
Corresponds to the JSON property
outputFields.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolConnectorToolAction
constructor
A new instance of GoogleCloudDialogflowV2beta1ToolConnectorToolAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolConnectorToolAction
Returns a new instance of GoogleCloudDialogflowV2beta1ToolConnectorToolAction.
21724 21725 21726 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21724 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_action_id ⇒ String
Corresponds to the JSON property connectionActionId
21707 21708 21709 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21707 def connection_action_id @connection_action_id end |
#entity_operation ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation
Corresponds to the JSON property entityOperation
21712 21713 21714 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21712 def entity_operation @entity_operation end |
#input_fields ⇒ Array<String>
Corresponds to the JSON property inputFields
21717 21718 21719 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21717 def input_fields @input_fields end |
#output_fields ⇒ Array<String>
Corresponds to the JSON property outputFields
21722 21723 21724 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21722 def output_fields @output_fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21729 21730 21731 21732 21733 21734 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21729 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 |