public sealed class ExecutableCode : IMessage<ExecutableCode>, IEquatable<ExecutableCode>, IDeepCloneable<ExecutableCode>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class ExecutableCode.
Code generated by the model that is meant to be executed, and the result returned to the model.
Generated when using the [FunctionDeclaration] tool and [FunctionCallingConfig] mode is set to [Mode.CODE].
Implements
IMessageExecutableCode, IEquatableExecutableCode, IDeepCloneableExecutableCode, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
ExecutableCode()
public ExecutableCode()
ExecutableCode(ExecutableCode)
public ExecutableCode(ExecutableCode other)
Parameter | |
---|---|
Name | Description |
other |
ExecutableCode |
Properties
Code
public string Code { get; set; }
Required. The code to be executed.
Property Value | |
---|---|
Type | Description |
string |
Language
public ExecutableCode.Types.Language Language { get; set; }
Required. Programming language of the code
.
Property Value | |
---|---|
Type | Description |
ExecutableCodeTypesLanguage |