Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CodeExecutionResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CodeExecutionResult
- 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
Overview
Result of executing the [ExecutableCode]. Always follows a part containing
the [ExecutableCode].
Instance Attribute Summary collapse
-
#outcome ⇒ String
Required.
-
#output ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CodeExecutionResult
constructor
A new instance of GoogleCloudAiplatformV1beta1CodeExecutionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CodeExecutionResult
Returns a new instance of GoogleCloudAiplatformV1beta1CodeExecutionResult.
3373 3374 3375 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3373 def initialize(**args) update!(**args) end |
Instance Attribute Details
#outcome ⇒ String
Required. Outcome of the code execution.
Corresponds to the JSON property outcome
3365 3366 3367 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3365 def outcome @outcome end |
#output ⇒ String
Optional. Contains stdout when code execution is successful, stderr or other
description otherwise.
Corresponds to the JSON property output
3371 3372 3373 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3371 def output @output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3378 3379 3380 3381 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3378 def update!(**args) @outcome = args[:outcome] if args.key?(:outcome) @output = args[:output] if args.key?(:output) end |