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 available is 2.63.1, which is linked for reference, and the current version covered in the content is version 2.52.0.\u003c/p\u003e\n"],["\u003cp\u003eThe document covers a range of versions from 2.7.1 to 2.63.1, with each version linking to specific documentation for \u003ccode\u003ecom.google.api.gax.tracing.ApiTracer.Scope\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiTracer.Scope\u003c/code\u003e is a context class designed for use with the \u003ccode\u003einScope()\u003c/code\u003e method within a try-with-resources block.\u003c/p\u003e\n"],["\u003cp\u003eClosing a \u003ccode\u003eScope\u003c/code\u003e instance, using the \u003ccode\u003eclose()\u003c/code\u003e method, removes any context that was set during its \u003ccode\u003einScope()\u003c/code\u003e operation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eApiTracer.Scope\u003c/code\u003e implements the \u003ccode\u003eAutoCloseable\u003c/code\u003e interface, allowing it to be used with try-with-resources blocks for automatic resource management.\u003c/p\u003e\n"]]],[],null,[]]