Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::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].
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#code
def code() -> ::String
Returns
- (::String) — Required. The code to be executed.
#code=
def code=(value) -> ::String
Parameter
- value (::String) — Required. The code to be executed.
Returns
- (::String) — Required. The code to be executed.
#language
def language() -> ::Google::Cloud::AIPlatform::V1::ExecutableCode::Language
Returns
-
(::Google::Cloud::AIPlatform::V1::ExecutableCode::Language) — Required. Programming language of the
code
.
#language=
def language=(value) -> ::Google::Cloud::AIPlatform::V1::ExecutableCode::Language
Parameter
-
value (::Google::Cloud::AIPlatform::V1::ExecutableCode::Language) — Required. Programming language of the
code
.
Returns
-
(::Google::Cloud::AIPlatform::V1::ExecutableCode::Language) — Required. Programming language of the
code
.