Google Cloud Notebooks V1 Client - Class ContainerImage (0.6.2)

Reference documentation and code samples for the Google Cloud Notebooks V1 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.v1.ContainerImage

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ repository string

Required. The path to the container image repository. For example: gcr.io/{project_id}/{image_name}

↳ tag string

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
TypeDescription
string

setRepository

Required. The path to the container image repository. For example: gcr.io/{project_id}/{image_name}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTag

The tag of the container image. If not specified, this defaults to the latest tag.

Returns
TypeDescription
string

setTag

The tag of the container image. If not specified, this defaults to the latest tag.

Parameter
NameDescription
var string
Returns
TypeDescription
$this