Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolChoiceConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolChoiceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
The tool choice configuration containing allowed tools.
Instance Attribute Summary collapse
-
#allowed_tools ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AllowedTools
The configuration for allowed tools.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1ToolChoiceConfig
constructor
A new instance of GenaiVertexV1beta1ToolChoiceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1ToolChoiceConfig
Returns a new instance of GenaiVertexV1beta1ToolChoiceConfig.
4699 4700 4701 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_tools ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AllowedTools
The configuration for allowed tools.
Corresponds to the JSON property allowed_tools
4697 4698 4699 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4697 def allowed_tools @allowed_tools end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4704 4705 4706 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4704 def update!(**args) @allowed_tools = args[:allowed_tools] if args.key?(:allowed_tools) end |