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.



1042
1043
1044
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1042

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)


1035
1036
1037
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1035

def max_total_tokens
  @max_total_tokens
end

#modelString

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

Returns:

  • (String)


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