Google Cloud Notebooks V1beta1 Client - Class VmImage (0.3.6)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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: projects/{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: projects/{project_id}

Returns
TypeDescription
string

setProject

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

Format: projects/{project_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImageName

Use VM image name to find the image.

Returns
TypeDescription
string

hasImageName

setImageName

Use VM image name to find the image.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImageFamily

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

Returns
TypeDescription
string

hasImageFamily

setImageFamily

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImage

Returns
TypeDescription
string