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\u003eThe latest version of the API documentation available is 2.63.1, and it contains a comprehensive list of past versions from that version down to version 2.7.1.\u003c/p\u003e\n"],["\u003cp\u003eThe content provided pertains to the \u003ccode\u003eApiTracer.Scope\u003c/code\u003e class within the \u003ccode\u003ecom.google.api.gax.tracing\u003c/code\u003e package, specifically for the Java programming language.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiTracer.Scope\u003c/code\u003e interface, part of the \u003ccode\u003eApiTracer\u003c/code\u003e class, is designed for use with \u003ccode\u003einScope()\u003c/code\u003e and try-with-resources blocks.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eApiTracer.Scope\u003c/code\u003e interface extends \u003ccode\u003eAutoCloseable\u003c/code\u003e, allowing it to be used in try-with-resources statements for automatic resource management.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eclose()\u003c/code\u003e method, implemented by \u003ccode\u003eApiTracer.Scope\u003c/code\u003e, is used to remove any context that might have been set by the underlying implementation in \u003ccode\u003einScope()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]