View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PythonPackageSpec (google_api_ai_platform v0.13.0)

The spec of a Python packaged code.

Attributes

  • args (type: list(String.t), default: nil) - Command line arguments to be passed to the Python task.
  • env (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1EnvVar.t), default: nil) - Environment variables to be passed to the python module. Maximum limit is 100.
  • executorImageUri (type: String.t, default: nil) - 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.
  • packageUris (type: list(String.t), default: nil) - 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.
  • pythonModule (type: String.t, default: nil) - Required. The Python module name to run after installing the packages.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1PythonPackageSpec{
  args: [String.t()] | nil,
  env: [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1EnvVar.t()] | nil,
  executorImageUri: String.t() | nil,
  packageUris: [String.t()] | nil,
  pythonModule: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.