Google Cloud Vm Migration V1 Client - Class DataDiskImageImport (1.3.0)

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 array

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
Google\Protobuf\Internal\RepeatedField

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