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.



50328
50329
50330
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50328

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



50321
50322
50323
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50321

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



50326
50327
50328
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50326

def computer_use_environment
  @computer_use_environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50333
50334
50335
50336
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 50333

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