public sealed class DataCollectionOptions : IMessage<DataCollectionOptions>, IEquatable<DataCollectionOptions>, IDeepCloneable<DataCollectionOptions>, IBufferMessage, IMessage
Reference documentation and code samples for the Oracle Database@Google Cloud v1 API class DataCollectionOptions.
[[["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-09 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDataCollectionOptions\u003c/code\u003e class in the Google Cloud Oracle Database v1 API allows users to configure data collection settings for diagnostics.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering comprehensive functionality for data handling.\u003c/p\u003e\n"],["\u003cp\u003eUsers can control diagnostic data collection through properties like \u003ccode\u003eDiagnosticsEventsEnabled\u003c/code\u003e, \u003ccode\u003eHealthMonitoringEnabled\u003c/code\u003e, and \u003ccode\u003eIncidentLogsEnabled\u003c/code\u003e, each accepting a boolean to toggle the respective options.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eDataCollectionOptions\u003c/code\u003e class is version 1.1.0, although version 1.0.0 is also available.\u003c/p\u003e\n"]]],[],null,["# Oracle Database@Google Cloud v1 API - Class DataCollectionOptions (1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DataCollectionOptions)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/1.2.0/Google.Cloud.OracleDatabase.V1.DataCollectionOptions)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/1.1.0/Google.Cloud.OracleDatabase.V1.DataCollectionOptions)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/1.0.0/Google.Cloud.OracleDatabase.V1.DataCollectionOptions) \n\n public sealed class DataCollectionOptions : IMessage\u003cDataCollectionOptions\u003e, IEquatable\u003cDataCollectionOptions\u003e, IDeepCloneable\u003cDataCollectionOptions\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Oracle Database@Google Cloud v1 API class DataCollectionOptions.\n\nData collection options for diagnostics. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DataCollectionOptions \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataCollectionOptions](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DataCollectionOptions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataCollectionOptions](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DataCollectionOptions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataCollectionOptions](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1.DataCollectionOptions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \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.OracleDatabase.V1](/dotnet/docs/reference/Google.Cloud.OracleDatabase.V1/latest/Google.Cloud.OracleDatabase.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.OracleDatabase.V1.dll\n\nConstructors\n------------\n\n### DataCollectionOptions()\n\n public DataCollectionOptions()\n\n### DataCollectionOptions(DataCollectionOptions)\n\n public DataCollectionOptions(DataCollectionOptions other)\n\nProperties\n----------\n\n### DiagnosticsEventsEnabled\n\n public bool DiagnosticsEventsEnabled { get; set; }\n\nOptional. Indicates whether diagnostic collection is enabled for the VM\ncluster\n\n### HealthMonitoringEnabled\n\n public bool HealthMonitoringEnabled { get; set; }\n\nOptional. Indicates whether health monitoring is enabled for the VM cluster\n\n### IncidentLogsEnabled\n\n public bool IncidentLogsEnabled { get; set; }\n\nOptional. Indicates whether incident logs and trace collection are enabled\nfor the VM cluster"]]