public sealed class CreateCollectorRequest : IMessage<CreateCollectorRequest>, IEquatable<CreateCollectorRequest>, IDeepCloneable<CreateCollectorRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Rapid Migration Assessment v1 API class CreateCollectorRequest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateCollectorRequest\u003c/code\u003e class is part of the Rapid Migration Assessment v1 API in the \u003ccode\u003eGoogle.Cloud.RapidMigrationAssessment.V1\u003c/code\u003e namespace, designed for creating a new Collector.\u003c/p\u003e\n"],["\u003cp\u003eThis class, which 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, provides methods for creating a request and is inherited from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateCollectorRequest\u003c/code\u003e class includes properties like \u003ccode\u003eCollector\u003c/code\u003e, \u003ccode\u003eCollectorId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, and \u003ccode\u003eRequestId\u003c/code\u003e, which are used to define the attributes and context for creating a Collector.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is version 1.2.0, however, versions 1.1.0 and 1.0.0 are also available.\u003c/p\u003e\n"]]],[],null,["# Rapid Migration Assessment v1 API - Class CreateCollectorRequest (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.CreateCollectorRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/1.1.0/Google.Cloud.RapidMigrationAssessment.V1.CreateCollectorRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/1.0.0/Google.Cloud.RapidMigrationAssessment.V1.CreateCollectorRequest) \n\n public sealed class CreateCollectorRequest : IMessage\u003cCreateCollectorRequest\u003e, IEquatable\u003cCreateCollectorRequest\u003e, IDeepCloneable\u003cCreateCollectorRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Rapid Migration Assessment v1 API class CreateCollectorRequest.\n\nMessage for creating a Collector. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateCollectorRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateCollectorRequest](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.CreateCollectorRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateCollectorRequest](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.CreateCollectorRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateCollectorRequest](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.CreateCollectorRequest), [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.RapidMigrationAssessment.V1](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.RapidMigrationAssessment.V1.dll\n\nConstructors\n------------\n\n### CreateCollectorRequest()\n\n public CreateCollectorRequest()\n\n### CreateCollectorRequest(CreateCollectorRequest)\n\n public CreateCollectorRequest(CreateCollectorRequest other)\n\nProperties\n----------\n\n### Collector\n\n public Collector Collector { get; set; }\n\nRequired. The resource being created.\n\n### CollectorId\n\n public string CollectorId { get; set; }\n\nRequired. Id of the requesting object.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Name of the parent (project+location).\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.CreateCollectorRequest#Google_Cloud_RapidMigrationAssessment_V1_CreateCollectorRequest_Parent) resource name property.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An optional request ID to identify requests."]]