# AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::VirtualMachine (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.11.0 0.10.0 0.9.1 0.8.2 0.7.0 0.6.1 0.5.0 0.4.2 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::VirtualMachine.

Runtime using Virtual Machine for computing.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #instance_id

    def instance_id() -> ::String

**Returns**

- (::String) --- Output only. The unique identifier of the Managed Compute Engine instance.

### #instance_name

    def instance_name() -> ::String

**Returns**

- (::String) --- Output only. The user-friendly name of the Managed Compute Engine instance.

### #virtual_machine_config

    def virtual_machine_config() -> ::Google::Cloud::Notebooks::V1::VirtualMachineConfig

**Returns**

- ([::Google::Cloud::Notebooks::V1::VirtualMachineConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-VirtualMachineConfig)) --- Virtual Machine configuration settings.

### #virtual_machine_config=

    def virtual_machine_config=(value) -> ::Google::Cloud::Notebooks::V1::VirtualMachineConfig

**Parameter**

- **value** ([::Google::Cloud::Notebooks::V1::VirtualMachineConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-VirtualMachineConfig)) --- Virtual Machine configuration settings.
**Returns**

- ([::Google::Cloud::Notebooks::V1::VirtualMachineConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-VirtualMachineConfig)) --- Virtual Machine configuration settings.