public sealed class CloudMonitoringConfig : IMessage<CloudMonitoringConfig>, IEquatable<CloudMonitoringConfig>, IDeepCloneable<CloudMonitoringConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Anthos Multi-Cloud v1 API class CloudMonitoringConfig.
CloudMonitoringConfig defines the configuration for
built-in Cloud Logging and Monitoring.
Only for Attached Clusters.
[[["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 of the \u003ccode\u003eCloudMonitoringConfig\u003c/code\u003e class is 2.8.0, found within the Google.Cloud.GkeMultiCloud.V1 namespace.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCloudMonitoringConfig\u003c/code\u003e defines the settings for built-in Cloud Logging and Monitoring specifically for Attached Clusters.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including IMessage, IEquatable, IDeepCloneable, and IBufferMessage, allowing for a range of functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and one that takes another \u003ccode\u003eCloudMonitoringConfig\u003c/code\u003e object for easy copying, and also includes an Enabled property to configure GKE-native logging and metrics.\u003c/p\u003e\n"],["\u003cp\u003eThere are several previous versions of the class available for use in addition to the most recent release, ranging from version 1.0.0-beta01 to 2.7.0.\u003c/p\u003e\n"]]],[],null,["# Anthos Multi-Cloud v1 API - Class CloudMonitoringConfig (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig) \n\n public sealed class CloudMonitoringConfig : IMessage\u003cCloudMonitoringConfig\u003e, IEquatable\u003cCloudMonitoringConfig\u003e, IDeepCloneable\u003cCloudMonitoringConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Anthos Multi-Cloud v1 API class CloudMonitoringConfig.\n\nCloudMonitoringConfig defines the configuration for\nbuilt-in Cloud Logging and Monitoring.\nOnly for Attached Clusters. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CloudMonitoringConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CloudMonitoringConfig](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CloudMonitoringConfig](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CloudMonitoringConfig](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.CloudMonitoringConfig), [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.GkeMultiCloud.V1](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.GkeMultiCloud.V1.dll\n\nConstructors\n------------\n\n### CloudMonitoringConfig()\n\n public CloudMonitoringConfig()\n\n### CloudMonitoringConfig(CloudMonitoringConfig)\n\n public CloudMonitoringConfig(CloudMonitoringConfig other)\n\nProperties\n----------\n\n### Enabled\n\n public bool Enabled { get; set; }\n\nEnable GKE-native logging and metrics.\nOnly for Attached Clusters.\n\n### HasEnabled\n\n public bool HasEnabled { get; }\n\nGets whether the \"enabled\" field is set"]]