Google Cloud Notebooks V1 Client - Class VirtualMachine (0.6.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
NameDescription
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 Google\Cloud\Notebooks\V1\VirtualMachineConfig

Virtual Machine configuration settings.

getInstanceName

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

Returns
TypeDescription
string

setInstanceName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInstanceId

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

Returns
TypeDescription
string

setInstanceId

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVirtualMachineConfig

Virtual Machine configuration settings.

Returns
TypeDescription
Google\Cloud\Notebooks\V1\VirtualMachineConfig|null

hasVirtualMachineConfig

clearVirtualMachineConfig

setVirtualMachineConfig

Virtual Machine configuration settings.

Parameter
NameDescription
var Google\Cloud\Notebooks\V1\VirtualMachineConfig
Returns
TypeDescription
$this