public sealed class CreateDatacenterConnectorRequest : IMessage<CreateDatacenterConnectorRequest>, IEquatable<CreateDatacenterConnectorRequest>, IDeepCloneable<CreateDatacenterConnectorRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the VM Migration v1 API class CreateDatacenterConnectorRequest.
Request message for 'CreateDatacenterConnector' request.
Required. The DatacenterConnector's parent.
Required. The Source in where the new DatacenterConnector will be created.
For example:
projects/my-project/locations/us-central1/sources/my-source
A request ID to identify requests. Specify a unique request ID
so that if you must retry your request, the server will know to ignore
the request if it has already been completed. The server will guarantee
that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and t
he request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
[[["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\u003eCreateDatacenterConnectorRequest\u003c/code\u003e class is 2.6.0, and it is part of the VM Migration v1 API within the Google Cloud .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to create a request for the 'CreateDatacenterConnector' operation, which is essential for managing datacenter connectors.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateDatacenterConnectorRequest\u003c/code\u003e class requires a \u003ccode\u003eDatacenterConnector\u003c/code\u003e object, \u003ccode\u003eDatacenterConnectorId\u003c/code\u003e, and a \u003ccode\u003eParent\u003c/code\u003e string to define where the connector will be created.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and has properties to handle the creation, identification, and location of a \u003ccode\u003eDatacenterConnector\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request can include a \u003ccode\u003eRequestId\u003c/code\u003e to avoid duplicate operations on retries, ensuring that the server ignores repeated requests made within 60 minutes with the same ID.\u003c/p\u003e\n"]]],[],null,["# VM Migration v1 API - Class CreateDatacenterConnectorRequest (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.CreateDatacenterConnectorRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.5.0/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.4.0/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.3.0/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.2.0/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.1.0/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/2.0.0/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/1.0.0/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest) \n\n public sealed class CreateDatacenterConnectorRequest : IMessage\u003cCreateDatacenterConnectorRequest\u003e, IEquatable\u003cCreateDatacenterConnectorRequest\u003e, IDeepCloneable\u003cCreateDatacenterConnectorRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the VM Migration v1 API class CreateDatacenterConnectorRequest.\n\nRequest message for 'CreateDatacenterConnector' request. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateDatacenterConnectorRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateDatacenterConnectorRequest](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateDatacenterConnectorRequest](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateDatacenterConnectorRequest](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest), [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### CreateDatacenterConnectorRequest()\n\n public CreateDatacenterConnectorRequest()\n\n### CreateDatacenterConnectorRequest(CreateDatacenterConnectorRequest)\n\n public CreateDatacenterConnectorRequest(CreateDatacenterConnectorRequest other)\n\nProperties\n----------\n\n### DatacenterConnector\n\n public DatacenterConnector DatacenterConnector { get; set; }\n\nRequired. The create request body.\n\n### DatacenterConnectorId\n\n public string DatacenterConnectorId { get; set; }\n\nRequired. The datacenterConnector identifier.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The DatacenterConnector's parent.\nRequired. The Source in where the new DatacenterConnector will be created.\nFor example:\n`projects/my-project/locations/us-central1/sources/my-source`\n\n### ParentAsSourceName\n\n public SourceName ParentAsSourceName { get; set; }\n\n[SourceName](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.SourceName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.VMMigration.V1/latest/Google.Cloud.VMMigration.V1.CreateDatacenterConnectorRequest#Google_Cloud_VMMigration_V1_CreateDatacenterConnectorRequest_Parent) resource name property.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nA request ID to identify requests. Specify a unique request ID\nso that if you must retry your request, the server will know to ignore\nthe request if it has already been completed. The server will guarantee\nthat for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and t\nhe request times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000)."]]