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. Generated only when the CodeExecution
tool is used.
Instance Attribute Summary collapse
-
#id ⇒ String
Optional.
-
#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.
12425 12426 12427 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12425 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Optional. The identifier of the ExecutableCode part this result is for. Only
populated if the corresponding ExecutableCode has an id.
Corresponds to the JSON property id
12412 12413 12414 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12412 def id @id end |
#outcome ⇒ String
Required. Outcome of the code execution.
Corresponds to the JSON property outcome
12417 12418 12419 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12417 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
12423 12424 12425 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12423 def output @output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12430 12431 12432 12433 12434 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 12430 def update!(**args) @id = args[:id] if args.key?(:id) @outcome = args[:outcome] if args.key?(:outcome) @output = args[:output] if args.key?(:output) end |