Google Cloud Notebooks V1 Client - Class VirtualMachine (1.0.2)

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

Runtime using Virtual Machine for computing.

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

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance_name string

Output only. The user-friendly name of the Managed Compute Engine instance.

↳ instance_id string

Output only. The unique identifier of the Managed Compute Engine instance.

↳ virtual_machine_config VirtualMachineConfig

Virtual Machine configuration settings.

getInstanceName

Output only. The user-friendly name of the Managed Compute Engine instance.

Returns
Type Description
string

setInstanceName

Output only. The user-friendly name of the Managed Compute Engine instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstanceId

Output only. The unique identifier of the Managed Compute Engine instance.

Returns
Type Description
string

setInstanceId

Output only. The unique identifier of the Managed Compute Engine instance.

Parameter
Name Description
var string
Returns
Type Description
$this

getVirtualMachineConfig

Virtual Machine configuration settings.

Returns
Type Description
VirtualMachineConfig|null

hasVirtualMachineConfig

clearVirtualMachineConfig

setVirtualMachineConfig

Virtual Machine configuration settings.

Parameter
Name Description
var VirtualMachineConfig
Returns
Type Description
$this