Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeContainerImage

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 definition of a user-provided container image to run the notebook execution in. Mirrors google.cloud.notebooks.v2.ContainerImage.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeContainerImage

Returns a new instance of GoogleCloudAiplatformV1beta1NotebookExecutionJobWorkbenchRuntimeContainerImage.



40041
40042
40043
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40041

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

Instance Attribute Details

#repositoryString

Required. The path to the container image repository. For example: gcr.io/ project_id/image_name`. Corresponds to the JSON propertyrepository`

Returns:

  • (String)


40034
40035
40036
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40034

def repository
  @repository
end

#tagString

Optional. The tag of the container image. If unset, defaults to latest. Corresponds to the JSON property tag

Returns:

  • (String)


40039
40040
40041
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40039

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40046
40047
40048
40049
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 40046

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