Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeContainerImage

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

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) ⇒ GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeContainerImage

Returns a new instance of GoogleCloudAiplatformV1NotebookExecutionJobWorkbenchRuntimeContainerImage.



28147
28148
28149
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28147

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)


28140
28141
28142
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28140

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)


28145
28146
28147
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28145

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28152
28153
28154
28155
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28152

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