Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::PythonPackageSpec (v0.3.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::PythonPackageSpec.

The spec of a Python packaged code.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#args

def args() -> ::Array<::String>
Returns
  • (::Array<::String>) — Command line arguments to be passed to the Python task.

#args=

def args=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Command line arguments to be passed to the Python task.
Returns
  • (::Array<::String>) — Command line arguments to be passed to the Python task.

#env

def env() -> ::Array<::Google::Cloud::AIPlatform::V1::EnvVar>
Returns

#env=

def env=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::EnvVar>
Parameter
Returns

#executor_image_uri

def executor_image_uri() -> ::String
Returns
  • (::String) — 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.

#executor_image_uri=

def executor_image_uri=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#package_uris

def package_uris() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#package_uris=

def package_uris=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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.

#python_module

def python_module() -> ::String
Returns
  • (::String) — Required. The Python module name to run after installing the packages.

#python_module=

def python_module=(value) -> ::String
Parameter
  • value (::String) — Required. The Python module name to run after installing the packages.
Returns
  • (::String) — Required. The Python module name to run after installing the packages.