Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec

Returns a new instance of GoogleCloudAiplatformV1beta1SandboxEnvironmentSpec.



42056
42057
42058
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42056

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

Instance Attribute Details

#code_execution_environmentGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecCodeExecutionEnvironment

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



42049
42050
42051
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42049

def code_execution_environment
  @code_execution_environment
end

#computer_use_environmentGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SandboxEnvironmentSpecComputerUseEnvironment

The computer use environment with customized settings. Corresponds to the JSON property computerUseEnvironment



42054
42055
42056
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42054

def computer_use_environment
  @computer_use_environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42061
42062
42063
42064
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 42061

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