Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookSoftwareConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/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) ⇒ GoogleCloudAiplatformV1NotebookSoftwareConfig

Returns a new instance of GoogleCloudAiplatformV1NotebookSoftwareConfig.



26589
26590
26591
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26589

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

Instance Attribute Details

#colab_imageGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ColabImage

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



26576
26577
26578
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26576

def colab_image
  @colab_image
end

#envArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar>

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



26582
26583
26584
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26582

def env
  @env
end

#post_startup_script_configGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PostStartupScriptConfig

Post startup script config. Corresponds to the JSON property postStartupScriptConfig



26587
26588
26589
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26587

def post_startup_script_config
  @post_startup_script_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



26594
26595
26596
26597
26598
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 26594

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