Class: Google::Cloud::AIPlatform::V1::ContainerSpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/aiplatform/v1/custom_job.rb

Overview

The spec of a Container.

Instance Attribute Summary collapse

Instance Attribute Details

#args::Array<::String>

Returns The arguments to be passed when starting the container.

Returns:

  • (::Array<::String>)

    The arguments to be passed when starting the container.



297
298
299
300
# File 'proto_docs/google/cloud/aiplatform/v1/custom_job.rb', line 297

class ContainerSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#command::Array<::String>

Returns 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.



297
298
299
300
# File 'proto_docs/google/cloud/aiplatform/v1/custom_job.rb', line 297

class ContainerSpec
  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 container. Maximum limit is 100.

Returns:



297
298
299
300
# File 'proto_docs/google/cloud/aiplatform/v1/custom_job.rb', line 297

class ContainerSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#image_uri::String

Returns 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.



297
298
299
300
# File 'proto_docs/google/cloud/aiplatform/v1/custom_job.rb', line 297

class ContainerSpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end