Class: Google::Cloud::AIPlatform::V1::PythonPackageSpec
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::PythonPackageSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/custom_job.rb
Overview
The spec of a Python packaged code.
Instance Attribute Summary collapse
-
#args ⇒ ::Array<::String>
Command line arguments to be passed to the Python task.
-
#env ⇒ ::Array<::Google::Cloud::AIPlatform::V1::EnvVar>
Environment variables to be passed to the python module.
-
#executor_image_uri ⇒ ::String
Required.
-
#package_uris ⇒ ::Array<::String>
Required.
-
#python_module ⇒ ::String
Required.
Instance Attribute Details
#args ⇒ ::Array<::String>
Returns Command line arguments to be passed to the Python task.
326 327 328 329 |
# File 'proto_docs/google/cloud/aiplatform/v1/custom_job.rb', line 326 class PythonPackageSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#env ⇒ ::Array<::Google::Cloud::AIPlatform::V1::EnvVar>
Returns Environment variables to be passed to the python module. Maximum limit is 100.
326 327 328 329 |
# File 'proto_docs/google/cloud/aiplatform/v1/custom_job.rb', line 326 class PythonPackageSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#executor_image_uri ⇒ ::String
Returns Required. The URI of a container image in Artifact Registry that will run the provided Python package. Vertex AI provides a wide range of executor images with pre-installed packages to meet users' various use cases. See the list of pre-built containers for training. You must use an image from this list.
326 327 328 329 |
# File 'proto_docs/google/cloud/aiplatform/v1/custom_job.rb', line 326 class PythonPackageSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#package_uris ⇒ ::Array<::String>
Returns Required. The Google Cloud Storage location of the Python package files which are the training program and its dependent packages. The maximum number of package URIs is 100.
326 327 328 329 |
# File 'proto_docs/google/cloud/aiplatform/v1/custom_job.rb', line 326 class PythonPackageSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#python_module ⇒ ::String
Returns Required. The Python module name to run after installing the packages.
326 327 328 329 |
# File 'proto_docs/google/cloud/aiplatform/v1/custom_job.rb', line 326 class PythonPackageSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |