public sealed class WorkerAssignedEvent : IMessage<WorkerAssignedEvent>, IEquatable<WorkerAssignedEvent>, IDeepCloneable<WorkerAssignedEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Life Sciences v2beta API class WorkerAssignedEvent.
An event generated after a worker VM has been assigned to run the
pipeline.
[[["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 \u003ccode\u003eWorkerAssignedEvent\u003c/code\u003e class in the Cloud Life Sciences v2beta API represents an event triggered when a worker VM is assigned to a pipeline.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkerAssignedEvent\u003c/code\u003e class provides properties such as \u003ccode\u003eInstance\u003c/code\u003e, \u003ccode\u003eMachineType\u003c/code\u003e, and \u003ccode\u003eZone\u003c/code\u003e, to provide details about the assigned worker VM.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the \u003ccode\u003eWorkerAssignedEvent\u003c/code\u003e class, one for a default instance and one for copying an existing \u003ccode\u003eWorkerAssignedEvent\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.0.0-beta06, with prior versions including 2.0.0-beta05 and 1.0.0-beta02.\u003c/p\u003e\n"]]],[],null,["# Cloud Life Sciences v2beta API - Class WorkerAssignedEvent (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.WorkerAssignedEvent)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/2.0.0-beta05/Google.Cloud.LifeSciences.V2Beta.WorkerAssignedEvent)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/1.0.0-beta02/Google.Cloud.LifeSciences.V2Beta.WorkerAssignedEvent) \n\n public sealed class WorkerAssignedEvent : IMessage\u003cWorkerAssignedEvent\u003e, IEquatable\u003cWorkerAssignedEvent\u003e, IDeepCloneable\u003cWorkerAssignedEvent\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Life Sciences v2beta API class WorkerAssignedEvent.\n\nAn event generated after a worker VM has been assigned to run the\npipeline. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WorkerAssignedEvent \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WorkerAssignedEvent](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.WorkerAssignedEvent), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WorkerAssignedEvent](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.WorkerAssignedEvent), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WorkerAssignedEvent](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.WorkerAssignedEvent), [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.LifeSciences.V2Beta](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.LifeSciences.V2Beta.dll\n\nConstructors\n------------\n\n### WorkerAssignedEvent()\n\n public WorkerAssignedEvent()\n\n### WorkerAssignedEvent(WorkerAssignedEvent)\n\n public WorkerAssignedEvent(WorkerAssignedEvent other)\n\nProperties\n----------\n\n### Instance\n\n public string Instance { get; set; }\n\nThe worker's instance name.\n\n### MachineType\n\n public string MachineType { get; set; }\n\nThe machine type that was assigned for the worker.\n\n### Zone\n\n public string Zone { get; set; }\n\nThe zone the worker is running in."]]