Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerEnvironment

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

The customized sandbox runtime environment for BYOC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerEnvironment

Returns a new instance of GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerEnvironment.



34799
34800
34801
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34799

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

Instance Attribute Details

#custom_container_specGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateCustomContainerSpec

Specification for deploying from a custom container image. Corresponds to the JSON property customContainerSpec



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

def custom_container_spec
  @custom_container_spec
end

#portsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateNetworkPort>

Ports to expose from the container. Corresponds to the JSON property ports



34791
34792
34793
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34791

def ports
  @ports
end

#resourcesGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateResourceRequirements

Message to define resource requests and limits (mirroring Kubernetes) for each sandbox instance created from this template. Corresponds to the JSON property resources



34797
34798
34799
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34797

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34804
34805
34806
34807
34808
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 34804

def update!(**args)
  @custom_container_spec = args[:custom_container_spec] if args.key?(:custom_container_spec)
  @ports = args[:ports] if args.key?(:ports)
  @resources = args[:resources] if args.key?(:resources)
end