Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookSoftwareConfig

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

Notebook Software Config. This is passed to the backend when user makes software configurations in UI.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NotebookSoftwareConfig

Returns a new instance of GoogleCloudAiplatformV1beta1NotebookSoftwareConfig.



39407
39408
39409
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39407

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

Instance Attribute Details

#colab_imageGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ColabImage

Colab image of the runtime. Corresponds to the JSON property colabImage



39394
39395
39396
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39394

def colab_image
  @colab_image
end

#envArray<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnvVar>

Optional. Environment variables to be passed to the container. Maximum limit is 100. Corresponds to the JSON property env



39400
39401
39402
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39400

def env
  @env
end

#post_startup_script_configGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PostStartupScriptConfig

Post startup script config. Corresponds to the JSON property postStartupScriptConfig



39405
39406
39407
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39405

def post_startup_script_config
  @post_startup_script_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39412
39413
39414
39415
39416
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 39412

def update!(**args)
  @colab_image = args[:colab_image] if args.key?(:colab_image)
  @env = args[:env] if args.key?(:env)
  @post_startup_script_config = args[:post_startup_script_config] if args.key?(:post_startup_script_config)
end