[[["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-09-04 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eAttempt\u003c/code\u003e class within the Google Cloud Tasks v2beta3 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttempt\u003c/code\u003e class represents the status of a task attempt and implements several 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 latest version available for the \u003ccode\u003eAttempt\u003c/code\u003e class is 3.0.0-beta07, with previous versions like 3.0.0-beta06 and 2.0.0-beta08 also documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAttempt\u003c/code\u003e class includes properties such as \u003ccode\u003eDispatchTime\u003c/code\u003e, \u003ccode\u003eResponseStatus\u003c/code\u003e, \u003ccode\u003eResponseTime\u003c/code\u003e, and \u003ccode\u003eScheduleTime\u003c/code\u003e, all of which are read-only and provide timestamps or status information related to the task attempt.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eAttempt\u003c/code\u003e class, one parameterless, and another that takes an existing \u003ccode\u003eAttempt\u003c/code\u003e object as a parameter for copying.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Tasks v2beta3 API - Class Attempt (3.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [3.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.Attempt)\n- [3.0.0-beta06](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/3.0.0-beta06/Google.Cloud.Tasks.V2Beta3.Attempt)\n- [2.0.0-beta08](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/2.0.0-beta08/Google.Cloud.Tasks.V2Beta3.Attempt) \n\n public sealed class Attempt : IMessage\u003cAttempt\u003e, IEquatable\u003cAttempt\u003e, IDeepCloneable\u003cAttempt\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Tasks v2beta3 API class Attempt.\n\nThe status of a task attempt. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Attempt \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Attempt](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.Attempt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Attempt](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.Attempt), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Attempt](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3.Attempt), [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.Tasks.V2Beta3](/dotnet/docs/reference/Google.Cloud.Tasks.V2Beta3/latest/Google.Cloud.Tasks.V2Beta3)\n\nAssembly\n--------\n\nGoogle.Cloud.Tasks.V2Beta3.dll\n\nConstructors\n------------\n\n### Attempt()\n\n public Attempt()\n\n### Attempt(Attempt)\n\n public Attempt(Attempt other)\n\nProperties\n----------\n\n### DispatchTime\n\n public Timestamp DispatchTime { get; set; }\n\nOutput only. The time that this attempt was dispatched.\n\n`dispatch_time` will be truncated to the nearest microsecond.\n\n### ResponseStatus\n\n public Status ResponseStatus { get; set; }\n\nOutput only. The response from the worker for this attempt.\n\nIf `response_time` is unset, then the task has not been attempted or is\ncurrently running and the `response_status` field is meaningless.\n\n### ResponseTime\n\n public Timestamp ResponseTime { get; set; }\n\nOutput only. The time that this attempt response was received.\n\n`response_time` will be truncated to the nearest microsecond.\n\n### ScheduleTime\n\n public Timestamp ScheduleTime { get; set; }\n\nOutput only. The time that this attempt was scheduled.\n\n`schedule_time` will be truncated to the nearest microsecond."]]