public sealed class JobStatus.Types.TaskGroupStatus : IMessage<JobStatus.Types.TaskGroupStatus>, IEquatable<JobStatus.Types.TaskGroupStatus>, IDeepCloneable<JobStatus.Types.TaskGroupStatus>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class JobStatus.Types.TaskGroupStatus.
[[["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 latest version of the \u003ccode\u003eJobStatus.Types.TaskGroupStatus\u003c/code\u003e class is 2.13.0, as part of the Google.Cloud.Batch.V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class provides aggregated task status for a TaskGroup and is implemented in multiple versions, ranging from 1.0.0 to 2.13.0, with each version providing reference documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTaskGroupStatus\u003c/code\u003e class implements interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage and inherits from the base object class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes a \u003ccode\u003eCounts\u003c/code\u003e property of type \u003ccode\u003eMapField<string, long>\u003c/code\u003e, which represents the count of tasks in each state within the TaskGroup, and an \u003ccode\u003eInstances\u003c/code\u003e property, which is of type \u003ccode\u003eRepeatedField<JobStatus.Types.InstanceStatus>\u003c/code\u003e that represents the status of instances allocated to the task group.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers two constructors: one default and one that can take another \u003ccode\u003eJobStatus.Types.TaskGroupStatus\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Batch v1 API - Class JobStatus.Types.TaskGroupStatus (2.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.12.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.11.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.10.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.9.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.8.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.7.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.6.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.5.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.4.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.3.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.2.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.1.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/2.0.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/1.3.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/1.2.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/1.1.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Batch.V1/1.0.0/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus) \n\n public sealed class JobStatus.Types.TaskGroupStatus : IMessage\u003cJobStatus.Types.TaskGroupStatus\u003e, IEquatable\u003cJobStatus.Types.TaskGroupStatus\u003e, IDeepCloneable\u003cJobStatus.Types.TaskGroupStatus\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Batch v1 API class JobStatus.Types.TaskGroupStatus.\n\nAggregated task status for a TaskGroup. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e JobStatus.Types.TaskGroupStatus \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[JobStatus](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus)[Types](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus.Types)[TaskGroupStatus](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[JobStatus](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus)[Types](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus.Types)[TaskGroupStatus](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[JobStatus](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus)[Types](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus.Types)[TaskGroupStatus](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1.JobStatus.Types.TaskGroupStatus), [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.Batch.V1](/dotnet/docs/reference/Google.Cloud.Batch.V1/latest/Google.Cloud.Batch.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Batch.V1.dll\n\nConstructors\n------------\n\n### TaskGroupStatus()\n\n public TaskGroupStatus()\n\n### TaskGroupStatus(TaskGroupStatus)\n\n public TaskGroupStatus(JobStatus.Types.TaskGroupStatus other)\n\nProperties\n----------\n\n### Counts\n\n public MapField\u003cstring, long\u003e Counts { get; }\n\nCount of task in each state in the TaskGroup.\nThe map key is task state name.\n\n### Instances\n\n public RepeatedField\u003cJobStatus.Types.InstanceStatus\u003e Instances { get; }\n\nStatus of instances allocated for the TaskGroup."]]