Google Cloud Notebooks V1 Client - Class ContainerImage (1.0.1)

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
Name Description
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
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

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

Returns
Type Description
string

setTag

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

Parameter
Name Description
var string
Returns
Type Description
$this