Class: Google::Apis::FirebasemlV2beta::ToolConfig

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

Overview

Tool config. This config is shared for all tools provided in the request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ToolConfig

Returns a new instance of ToolConfig.



1178
1179
1180
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1178

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

Instance Attribute Details

#function_calling_configGoogle::Apis::FirebasemlV2beta::FunctionCallingConfig

Function calling config. Corresponds to the JSON property functionCallingConfig



1176
1177
1178
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1176

def function_calling_config
  @function_calling_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1183
1184
1185
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1183

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