Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig

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 configuration of CodeMender sessions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig

Returns a new instance of GenaiVertexV1beta1CodeMenderAgentConfigSessionConfig.



1777
1778
1779
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1777

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

Instance Attribute Details

#max_roundsFixnum

The maximum number of interaction rounds the agent is allowed to perform before reaching a timeout. Corresponds to the JSON property maxRounds

Returns:

  • (Fixnum)


1775
1776
1777
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1775

def max_rounds
  @max_rounds
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1782
1783
1784
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1782

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