Class: Google::Apis::FirebasemlV2beta::ToolConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::ToolConfig
- 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
-
#function_calling_config ⇒ Google::Apis::FirebasemlV2beta::FunctionCallingConfig
Function calling config.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ToolConfig
constructor
A new instance of ToolConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ToolConfig
Returns a new instance of ToolConfig.
1168 1169 1170 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1168 def initialize(**args) update!(**args) end |
Instance Attribute Details
#function_calling_config ⇒ Google::Apis::FirebasemlV2beta::FunctionCallingConfig
Function calling config.
Corresponds to the JSON property functionCallingConfig
1166 1167 1168 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1166 def function_calling_config @function_calling_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1173 1174 1175 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1173 def update!(**args) @function_calling_config = args[:function_calling_config] if args.key?(:function_calling_config) end |