A context class to be used with#inScope()and a try-with-resources block. Closing aScoperemoves any context that the underlying implementation might've set in#inScope().
[[["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 webpage provides documentation for the \u003ccode\u003eApiTracer.Scope\u003c/code\u003e class within the \u003ccode\u003ecom.google.api.gax.tracing\u003c/code\u003e package, specifically for Java.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eApiTracer.Scope\u003c/code\u003e extends \u003ccode\u003eAutoCloseable\u003c/code\u003e, allowing it to be used in try-with-resources blocks for managing context.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists multiple versions of the \u003ccode\u003eApiTracer.Scope\u003c/code\u003e class, ranging from version 2.63.1 (latest) down to 2.7.1, each with its own link to detailed documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe primary method provided in the documentation is the \u003ccode\u003eclose()\u003c/code\u003e method, which is used to remove any context set by the implementation in the inScope() method.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version available for the class is version 2.63.1.\u003c/p\u003e\n"]]],[],null,[]]