[[["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\u003eThis document provides reference documentation for the \u003ccode\u003eCollector\u003c/code\u003e class within the Rapid Migration Assessment v1 API, outlining its properties, constructors, and implementation details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCollector\u003c/code\u003e class is a message type used for defining collector objects, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eCollector\u003c/code\u003e class include \u003ccode\u003eBucket\u003c/code\u003e, \u003ccode\u003eClientVersion\u003c/code\u003e, \u003ccode\u003eCollectionDays\u003c/code\u003e, \u003ccode\u003eCollectorName\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eEulaUri\u003c/code\u003e, \u003ccode\u003eExpectedAssetCount\u003c/code\u003e, \u003ccode\u003eGuestOsScan\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eServiceAccount\u003c/code\u003e, \u003ccode\u003eState\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, and \u003ccode\u003eVsphereScan\u003c/code\u003e, each serving specific purposes related to collector configuration and status.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also lists the available versions of the API which are 1.2.0, 1.1.0 and 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available when using the \u003ccode\u003eCollector\u003c/code\u003e class, either empty or with an existing \u003ccode\u003eCollector\u003c/code\u003e class as an argument.\u003c/p\u003e\n"]]],[],null,["# Rapid Migration Assessment v1 API - Class Collector (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.Collector)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/1.1.0/Google.Cloud.RapidMigrationAssessment.V1.Collector)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/1.0.0/Google.Cloud.RapidMigrationAssessment.V1.Collector) \n\n public sealed class Collector : IMessage\u003cCollector\u003e, IEquatable\u003cCollector\u003e, IDeepCloneable\u003cCollector\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Rapid Migration Assessment v1 API class Collector.\n\nMessage describing Collector object. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Collector \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Collector](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.Collector), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Collector](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.Collector), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Collector](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.Collector), [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### Collector()\n\n public Collector()\n\n### Collector(Collector)\n\n public Collector(Collector other)\n\nProperties\n----------\n\n### Bucket\n\n public string Bucket { get; set; }\n\nOutput only. Store cloud storage bucket name (which is a guid) created with\nthis Collector.\n\n### ClientVersion\n\n public string ClientVersion { get; set; }\n\nOutput only. Client version.\n\n### CollectionDays\n\n public int CollectionDays { get; set; }\n\nHow many days to collect data.\n\n### CollectorName\n\n public CollectorName CollectorName { get; set; }\n\n[CollectorName](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.CollectorName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.Collector#Google_Cloud_RapidMigrationAssessment_V1_Collector_Name) resource name property.\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. Create time stamp.\n\n### Description\n\n public string Description { get; set; }\n\nUser specified description of the Collector.\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nUser specified name of the Collector.\n\n### EulaUri\n\n public string EulaUri { get; set; }\n\nUri for EULA (End User License Agreement) from customer.\n\n### ExpectedAssetCount\n\n public long ExpectedAssetCount { get; set; }\n\nUser specified expected asset count.\n\n### GuestOsScan\n\n public GuestOsScan GuestOsScan { get; set; }\n\nOutput only. Reference to MC Source Guest Os Scan.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nLabels as key value pairs.\n\n### Name\n\n public string Name { get; set; }\n\nname of resource.\n\n### ServiceAccount\n\n public string ServiceAccount { get; set; }\n\nService Account email used to ingest data to this Collector.\n\n### State\n\n public Collector.Types.State State { get; set; }\n\nOutput only. State of the Collector.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. Update time stamp.\n\n### VsphereScan\n\n public VSphereScan VsphereScan { get; set; }\n\nOutput only. Reference to MC Source vsphere_scan."]]