Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultDelta

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

Returns a new instance of GenaiVertexV1beta1CodeExecutionResultDelta.



1261
1262
1263
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1261

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

Instance Attribute Details

#is_errorBoolean Also known as: is_error?

Corresponds to the JSON property is_error

Returns:

  • (Boolean)


1253
1254
1255
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1253

def is_error
  @is_error
end

#resultString

Corresponds to the JSON property result

Returns:

  • (String)


1259
1260
1261
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1259

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1266
1267
1268
1269
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1266

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