Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentSpec

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 specification of a SandboxEnvironment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SandboxEnvironmentSpec

Returns a new instance of GoogleCloudAiplatformV1SandboxEnvironmentSpec.



37667
37668
37669
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37667

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

Instance Attribute Details

#code_execution_environmentGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment

The code execution environment with customized settings. Corresponds to the JSON property codeExecutionEnvironment



37660
37661
37662
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37660

def code_execution_environment
  @code_execution_environment
end

#shell_environmentGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment

The shell environment. Corresponds to the JSON property shellEnvironment



37665
37666
37667
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37665

def shell_environment
  @shell_environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37672
37673
37674
37675
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 37672

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