Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Result of executing ExecutableCode.
Instance Attribute Summary collapse
-
#outcome ⇒ String
Required.
-
#output ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
constructor
A new instance of GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult
Returns a new instance of GoogleCloudDiscoveryengineV1betaAssistantContentCodeExecutionResult.
20299 20300 20301 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20299 def initialize(**args) update!(**args) end |
Instance Attribute Details
#outcome ⇒ String
Required. Outcome of the code execution.
Corresponds to the JSON property outcome
20291 20292 20293 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20291 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
20297 20298 20299 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20297 def output @output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20304 20305 20306 20307 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 20304 def update!(**args) @outcome = args[:outcome] if args.key?(:outcome) @output = args[:output] if args.key?(:output) end |