Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ToolFunctionTool

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ToolFunctionTool

Returns a new instance of GoogleCloudDialogflowCxV3ToolFunctionTool.



8263
8264
8265
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8263

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

Instance Attribute Details

#input_schemaHash<String,Object>

Corresponds to the JSON property inputSchema

Returns:

  • (Hash<String,Object>)


8256
8257
8258
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8256

def input_schema
  @input_schema
end

#output_schemaHash<String,Object>

Corresponds to the JSON property outputSchema

Returns:

  • (Hash<String,Object>)


8261
8262
8263
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8261

def output_schema
  @output_schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8268
8269
8270
8271
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 8268

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