Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ExecutableCode (v0.63.0)

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

#language=

def language=(value) -> ::Google::Cloud::AIPlatform::V1::ExecutableCode::Language
Parameter
Returns