Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolAction

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) ⇒ GoogleCloudDialogflowV2ToolConnectorToolAction

Returns a new instance of GoogleCloudDialogflowV2ToolConnectorToolAction.



17266
17267
17268
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17266

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

Instance Attribute Details

#connection_action_idString

Corresponds to the JSON property connectionActionId

Returns:

  • (String)


17249
17250
17251
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17249

def connection_action_id
  @connection_action_id
end

#entity_operationGoogle::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolConnectorToolActionEntityOperation

Corresponds to the JSON property entityOperation



17254
17255
17256
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17254

def entity_operation
  @entity_operation
end

#input_fieldsArray<String>

Corresponds to the JSON property inputFields

Returns:

  • (Array<String>)


17259
17260
17261
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17259

def input_fields
  @input_fields
end

#output_fieldsArray<String>

Corresponds to the JSON property outputFields

Returns:

  • (Array<String>)


17264
17265
17266
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17264

def output_fields
  @output_fields
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17271
17272
17273
17274
17275
17276
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17271

def update!(**args)
  @connection_action_id = args[:connection_action_id] if args.key?(:connection_action_id)
  @entity_operation = args[:entity_operation] if args.key?(:entity_operation)
  @input_fields = args[:input_fields] if args.key?(:input_fields)
  @output_fields = args[:output_fields] if args.key?(:output_fields)
end