Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ColabImage

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

Colab image of the runtime.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1ColabImage

Returns a new instance of GoogleCloudAiplatformV1beta1ColabImage.



4876
4877
4878
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4876

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

Instance Attribute Details

#descriptionString

Output only. A human-readable description of the specified colab image release, populated by the system. Example: "Python 3.10", "Latest - current Python 3. 11" Corresponds to the JSON property description

Returns:

  • (String)


4868
4869
4870
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4868

def description
  @description
end

#release_nameString

Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release. Corresponds to the JSON property releaseName

Returns:

  • (String)


4874
4875
4876
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4874

def release_name
  @release_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4881
4882
4883
4884
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 4881

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @release_name = args[:release_name] if args.key?(:release_name)
end