Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PackageSpec.
User-provided package specification, containing pickled object and package requirements.
Generated from protobuf message google.cloud.aiplatform.v1.ReasoningEngineSpec.PackageSpec
Namespace
Google \ Cloud \ AIPlatform \ V1 \ ReasoningEngineSpecMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ pickle_object_gcs_uri |
string
Optional. The Cloud Storage URI of the pickled python object. |
↳ dependency_files_gcs_uri |
string
Optional. The Cloud Storage URI of the dependency files in tar.gz format. |
↳ requirements_gcs_uri |
string
Optional. The Cloud Storage URI of the |
↳ python_version |
string
Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, the default value is 3.10. |
getPickleObjectGcsUri
Optional. The Cloud Storage URI of the pickled python object.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPickleObjectGcsUri
Optional. The Cloud Storage URI of the pickled python object.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDependencyFilesGcsUri
Optional. The Cloud Storage URI of the dependency files in tar.gz format.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDependencyFilesGcsUri
Optional. The Cloud Storage URI of the dependency files in tar.gz format.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRequirementsGcsUri
Optional. The Cloud Storage URI of the requirements.txt file
| Returns | |
|---|---|
| Type | Description |
string |
|
setRequirementsGcsUri
Optional. The Cloud Storage URI of the requirements.txt file
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPythonVersion
Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, the default value is 3.10.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPythonVersion
Optional. The Python version. Supported values are 3.9, 3.10, 3.11, 3.12, 3.13. If not specified, the default value is 3.10.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|