Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultDelta
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultDelta
- 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
-
#is_error ⇒ Boolean
(also: #is_error?)
Corresponds to the JSON property
isError. -
#result ⇒ String
Corresponds to the JSON property
result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1CodeExecutionResultDelta
constructor
A new instance of GenaiVertexV1beta1CodeExecutionResultDelta.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1CodeExecutionResultDelta
Returns a new instance of GenaiVertexV1beta1CodeExecutionResultDelta.
1237 1238 1239 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1237 def initialize(**args) update!(**args) end |
Instance Attribute Details
#is_error ⇒ Boolean Also known as: is_error?
Corresponds to the JSON property isError
1229 1230 1231 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1229 def is_error @is_error end |
#result ⇒ String
Corresponds to the JSON property result
1235 1236 1237 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1235 def result @result end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1242 1243 1244 1245 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1242 def update!(**args) @is_error = args[:is_error] if args.key?(:is_error) @result = args[:result] if args.key?(:result) end |