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.
1042 1043 1044 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1042 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
1035 1036 1037 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1035 def max_total_tokens @max_total_tokens end |
#model ⇒ String
The model to use for agent reasoning.
Corresponds to the JSON property model
1040 1041 1042 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1040 def model @model end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1047 1048 1049 1050 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1047 def update!(**args) @max_total_tokens = args[:max_total_tokens] if args.key?(:max_total_tokens) @model = args[:model] if args.key?(:model) end |