Class: Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/v2/tool.rb
Overview
Configuration of a Connection operation for the tool to use.
Defined Under Namespace
Classes: EntityOperation
Instance Attribute Summary collapse
-
#connection_action_id ⇒ ::String
ID of a Connection action for the tool to use.
-
#entity_operation ⇒ ::Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action::EntityOperation
Entity operation configuration for the tool to use.
-
#input_fields ⇒ ::Array<::String>
Optional.
-
#output_fields ⇒ ::Array<::String>
Optional.
Instance Attribute Details
#connection_action_id ⇒ ::String
Returns ID of a Connection action for the tool to use.
Note: The following fields are mutually exclusive: connection_action_id, entity_operation. If a field in that set is populated, all other fields in the set will automatically be cleared.
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 259 class Action include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Entity CRUD operation specification. # @!attribute [rw] entity_id # @return [::String] # Required. ID of the entity. # @!attribute [rw] operation # @return [::Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action::EntityOperation::OperationType] # Required. Operation to perform on the entity. class EntityOperation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The operation to perform on the entity. module OperationType # Operation type unspecified. Invalid, ConnectorTool create/update # will fail. OPERATION_TYPE_UNSPECIFIED = 0 # List operation. LIST = 1 # Get operation. GET = 2 # Create operation. CREATE = 3 # Update operation. UPDATE = 4 # Delete operation. DELETE = 5 end end end |
#entity_operation ⇒ ::Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action::EntityOperation
Returns Entity operation configuration for the tool to use.
Note: The following fields are mutually exclusive: entity_operation, connection_action_id. If a field in that set is populated, all other fields in the set will automatically be cleared.
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 259 class Action include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Entity CRUD operation specification. # @!attribute [rw] entity_id # @return [::String] # Required. ID of the entity. # @!attribute [rw] operation # @return [::Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action::EntityOperation::OperationType] # Required. Operation to perform on the entity. class EntityOperation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The operation to perform on the entity. module OperationType # Operation type unspecified. Invalid, ConnectorTool create/update # will fail. OPERATION_TYPE_UNSPECIFIED = 0 # List operation. LIST = 1 # Get operation. GET = 2 # Create operation. CREATE = 3 # Update operation. UPDATE = 4 # Delete operation. DELETE = 5 end end end |
#input_fields ⇒ ::Array<::String>
Returns Optional. Entity fields to use as inputs for the operation. If no fields are specified, all fields of the Entity will be used.
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 259 class Action include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Entity CRUD operation specification. # @!attribute [rw] entity_id # @return [::String] # Required. ID of the entity. # @!attribute [rw] operation # @return [::Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action::EntityOperation::OperationType] # Required. Operation to perform on the entity. class EntityOperation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The operation to perform on the entity. module OperationType # Operation type unspecified. Invalid, ConnectorTool create/update # will fail. OPERATION_TYPE_UNSPECIFIED = 0 # List operation. LIST = 1 # Get operation. GET = 2 # Create operation. CREATE = 3 # Update operation. UPDATE = 4 # Delete operation. DELETE = 5 end end end |
#output_fields ⇒ ::Array<::String>
Returns Optional. Entity fields to return from the operation. If no fields are specified, all fields of the Entity will be returned.
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 |
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 259 class Action include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Entity CRUD operation specification. # @!attribute [rw] entity_id # @return [::String] # Required. ID of the entity. # @!attribute [rw] operation # @return [::Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action::EntityOperation::OperationType] # Required. Operation to perform on the entity. class EntityOperation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The operation to perform on the entity. module OperationType # Operation type unspecified. Invalid, ConnectorTool create/update # will fail. OPERATION_TYPE_UNSPECIFIED = 0 # List operation. LIST = 1 # Get operation. GET = 2 # Create operation. CREATE = 3 # Update operation. UPDATE = 4 # Delete operation. DELETE = 5 end end end |