Google Cloud Notebooks V1beta1 Client - Class ContainerImage (0.4.1)

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

Namespace

Google \ Cloud \ Notebooks \ V1beta1

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