Reference documentation and code samples for the Google Cloud Notebooks V2 Client class ContainerImage.
Definition of a container image for starting a notebook instance with the environment installed in a container.
Generated from protobuf message google.cloud.notebooks.v2.ContainerImage
Namespace
Google \ Cloud \ Notebooks \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ repository |
string
Required. The path to the container image repository. For example: |
↳ tag |
string
Optional. The tag of the container image. If not specified, this defaults to the latest tag. |
getRepository
Required. The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
| Returns | |
|---|---|
| Type | Description |
string |
|
setRepository
Required. The path to the container image repository. For example:
gcr.io/{project_id}/{image_name}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTag
Optional. The tag of the container image. If not specified, this defaults to the latest tag.
| Returns | |
|---|---|
| Type | Description |
string |
|
setTag
Optional. The tag of the container image. If not specified, this defaults to the latest tag.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|