public sealed class UpdateCollectorRequest : IMessage<UpdateCollectorRequest>, IEquatable<UpdateCollectorRequest>, IDeepCloneable<UpdateCollectorRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Rapid Migration Assessment v1 API class UpdateCollectorRequest.
Optional. An optional 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
the 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).
Required. Field mask is used to specify the fields to be overwritten in the
Collector resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
[[["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 page provides documentation for the \u003ccode\u003eUpdateCollectorRequest\u003c/code\u003e class within the Google Cloud Rapid Migration Assessment v1 API, with the latest version being 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateCollectorRequest\u003c/code\u003e class is used to update a Collector resource and implements interfaces like \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\u003eIt has constructors for creating new instances, either empty or from another \u003ccode\u003eUpdateCollectorRequest\u003c/code\u003e, and it features properties such as \u003ccode\u003eCollector\u003c/code\u003e, \u003ccode\u003eRequestId\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateMask\u003c/code\u003e property is crucial for specifying which fields of the Collector resource should be updated, with the option to overwrite all fields if no mask is provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequestId\u003c/code\u003e property allows for idempotent operations, ensuring that duplicate requests with the same ID are ignored by the server, within a 60 minute window.\u003c/p\u003e\n"]]],[],null,["# Rapid Migration Assessment v1 API - Class UpdateCollectorRequest (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.UpdateCollectorRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/1.1.0/Google.Cloud.RapidMigrationAssessment.V1.UpdateCollectorRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/1.0.0/Google.Cloud.RapidMigrationAssessment.V1.UpdateCollectorRequest) \n\n public sealed class UpdateCollectorRequest : IMessage\u003cUpdateCollectorRequest\u003e, IEquatable\u003cUpdateCollectorRequest\u003e, IDeepCloneable\u003cUpdateCollectorRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Rapid Migration Assessment v1 API class UpdateCollectorRequest.\n\nMessage for updating a Collector. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateCollectorRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateCollectorRequest](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.UpdateCollectorRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateCollectorRequest](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.UpdateCollectorRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateCollectorRequest](/dotnet/docs/reference/Google.Cloud.RapidMigrationAssessment.V1/latest/Google.Cloud.RapidMigrationAssessment.V1.UpdateCollectorRequest), [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### UpdateCollectorRequest()\n\n public UpdateCollectorRequest()\n\n### UpdateCollectorRequest(UpdateCollectorRequest)\n\n public UpdateCollectorRequest(UpdateCollectorRequest other)\n\nProperties\n----------\n\n### Collector\n\n public Collector Collector { get; set; }\n\nRequired. The resource being updated.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and\nthe 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).\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. Field mask is used to specify the fields to be overwritten in the\nCollector resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then all fields will be overwritten."]]