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

The spec of a Container.

Attributes

  • args (type: list(String.t), default: nil) - The arguments to be passed when starting the container.
  • command (type: list(String.t), default: nil) - The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
  • env (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1EnvVar.t), default: nil) - Environment variables to be passed to the container. Maximum limit is 100.
  • imageUri (type: String.t, default: nil) - Required. The URI of a container image in the Container Registry that is to be run on each worker replica.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1ContainerSpec{
  args: [String.t()] | nil,
  command: [String.t()] | nil,
  env: [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1EnvVar.t()] | nil,
  imageUri: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.