Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation
- 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
Overview
Entity CRUD operation specification.
Instance Attribute Summary collapse
-
#entity_id ⇒ String
Required.
-
#operation ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation
constructor
A new instance of GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation
Returns a new instance of GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation.
19194 19195 19196 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19194 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_id ⇒ String
Required. ID of the entity.
Corresponds to the JSON property entityId
19187 19188 19189 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19187 def entity_id @entity_id end |
#operation ⇒ String
Required. Operation to perform on the entity.
Corresponds to the JSON property operation
19192 19193 19194 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19192 def operation @operation end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19199 19200 19201 19202 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 19199 def update!(**args) @entity_id = args[:entity_id] if args.key?(:entity_id) @operation = args[:operation] if args.key?(:operation) end |