Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction
- 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
Instance Attribute Summary collapse
-
#connection_action_id ⇒ String
Corresponds to the JSON property
connectionActionId. -
#entity_operation ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation
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) ⇒ GoogleCloudDialogflowV2ToolConnectorToolAction
constructor
A new instance of GoogleCloudDialogflowV2ToolConnectorToolAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolConnectorToolAction
Returns a new instance of GoogleCloudDialogflowV2ToolConnectorToolAction.
17426 17427 17428 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17426 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_action_id ⇒ String
Corresponds to the JSON property connectionActionId
17409 17410 17411 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17409 def connection_action_id @connection_action_id end |
#entity_operation ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation
Corresponds to the JSON property entityOperation
17414 17415 17416 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17414 def entity_operation @entity_operation end |
#input_fields ⇒ Array<String>
Corresponds to the JSON property inputFields
17419 17420 17421 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17419 def input_fields @input_fields end |
#output_fields ⇒ Array<String>
Corresponds to the JSON property outputFields
17424 17425 17426 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17424 def output_fields @output_fields end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17431 17432 17433 17434 17435 17436 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17431 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 |