An identifier of the service, such as the name of the
executable, job, or Google App Engine service name. This field is expected
to have a low number of values that are relatively stable over time, as
opposed to version, which can be changed whenever new code is deployed.
Contains the service name for error reports extracted from Google
App Engine logs or default if the App Engine default service is used.
Represents the source code version that the developer provided,
which could represent a version label or a Git SHA-1 hash, for example.
For App Engine standard environment, the version is set to the version of
the app.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eServiceContext\u003c/code\u003e class, part of the Google Cloud Error Reporting v1beta1 API, describes a running service that reports errors and may have multiple parallel versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceContext\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is 3.0.0-beta05, with the documentation page focusing on version 3.0.0-beta04, and there is an additional version of 2.0.0-beta05 available.\u003c/p\u003e\n"],["\u003cp\u003eThis class has three properties: \u003ccode\u003eResourceType\u003c/code\u003e, which is automatically set for errors and identifies the resource type; \u003ccode\u003eService\u003c/code\u003e, which identifies the service and is stable over time; and \u003ccode\u003eVersion\u003c/code\u003e, which represents the source code version.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: one parameterless constructor, \u003ccode\u003eServiceContext()\u003c/code\u003e, and another that accepts another \u003ccode\u003eServiceContext\u003c/code\u003e object, \u003ccode\u003eServiceContext(ServiceContext other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]