Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb

Overview

Entity CRUD operation specification.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation

Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolConnectorToolActionEntityOperation.



14640
14641
14642
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14640

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

Instance Attribute Details

#entity_idString

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

Returns:

  • (String)


14633
14634
14635
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14633

def entity_id
  @entity_id
end

#operationString

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

Returns:

  • (String)


14638
14639
14640
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14638

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14645
14646
14647
14648
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14645

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