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.



5358
5359
5360
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5358

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

Instance Attribute Details

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

Corresponds to the JSON property turns



5356
5357
5358
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5356

def turns
  @turns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5363
5364
5365
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5363

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