public sealed class Tool.Types.CodeExecution : IMessage<Tool.Types.CodeExecution>, IEquatable<Tool.Types.CodeExecution>, IDeepCloneable<Tool.Types.CodeExecution>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1 API class Tool.Types.CodeExecution.
Tool that executes code generated by the model, and automatically returns
the result to the model.
See also [ExecutableCode]and [CodeExecutionResult] which are input and
output to this tool.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThe document provides reference documentation for the \u003ccode\u003eTool.Types.CodeExecution\u003c/code\u003e class in the Vertex AI v1 API, which is used to execute code generated by a model.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1\u003c/code\u003e namespace and is available in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists numerous versions of the API, ranging from the latest [3.22.0] down to [1.0.0], with each version linking to specific documentation for the \u003ccode\u003eCodeExecution\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTool.Types.CodeExecution\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its functionality and usage within the API.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details two constructors for the \u003ccode\u003eCodeExecution\u003c/code\u003e class, one default constructor and another that accepts an existing \u003ccode\u003eCodeExecution\u003c/code\u003e object as a parameter for creating a copy.\u003c/p\u003e\n"]]],[],null,[]]