Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,["# Interface CodeExecutionResultOrBuilder (1.32.0)\n\n public interface CodeExecutionResultOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getOutcome()\n\n public abstract CodeExecutionResult.Outcome getOutcome()\n\nRequired. Outcome of the code execution.\n\n`\n.google.cloud.vertexai.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getOutcomeValue()\n\n public abstract int getOutcomeValue()\n\nRequired. Outcome of the code execution.\n\n`\n.google.cloud.vertexai.v1.CodeExecutionResult.Outcome outcome = 1 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getOutput()\n\n public abstract String getOutput()\n\nOptional. Contains stdout when code execution is successful, stderr or\nother description otherwise.\n\n`string output = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getOutputBytes()\n\n public abstract ByteString getOutputBytes()\n\nOptional. Contains stdout when code execution is successful, stderr or\nother description otherwise.\n\n`string output = 2 [(.google.api.field_behavior) = OPTIONAL];`"]]