Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::AssistantContent::CodeExecutionResult.
Result of executing ExecutableCode.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#outcome
def outcome() -> ::Google::Cloud::DiscoveryEngine::V1::AssistantContent::CodeExecutionResult::Outcome
Returns
- (::Google::Cloud::DiscoveryEngine::V1::AssistantContent::CodeExecutionResult::Outcome) — Required. Outcome of the code execution.
#outcome=
def outcome=(value) -> ::Google::Cloud::DiscoveryEngine::V1::AssistantContent::CodeExecutionResult::Outcome
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::AssistantContent::CodeExecutionResult::Outcome) — Required. Outcome of the code execution.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::AssistantContent::CodeExecutionResult::Outcome) — Required. Outcome of the code execution.
#output
def output() -> ::String
Returns
- (::String) — Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
#output=
def output=(value) -> ::String
Parameter
- value (::String) — Optional. Contains stdout when code execution is successful, stderr or other description otherwise.
Returns
- (::String) — Optional. Contains stdout when code execution is successful, stderr or other description otherwise.