Class PackageSpec (1.48.0)

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

User provided package spec like pickled object and package requirements.

Attributes

NameDescription
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. Currently support 3.8, 3.9, 3.10, 3.11. If not specified, default value is 3.10.

Methods

PackageSpec

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

User provided package spec like pickled object and package requirements.