[[["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\u003eThe \u003ccode\u003eExpiration\u003c/code\u003e class in the \u003ccode\u003eGoogle.Api.Gax\u003c/code\u003e namespace defines either a relative timeout or an absolute deadline for operations.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties for \u003ccode\u003eDeadline\u003c/code\u003e (absolute time), \u003ccode\u003eTimeout\u003c/code\u003e (relative duration), \u003ccode\u003eType\u003c/code\u003e (to identify which of the two) and a static read only property \u003ccode\u003eNone\u003c/code\u003e to indicate no expiration requirement.\u003c/p\u003e\n"],["\u003cp\u003eStatic methods \u003ccode\u003eFromDeadline\u003c/code\u003e and \u003ccode\u003eFromTimeout\u003c/code\u003e allow creating \u003ccode\u003eExpiration\u003c/code\u003e instances with specific deadline or timeout values.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExpiration\u003c/code\u003e class inherits several methods from the \u003ccode\u003eObject\u003c/code\u003e class, such as \u003ccode\u003eToString()\u003c/code\u003e, \u003ccode\u003eEquals()\u003c/code\u003e, and \u003ccode\u003eGetHashCode()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThere is also an extension method, \u003ccode\u003eExpirationExtensions.CalculateDeadline\u003c/code\u003e, that can be used with the \u003ccode\u003eExpiration\u003c/code\u003e class and an \u003ccode\u003eIClock\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]