Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment

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

Overview

The default sandbox runtime environment for default container workloads.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment

Returns a new instance of GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateDefaultContainerEnvironment.



48324
48325
48326
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48324

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

Instance Attribute Details

#default_container_categoryString

Required. The category of the default container image. Corresponds to the JSON property defaultContainerCategory

Returns:

  • (String)


48316
48317
48318
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48316

def default_container_category
  @default_container_category
end

#resourcesGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentTemplateResourceRequirements

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



48322
48323
48324
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48322

def resources
  @resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



48329
48330
48331
48332
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 48329

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