[[["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\u003eErrorReportingOptions\u003c/code\u003e class provides optional configurations for initializing Google Cloud Error Reporting within the \u003ccode\u003eGoogle.Cloud.Diagnostics.Common\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers properties such as \u003ccode\u003eBufferOptions\u003c/code\u003e, \u003ccode\u003eLogName\u003c/code\u003e, \u003ccode\u003eMonitoredResource\u003c/code\u003e, and \u003ccode\u003eRetryOptions\u003c/code\u003e to customize the error reporting behavior.\u003c/p\u003e\n"],["\u003cp\u003eIt allows for the specification of a log name, monitored resource, buffer options, and retry options, using the static \u003ccode\u003eCreate\u003c/code\u003e method for a customized \u003ccode\u003eErrorReportingOptions\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 5.2.0, and there are 4 previous versions ranging from 4.3.1 to 5.1.0.\u003c/p\u003e\n"]]],[],null,["# Google.Cloud.Diagnostics.Common - Class ErrorReportingOptions (5.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/latest/Google.Cloud.Diagnostics.Common.ErrorReportingOptions)\n- [5.2.0](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/5.2.0/Google.Cloud.Diagnostics.Common.ErrorReportingOptions)\n- [5.1.0](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/5.1.0/Google.Cloud.Diagnostics.Common.ErrorReportingOptions)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/5.0.0/Google.Cloud.Diagnostics.Common.ErrorReportingOptions)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/4.4.0/Google.Cloud.Diagnostics.Common.ErrorReportingOptions)\n- [4.3.1](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/4.3.1/Google.Cloud.Diagnostics.Common.ErrorReportingOptions) \n\n public sealed class ErrorReportingOptions\n\nReference documentation and code samples for the Google.Cloud.Diagnostics.Common class ErrorReportingOptions.\n\nOptional configuration to be used when initializing\nGoogle Cloud Error Reporting. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ErrorReportingOptions \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Diagnostics.Common](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/latest/Google.Cloud.Diagnostics.Common)\n\nAssembly\n--------\n\nGoogle.Cloud.Diagnostics.Common.dll\n\nProperties\n----------\n\n### BufferOptions\n\n public BufferOptions BufferOptions { get; }\n\nThe buffer options for the error reporter.\n\n### LogName\n\n public string LogName { get; }\n\nThe name of the log.\n\n### MonitoredResource\n\n public MonitoredResource MonitoredResource { get; }\n\nThe monitored resource. See: \u003chttps://cloud.google.com/logging/docs/api/v2/resource-list\u003e\n\n### RetryOptions\n\n public RetryOptions RetryOptions { get; }\n\nThe retry options for the error reporter.\n\nMethods\n-------\n\n### Create(string, MonitoredResource, BufferOptions, RetryOptions)\n\n public static ErrorReportingOptions Create(string logName = null, MonitoredResource resource = null, BufferOptions bufferOptions = null, RetryOptions retryOptions = null)\n\nCreates an [ErrorReportingOptions](/dotnet/docs/reference/Google.Cloud.Diagnostics.Common/latest/Google.Cloud.Diagnostics.Common.ErrorReportingOptions)."]]