Google Cloud Notebooks V2 Client - Class VmImage (0.6.2)

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

Namespace

Google \ Cloud \ Notebooks \ V2

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: {project_id}

↳ name string

Optional. Use VM image name to find the image.

↳ family string

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

setProject

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getName

Optional. Use VM image name to find the image.

Returns
TypeDescription
string

hasName

setName

Optional. Use VM image name to find the image.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFamily

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

Returns
TypeDescription
string

hasFamily

setFamily

Optional. 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