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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation

Returns a new instance of GoogleCloudDialogflowV2beta1ToolConnectorToolActionEntityOperation.



21531
21532
21533
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21531

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

Instance Attribute Details

#entity_idString

Corresponds to the JSON property entityId

Returns:

  • (String)


21524
21525
21526
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21524

def entity_id
  @entity_id
end

#operationString

Corresponds to the JSON property operation

Returns:

  • (String)


21529
21530
21531
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21529

def operation
  @operation
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21536
21537
21538
21539
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 21536

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