Class PackageSpec (1.158.0)

PackageSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

User-provided package specification, containing pickled object and package requirements.

Attributes

Name Description
pickle_object_gcs_uri str
Optional. The Cloud Storage URI of the pickled python object.
dependency_files_gcs_uri str
Optional. The Cloud Storage URI of the dependency files in tar.gz format.
requirements_gcs_uri str
Optional. The Cloud Storage URI of the requirements.txt file
python_version str
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.

Methods

PackageSpec

PackageSpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)

User-provided package specification, containing pickled object and package requirements.