Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class PackageSpec.
User provided package spec like 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. Currently support 3.8, 3.9, 3.10, 3.11. If not specified, 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. Currently support 3.8, 3.9, 3.10, 3.11.
If not specified, default value is 3.10.
| Returns | |
|---|---|
| Type | Description |
string |
|
setPythonVersion
Optional. The Python version. Currently support 3.8, 3.9, 3.10, 3.11.
If not specified, default value is 3.10.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|