Where to send error reports to. Will ultimately represent a Google Project or Organization.
May be set by setting ProjectId.
May be null if running on Google Cloud in which case the
Google Cloud Platform project ID will be detected from the platform
and used to build the event target.
The Google Cloud Project ID to store the logs in.
May be null if running on Google Cloud, in which case, and if EventTarget is
also null the project ID will be detected from the platform
and used to build the log target.
This is an alternate way to set EventTarget for Project.
[[["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 latest version available is 5.2.0, with options to view documentation for versions 5.1.0, 5.0.0, 4.4.0, and 4.3.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eErrorReportingServiceOptions\u003c/code\u003e class is used for configuring error reporting and inherits members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eMemberwiseClone()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eClient\u003c/code\u003e for logging entries, \u003ccode\u003eEventTarget\u003c/code\u003e for the destination of error reports, \u003ccode\u003eOptions\u003c/code\u003e for configuring exception logging, and \u003ccode\u003eProjectId\u003c/code\u003e for specifying the Google Cloud project.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eServiceName\u003c/code\u003e and \u003ccode\u003eVersion\u003c/code\u003e properties are identifiers for the service and its source code version, and may both be null if not provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEventTarget\u003c/code\u003e and \u003ccode\u003eProjectId\u003c/code\u003e can both be null if running on the Google cloud platform, in which case the Google Cloud Platform project ID will be detected and used to build the event target.\u003c/p\u003e\n"]]],[],null,[]]