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.



5923
5924
5925
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5923

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

Instance Attribute Details

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

Corresponds to the JSON property turns



5921
5922
5923
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5921

def turns
  @turns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5928
5929
5930
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 5928

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