public sealed class ContainerStartedEvent : IMessage<ContainerStartedEvent>, IEquatable<ContainerStartedEvent>, IDeepCloneable<ContainerStartedEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Life Sciences v2beta API class ContainerStartedEvent.
The public IP address that can be used to connect to the container. This
field is only populated when at least one port mapping is present. If the
instance was created with a private address, this field will be empty even
if port mappings exist.
The container-to-host port mappings installed for this container. This
set will contain any ports exposed using the PUBLISH_EXPOSED_PORTS flag
as well as any specified in the Action definition.
[[["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\u003eContainerStartedEvent\u003c/code\u003e class in the Cloud Life Sciences v2beta API represents an event triggered when a container starts.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements 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\u003eThe \u003ccode\u003eContainerStartedEvent\u003c/code\u003e class provides properties such as \u003ccode\u003eActionId\u003c/code\u003e (numeric ID of the action), \u003ccode\u003eIpAddress\u003c/code\u003e (public IP of the container), and \u003ccode\u003ePortMappings\u003c/code\u003e (container-to-host port mappings).\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available: a default constructor and one that takes another \u003ccode\u003eContainerStartedEvent\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eContainerStartedEvent\u003c/code\u003e is 2.0.0-beta06 and there is also version 2.0.0-beta05, and 1.0.0-beta02 available.\u003c/p\u003e\n"]]],[],null,["# Cloud Life Sciences v2beta API - Class ContainerStartedEvent (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.ContainerStartedEvent)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/2.0.0-beta05/Google.Cloud.LifeSciences.V2Beta.ContainerStartedEvent)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/1.0.0-beta02/Google.Cloud.LifeSciences.V2Beta.ContainerStartedEvent) \n\n public sealed class ContainerStartedEvent : IMessage\u003cContainerStartedEvent\u003e, IEquatable\u003cContainerStartedEvent\u003e, IDeepCloneable\u003cContainerStartedEvent\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Life Sciences v2beta API class ContainerStartedEvent.\n\nAn event generated when a container starts. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ContainerStartedEvent \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ContainerStartedEvent](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.ContainerStartedEvent), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ContainerStartedEvent](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.ContainerStartedEvent), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ContainerStartedEvent](/dotnet/docs/reference/Google.Cloud.LifeSciences.V2Beta/latest/Google.Cloud.LifeSciences.V2Beta.ContainerStartedEvent), [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### ContainerStartedEvent()\n\n public ContainerStartedEvent()\n\n### ContainerStartedEvent(ContainerStartedEvent)\n\n public ContainerStartedEvent(ContainerStartedEvent other)\n\nProperties\n----------\n\n### ActionId\n\n public int ActionId { get; set; }\n\nThe numeric ID of the action that started this container.\n\n### IpAddress\n\n public string IpAddress { get; set; }\n\nThe public IP address that can be used to connect to the container. This\nfield is only populated when at least one port mapping is present. If the\ninstance was created with a private address, this field will be empty even\nif port mappings exist.\n\n### PortMappings\n\n public MapField\u003cint, int\u003e PortMappings { get; }\n\nThe container-to-host port mappings installed for this container. This\nset will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag\nas well as any specified in the `Action` definition."]]