Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TurnList

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

A list of Turns.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1TurnList

Returns a new instance of GenaiVertexV1beta1TurnList.



6181
6182
6183
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6181

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

Instance Attribute Details

#turnsArray<Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Turn>

Corresponds to the JSON property turns



6179
6180
6181
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6179

def turns
  @turns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6186
6187
6188
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6186

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