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\u003eThis documentation details the \u003ccode\u003eErrorReportingServiceOptions\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Diagnostics.Common\u003c/code\u003e namespace, used for configuring Google Cloud Error Reporting in .NET applications.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eSystem.Object\u003c/code\u003e and includes properties like \u003ccode\u003eClient\u003c/code\u003e, \u003ccode\u003eEventTarget\u003c/code\u003e, \u003ccode\u003eOptions\u003c/code\u003e, \u003ccode\u003eProjectId\u003c/code\u003e, \u003ccode\u003eServiceName\u003c/code\u003e, and \u003ccode\u003eVersion\u003c/code\u003e to customize error reporting.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEventTarget\u003c/code\u003e and \u003ccode\u003eProjectId\u003c/code\u003e properties define where error reports are sent and can be automatically detected when running on Google Cloud if not explicitly set.\u003c/p\u003e\n"],["\u003cp\u003eSeveral versions of the \u003ccode\u003eGoogle.Cloud.Diagnostics.Common\u003c/code\u003e package are available, with version 5.2.0 being the latest and version 5.1.0 being the currently viewed version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eClient\u003c/code\u003e property allows for specifying a \u003ccode\u003eLoggingServiceV2Client\u003c/code\u003e to handle log entries, enabling integration with Google Cloud Logging.\u003c/p\u003e\n"]]],[],null,[]]