Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AntigravityAgentConfig

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

Configuration for the Antigravity agent runtime. Provides server-side control over the agent's execution environment and tool configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_tokensFixnum

Max total tokens for the agent run. Corresponds to the JSON property maxTotalTokens

Returns:

  • (Fixnum)


1250
1251
1252
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1250

def max_total_tokens
  @max_total_tokens
end

#modelString

The model to use for agent reasoning. Corresponds to the JSON property model

Returns:

  • (String)


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