public sealed class ManagedPrometheusConfig : IMessage<ManagedPrometheusConfig>, IEquatable<ManagedPrometheusConfig>, IDeepCloneable<ManagedPrometheusConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Anthos Multi-Cloud v1 API class ManagedPrometheusConfig.
ManagedPrometheusConfig defines the configuration for
Google Cloud Managed Service for Prometheus.
[[["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-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eManagedPrometheusConfig\u003c/code\u003e class within the Google Cloud GKE Multi-Cloud v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eManagedPrometheusConfig\u003c/code\u003e is used to configure Google Cloud Managed Service for Prometheus and is available in various versions, with the latest being 2.8.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eManagedPrometheusConfig\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a boolean property called \u003ccode\u003eEnabled\u003c/code\u003e which lets the user enable or disable Managed Collection.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class, one empty and one that accepts another object of the same type as a parameter, to initialize it.\u003c/p\u003e\n"]]],[],null,["# Anthos Multi-Cloud v1 API - Class ManagedPrometheusConfig (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.ManagedPrometheusConfig)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.7.0/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.6.0/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.5.0/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.4.0/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.3.0/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.2.0/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.1.0/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/2.0.0/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/1.0.0-beta01/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig) \n\n public sealed class ManagedPrometheusConfig : IMessage\u003cManagedPrometheusConfig\u003e, IEquatable\u003cManagedPrometheusConfig\u003e, IDeepCloneable\u003cManagedPrometheusConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Anthos Multi-Cloud v1 API class ManagedPrometheusConfig.\n\nManagedPrometheusConfig defines the configuration for\nGoogle Cloud Managed Service for Prometheus. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ManagedPrometheusConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ManagedPrometheusConfig](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ManagedPrometheusConfig](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ManagedPrometheusConfig](/dotnet/docs/reference/Google.Cloud.GkeMultiCloud.V1/latest/Google.Cloud.GkeMultiCloud.V1.ManagedPrometheusConfig), [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### ManagedPrometheusConfig()\n\n public ManagedPrometheusConfig()\n\n### ManagedPrometheusConfig(ManagedPrometheusConfig)\n\n public ManagedPrometheusConfig(ManagedPrometheusConfig other)\n\nProperties\n----------\n\n### Enabled\n\n public bool Enabled { get; set; }\n\nEnable Managed Collection."]]