# Google Cloud Vm Migration V1 Client - Class DataDiskImageImport (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class DataDiskImageImport.

Used when the image import is not using OS adaptation process.

Generated from protobuf message `google.cloud.vmmigration.v1.DataDiskImageImport`

## Namespace

Google \\ Cloud \\ VMMigration \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ guest_os_features` | `string[]` Optional. A list of guest OS features to apply to the imported image. These features are flags that are used by Compute Engine to enable certain capabilities for virtual machine instances that are created from the image. This field does not change the OS of the image; it only marks the image with the specified features. The user must ensure that the OS is compatible with the features. For a list of available features, see <https://cloud.google.com/compute/docs/images/create-custom#guest-os-features>. |

### getGuestOsFeatures

Optional. A list of guest OS features to apply to the imported image. These
features are flags that are used by Compute Engine to enable certain
capabilities for virtual machine instances that are created from the image.

This field does not change the OS of the image; it only marks the image
with the specified features. The user must ensure that the OS is
compatible with the features.
For a list of available features, see
<https://cloud.google.com/compute/docs/images/create-custom#guest-os-features>.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setGuestOsFeatures

Optional. A list of guest OS features to apply to the imported image. These
features are flags that are used by Compute Engine to enable certain
capabilities for virtual machine instances that are created from the image.

This field does not change the OS of the image; it only marks the image
with the specified features. The user must ensure that the OS is
compatible with the features.
For a list of available features, see
<https://cloud.google.com/compute/docs/images/create-custom#guest-os-features>.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |