# Notebooks V2 API - Class Google::Cloud::Notebooks::V2::ContainerImage (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.6.0 0.5.0 0.4.2 0.3.2 0.2.0 0.1.0 Reference documentation and code samples for the Notebooks V2 API class Google::Cloud::Notebooks::V2::ContainerImage.

Definition of a container image for starting a notebook instance with the
environment installed in a container.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #repository

    def repository() -> ::String

**Returns**

- (::String) --- Required. The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}`

### #repository=

    def repository=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}`
**Returns**

- (::String) --- Required. The path to the container image repository. For example: `gcr.io/{project_id}/{image_name}`

### #tag

    def tag() -> ::String

**Returns**

- (::String) --- Optional. The tag of the container image. If not specified, this defaults to the latest tag.

### #tag=

    def tag=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The tag of the container image. If not specified, this defaults to the latest tag.
**Returns**

- (::String) --- Optional. The tag of the container image. If not specified, this defaults to the latest tag.