Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1StepDelta

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) ⇒ GenaiVertexV1beta1StepDelta

Returns a new instance of GenaiVertexV1beta1StepDelta.



4915
4916
4917
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4915

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

Instance Attribute Details

#deltaGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1StepDeltaData

Corresponds to the JSON property delta



4908
4909
4910
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4908

def delta
  @delta
end

#indexFixnum

Corresponds to the JSON property index

Returns:

  • (Fixnum)


4913
4914
4915
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4913

def index
  @index
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4920
4921
4922
4923
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4920

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