Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolChoiceConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1ToolChoiceConfig

Returns a new instance of GenaiVertexV1beta1ToolChoiceConfig.



6094
6095
6096
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6094

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

Instance Attribute Details

#allowed_toolsGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1AllowedTools

The configuration for allowed tools. Corresponds to the JSON property allowedTools



6092
6093
6094
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6092

def allowed_tools
  @allowed_tools
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6099
6100
6101
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6099

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