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.



28610
28611
28612
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28610

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)


28603
28604
28605
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28603

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)


28608
28609
28610
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28608

def tag
  @tag
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28615
28616
28617
28618
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 28615

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