Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AntigravityAgentConfig
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AntigravityAgentConfig
- 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
Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration.
Instance Attribute Summary collapse
-
#max_total_tokens ⇒ Fixnum
Max total tokens for the agent run.
-
#model ⇒ String
The model to use for agent reasoning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1AntigravityAgentConfig
constructor
A new instance of GenaiVertexV1beta1AntigravityAgentConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1AntigravityAgentConfig
Returns a new instance of GenaiVertexV1beta1AntigravityAgentConfig.
1257 1258 1259 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1257 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_total_tokens ⇒ Fixnum
Max total tokens for the agent run.
Corresponds to the JSON property maxTotalTokens
1250 1251 1252 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1250 def max_total_tokens @max_total_tokens end |
#model ⇒ String
The model to use for agent reasoning.
Corresponds to the JSON property model
1255 1256 1257 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1255 def model @model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1262 1263 1264 1265 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1262 def update!(**args) @max_total_tokens = args[:max_total_tokens] if args.key?(:max_total_tokens) @model = args[:model] if args.key?(:model) end |