Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation

Inherits:
Object
  • Object
show all
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

Overview

Entity CRUD operation specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation

Returns a new instance of GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation.



23896
23897
23898
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23896

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#entity_idString

Required. ID of the entity. Corresponds to the JSON property entityId

Returns:

  • (String)


23889
23890
23891
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23889

def entity_id
  @entity_id
end

#operationString

Required. Operation to perform on the entity. Corresponds to the JSON property operation

Returns:

  • (String)


23894
23895
23896
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23894

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23901
23902
23903
23904
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 23901

def update!(**args)
  @entity_id = args[:entity_id] if args.key?(:entity_id)
  @operation = args[:operation] if args.key?(:operation)
end