Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
- 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) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAssistantContentCodeExecutionResult.
8949 8950 8951 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8949 def initialize(**args) update!(**args) end |
Instance Attribute Details
#outcome ⇒ String
Required. Outcome of the code execution.
Corresponds to the JSON property outcome
8941 8942 8943 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8941 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
8947 8948 8949 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8947 def output @output end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8954 8955 8956 8957 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 8954 def update!(**args) @outcome = args[:outcome] if args.key?(:outcome) @output = args[:output] if args.key?(:output) end |