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.



1295
1296
1297
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1295

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

Instance Attribute Details

#is_errorBoolean Also known as: is_error?

Corresponds to the JSON property isError

Returns:

  • (Boolean)


1287
1288
1289
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1287

def is_error
  @is_error
end

#resultString

Corresponds to the JSON property result

Returns:

  • (String)


1293
1294
1295
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1293

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1300
1301
1302
1303
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1300

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