Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1StepStart

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1StepStart

Returns a new instance of GenaiVertexV1beta1StepStart.



4140
4141
4142
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4140

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

Instance Attribute Details

#indexFixnum

Corresponds to the JSON property index

Returns:

  • (Fixnum)


4133
4134
4135
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4133

def index
  @index
end

#stepGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1Step

A step in the interaction. Corresponds to the JSON property step



4138
4139
4140
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4138

def step
  @step
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4145
4146
4147
4148
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4145

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