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.



1365
1366
1367
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1365

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

Instance Attribute Details

#is_errorBoolean Also known as: is_error?

Corresponds to the JSON property isError

Returns:

  • (Boolean)


1357
1358
1359
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1357

def is_error
  @is_error
end

#resultString

Corresponds to the JSON property result

Returns:

  • (String)


1363
1364
1365
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1363

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1370
1371
1372
1373
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1370

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