Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CodeExecutionResult
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CodeExecutionResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Result of executing the ExecutableCode. Generated only when the CodeExecution
tool is used.
Instance Attribute Summary collapse
-
#outcome ⇒ String
Required.
-
#output ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1CodeExecutionResult
constructor
A new instance of GoogleCloudAiplatformV1CodeExecutionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1CodeExecutionResult
Returns a new instance of GoogleCloudAiplatformV1CodeExecutionResult.
4061 4062 4063 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4061 def initialize(**args) update!(**args) end |
Instance Attribute Details
#outcome ⇒ String
Required. Outcome of the code execution.
Corresponds to the JSON property outcome
4053 4054 4055 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4053 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
4059 4060 4061 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4059 def output @output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4066 4067 4068 4069 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 4066 def update!(**args) @outcome = args[:outcome] if args.key?(:outcome) @output = args[:output] if args.key?(:output) end |