Class: Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action::EntityOperation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/tool.rb

Overview

Entity CRUD operation specification.

Defined Under Namespace

Modules: OperationType

Instance Attribute Summary collapse

Instance Attribute Details

#entity_id::String

Returns Required. ID of the entity.

Returns:

  • (::String)

    Required. ID of the entity.



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
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 270

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

#operation::Google::Cloud::Dialogflow::V2::Tool::ConnectorTool::Action::EntityOperation::OperationType

Returns Required. Operation to perform on the entity.

Returns:



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
# File 'proto_docs/google/cloud/dialogflow/v2/tool.rb', line 270

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