Google Cloud Notebooks V1 Client - Class VmImage (0.7.3)

Reference documentation and code samples for the Google Cloud Notebooks V1 Client class VmImage.

Definition of a custom Compute Engine virtual machine image for starting a notebook instance with the environment installed directly on the VM.

Generated from protobuf message google.cloud.notebooks.v1.VmImage

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ project string

Required. The name of the Google Cloud project that this VM image belongs to. Format: {project_id}

↳ image_name string

Use VM image name to find the image.

↳ image_family string

Use this VM image family to find the image; the newest image in this family will be used.

getProject

Required. The name of the Google Cloud project that this VM image belongs to.

Format: {project_id}

Returns
Type Description
string

setProject

Required. The name of the Google Cloud project that this VM image belongs to.

Format: {project_id}

Parameter
Name Description
var string
Returns
Type Description
$this

getImageName

Use VM image name to find the image.

Returns
Type Description
string

hasImageName

setImageName

Use VM image name to find the image.

Parameter
Name Description
var string
Returns
Type Description
$this

getImageFamily

Use this VM image family to find the image; the newest image in this family will be used.

Returns
Type Description
string

hasImageFamily

setImageFamily

Use this VM image family to find the image; the newest image in this family will be used.

Parameter
Name Description
var string
Returns
Type Description
$this

getImage

Returns
Type Description
string