Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Specification for deploying from a container image.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec

Returns a new instance of GoogleCloudAiplatformV1ReasoningEngineSpecContainerSpec.



34781
34782
34783
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34781

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#image_uriString

Required. The Artifact Registry Docker image URI (e.g., us-central1-docker.pkg. dev/my-project/my-repo/my-image:tag) of the container image that is to be run on each worker replica. Corresponds to the JSON property imageUri

Returns:

  • (String)


34774
34775
34776
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34774

def image_uri
  @image_uri
end

#portFixnum

Optional. The port the container listens on. Defaults to 8080 if unset. Corresponds to the JSON property port

Returns:

  • (Fixnum)


34779
34780
34781
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34779

def port
  @port
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34786
34787
34788
34789
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34786

def update!(**args)
  @image_uri = args[:image_uri] if args.key?(:image_uri)
  @port = args[:port] if args.key?(:port)
end