Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult
- Inherits:
-
Object
- Object
- Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseml_v2beta/classes.rb,
lib/google/apis/firebaseml_v2beta/representations.rb,
lib/google/apis/firebaseml_v2beta/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) ⇒ 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.
573 574 575 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 573 def initialize(**args) update!(**args) end |
Instance Attribute Details
#outcome ⇒ String
Required. Outcome of the code execution.
Corresponds to the JSON property outcome
565 566 567 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 565 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
571 572 573 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 571 def output @output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
578 579 580 581 |
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 578 def update!(**args) @outcome = args[:outcome] if args.key?(:outcome) @output = args[:output] if args.key?(:output) end |