Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::ContainerSpec (v0.59.0)

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

The spec of a Container.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#args

def args() -> ::Array<::String>
Returns
  • (::Array<::String>) — The arguments to be passed when starting the container.

#args=

def args=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The arguments to be passed when starting the container.
Returns
  • (::Array<::String>) — The arguments to be passed when starting the container.

#command

def command() -> ::Array<::String>
Returns
  • (::Array<::String>) — The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.

#command=

def command=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
Returns
  • (::Array<::String>) — The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.

#env

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

#env=

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

#image_uri

def image_uri() -> ::String
Returns
  • (::String) — Required. The URI of a container image in the Container Registry that is to be run on each worker replica.

#image_uri=

def image_uri=(value) -> ::String
Parameter
  • value (::String) — Required. The URI of a container image in the Container Registry that is to be run on each worker replica.
Returns
  • (::String) — Required. The URI of a container image in the Container Registry that is to be run on each worker replica.