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.
21504 21505 21506 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21504 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_action_id ⇒ String
Corresponds to the JSON property connectionActionId
21487 21488 21489 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21487 def connection_action_id @connection_action_id end |
#entity_operation ⇒ Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation
Corresponds to the JSON property entityOperation
21492 21493 21494 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21492 def entity_operation @entity_operation end |
#input_fields ⇒ Array<String>
Corresponds to the JSON property inputFields
21497 21498 21499 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21497 def input_fields @input_fields end |
#output_fields ⇒ Array<String>
Corresponds to the JSON property outputFields
21502 21503 21504 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21502 def output_fields @output_fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21509 21510 21511 21512 21513 21514 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21509 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 |