Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation

Returns a new instance of GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation.



17293
17294
17295
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17293

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

Instance Attribute Details

#entity_idString

Corresponds to the JSON property entityId

Returns:

  • (String)


17286
17287
17288
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17286

def entity_id
  @entity_id
end

#operationString

Corresponds to the JSON property operation

Returns:

  • (String)


17291
17292
17293
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17291

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17298
17299
17300
17301
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17298

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