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.



41970
41971
41972
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41970

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



41963
41964
41965
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41963

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



41968
41969
41970
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41968

def computer_use_environment
  @computer_use_environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41975
41976
41977
41978
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 41975

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