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.



51511
51512
51513
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51511

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



51504
51505
51506
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51504

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



51509
51510
51511
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51509

def computer_use_environment
  @computer_use_environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51516
51517
51518
51519
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 51516

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