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.



46966
46967
46968
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 46966

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



46959
46960
46961
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 46959

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



46964
46965
46966
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 46964

def computer_use_environment
  @computer_use_environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46971
46972
46973
46974
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 46971

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