public sealed class ReasoningEngineSpec.Types.SourceCodeSpec.Types.PythonSpec : IMessage<ReasoningEngineSpec.Types.SourceCodeSpec.Types.PythonSpec>, IEquatable<ReasoningEngineSpec.Types.SourceCodeSpec.Types.PythonSpec>, IDeepCloneable<ReasoningEngineSpec.Types.SourceCodeSpec.Types.PythonSpec>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1beta1 API class ReasoningEngineSpec.Types.SourceCodeSpec.Types.PythonSpec.
Specification for running a Python application from source.
Implements
IMessageReasoningEngineSpecTypesSourceCodeSpecTypesPythonSpec, IEquatableReasoningEngineSpecTypesSourceCodeSpecTypesPythonSpec, IDeepCloneableReasoningEngineSpecTypesSourceCodeSpecTypesPythonSpec, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
PythonSpec()
public PythonSpec()PythonSpec(PythonSpec)
public PythonSpec(ReasoningEngineSpec.Types.SourceCodeSpec.Types.PythonSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
ReasoningEngineSpecTypesSourceCodeSpecTypesPythonSpec |
Properties
EntrypointModule
public string EntrypointModule { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
EntrypointObject
public string EntrypointObject { get; set; }Optional. The name of the callable object within the
entrypoint_module to use as the application If not specified,
defaults to "root_agent".
| Property Value | |
|---|---|
| Type | Description |
string |
|
RequirementsFile
public string RequirementsFile { get; set; }Optional. The path to the requirements file, relative to the source root. If not specified, defaults to "requirements.txt".
| Property Value | |
|---|---|
| Type | Description |
string |
|
Version
public string Version { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|