Class: Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::PythonSpec
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::PythonSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb
Overview
Specification for running a Python application from source.
Instance Attribute Summary collapse
-
#entrypoint_module ⇒ ::String
Optional.
-
#entrypoint_object ⇒ ::String
Optional.
-
#requirements_file ⇒ ::String
Optional.
-
#version ⇒ ::String
Optional.
Instance Attribute Details
#entrypoint_module ⇒ ::String
Returns Optional. The Python module to load as the entrypoint, specified as a fully qualified module name. For example: path.to.agent. If not specified, defaults to "agent".
The project root will be added to Python sys.path, allowing imports to be specified relative to the root.
218 219 220 221 |
# File 'proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb', line 218 class PythonSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#entrypoint_object ⇒ ::String
Returns Optional. The name of the callable object within the
entrypoint_module to use as the application If not specified,
defaults to "root_agent".
218 219 220 221 |
# File 'proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb', line 218 class PythonSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#requirements_file ⇒ ::String
Returns Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
218 219 220 221 |
# File 'proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb', line 218 class PythonSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#version ⇒ ::String
Returns Optional. The version of Python to use. Support version includes 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, default value is 3.10.
218 219 220 221 |
# File 'proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb', line 218 class PythonSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |