public sealed class ComputeEngineTargetDetails : IMessage<ComputeEngineTargetDetails>, IEquatable<ComputeEngineTargetDetails>, IDeepCloneable<ComputeEngineTargetDetails>, IBufferMessage, IMessage
Reference documentation and code samples for the VM Migration v1 API class ComputeEngineTargetDetails.
ComputeEngineTargetDetails is a collection of details for creating a VM in a
target Compute Engine project.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eComputeEngineTargetDetails\u003c/code\u003e class in the VM Migration v1 API is 2.6.0, which is part of the \u003ccode\u003eGoogle.Cloud.VMMigration.V1\u003c/code\u003e namespace, and previous versions are also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eComputeEngineTargetDetails\u003c/code\u003e is used to define settings and properties for creating a virtual machine (VM) in a target Google Compute Engine project, offering customization options for various VM parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, providing functionalities such as message handling, equality comparisons, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers properties such as \u003ccode\u003eAdditionalLicenses\u003c/code\u003e, \u003ccode\u003eBootOption\u003c/code\u003e, \u003ccode\u003eHostname\u003c/code\u003e, \u003ccode\u003eMachineType\u003c/code\u003e, \u003ccode\u003eNetworkInterfaces\u003c/code\u003e, \u003ccode\u003eSecureBoot\u003c/code\u003e, and more, allowing detailed configuration of the target VM.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available to create new instances of \u003ccode\u003eComputeEngineTargetDetails\u003c/code\u003e with or without initial parameters, allowing for custom configuration of the target VM.\u003c/p\u003e\n"]]],[],null,["# VM Migration v1 API - Class ComputeEngineTargetDetails (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails) \n\n public sealed class ComputeEngineTargetDetails : IMessage\u003cComputeEngineTargetDetails\u003e, IEquatable\u003cComputeEngineTargetDetails\u003e, IDeepCloneable\u003cComputeEngineTargetDetails\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the VM Migration v1 API class ComputeEngineTargetDetails.\n\nComputeEngineTargetDetails is a collection of details for creating a VM in a\ntarget Compute Engine project. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ComputeEngineTargetDetails \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ComputeEngineTargetDetails](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ComputeEngineTargetDetails](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ComputeEngineTargetDetails](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.ComputeEngineTargetDetails), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.VMMigration.V1](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.VMMigration.V1.dll\n\nConstructors\n------------\n\n### ComputeEngineTargetDetails()\n\n public ComputeEngineTargetDetails()\n\n### ComputeEngineTargetDetails(ComputeEngineTargetDetails)\n\n public ComputeEngineTargetDetails(ComputeEngineTargetDetails other)\n\nProperties\n----------\n\n### AdditionalLicenses\n\n public RepeatedField\u003cstring\u003e AdditionalLicenses { get; }\n\nAdditional licenses to assign to the VM.\n\n### AppliedLicense\n\n public AppliedLicense AppliedLicense { get; set; }\n\nThe OS license returned from the adaptation module report.\n\n### BootOption\n\n public ComputeEngineBootOption BootOption { get; set; }\n\nThe VM Boot Option, as set in the source vm.\n\n### ComputeScheduling\n\n public ComputeScheduling ComputeScheduling { get; set; }\n\nCompute instance scheduling information (if empty default is used).\n\n### DiskType\n\n public ComputeEngineDiskType DiskType { get; set; }\n\nThe disk type to use in the VM.\n\n### Hostname\n\n public string Hostname { get; set; }\n\nThe hostname to assign to the VM.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nA map of labels to associate with the VM.\n\n### LicenseType\n\n public ComputeEngineLicenseType LicenseType { get; set; }\n\nThe license type to use in OS adaptation.\n\n### MachineType\n\n public string MachineType { get; set; }\n\nThe machine type to create the VM with.\n\n### MachineTypeSeries\n\n public string MachineTypeSeries { get; set; }\n\nThe machine type series to create the VM with.\n\n### Metadata\n\n public MapField\u003cstring, string\u003e Metadata { get; }\n\nThe metadata key/value pairs to assign to the VM.\n\n### NetworkInterfaces\n\n public RepeatedField\u003cNetworkInterface\u003e NetworkInterfaces { get; }\n\nList of NICs connected to this VM.\n\n### NetworkTags\n\n public RepeatedField\u003cstring\u003e NetworkTags { get; }\n\nA map of network tags to associate with the VM.\n\n### Project\n\n public string Project { get; set; }\n\nThe Google Cloud target project ID or project name.\n\n### SecureBoot\n\n public bool SecureBoot { get; set; }\n\nDefines whether the instance has Secure Boot enabled.\nThis can be set to true only if the vm boot option is EFI.\n\n### ServiceAccount\n\n public string ServiceAccount { get; set; }\n\nThe service account to associate the VM with.\n\n### VmName\n\n public string VmName { get; set; }\n\nThe name of the VM to create.\n\n### Zone\n\n public string Zone { get; set; }\n\nThe zone in which to create the VM."]]