public sealed class Monitoring.Types.MonitoringDestination : IMessage<Monitoring.Types.MonitoringDestination>, IEquatable<Monitoring.Types.MonitoringDestination>, IDeepCloneable<Monitoring.Types.MonitoringDestination>, IBufferMessage, IMessage
Configuration of a specific monitoring destination (the producer project
or the consumer project).
[[["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-08-28 UTC."],[[["\u003cp\u003eThe latest version of \u003ccode\u003eMonitoring.Types.MonitoringDestination\u003c/code\u003e is 2.15.0, which is part of the \u003ccode\u003eGoogle.Api.CommonProtos\u003c/code\u003e package.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMonitoring.Types.MonitoringDestination\u003c/code\u003e is a class used to configure a specific monitoring destination, applicable to either the producer or consumer project, implementing multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides constructors, fields like \u003ccode\u003eMetricsFieldNumber\u003c/code\u003e and \u003ccode\u003eMonitoredResourceFieldNumber\u003c/code\u003e, and properties such as \u003ccode\u003eMetrics\u003c/code\u003e and \u003ccode\u003eMonitoredResource\u003c/code\u003e to manage monitoring data.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eMonitoring.Types.MonitoringDestination\u003c/code\u003e also include methods like \u003ccode\u003eClone\u003c/code\u003e, \u003ccode\u003eEquals\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eMergeFrom\u003c/code\u003e, and \u003ccode\u003eWriteTo\u003c/code\u003e for managing the object and its data.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the standard \u003ccode\u003eobject\u003c/code\u003e class, and has inherited members like \u003ccode\u003eEquals(object, object)\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eReferenceEquals(object, object)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Class Monitoring.Types.MonitoringDestination (2.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.0 (latest)](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring.Types.MonitoringDestination)\n- [2.15.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.15.0/Google.Api.Monitoring.Types.MonitoringDestination)\n- [2.10.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.10.0/Google.Api.Monitoring.Types.MonitoringDestination)\n- [2.2.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.2.0/Google.Api.Monitoring.Types.MonitoringDestination) \n\n public sealed class Monitoring.Types.MonitoringDestination : IMessage\u003cMonitoring.Types.MonitoringDestination\u003e, IEquatable\u003cMonitoring.Types.MonitoringDestination\u003e, IDeepCloneable\u003cMonitoring.Types.MonitoringDestination\u003e, IBufferMessage, IMessage\n\nConfiguration of a specific monitoring destination (the producer project\nor the consumer project). \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Monitoring.Types.MonitoringDestination \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Monitoring](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring)[Types](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring.Types)[MonitoringDestination](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring.Types.MonitoringDestination), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Monitoring](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring)[Types](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring.Types)[MonitoringDestination](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring.Types.MonitoringDestination), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Monitoring](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring)[Types](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring.Types)[MonitoringDestination](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.Monitoring.Types.MonitoringDestination), [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.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)\n\nNamespace\n---------\n\n[Google.Api](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api)\n\nAssembly\n--------\n\nGoogle.Api.CommonProtos.dll\n\nConstructors\n------------\n\n### MonitoringDestination()\n\n public MonitoringDestination()\n\n### MonitoringDestination(MonitoringDestination)\n\n public MonitoringDestination(Monitoring.Types.MonitoringDestination other)\n\nFields\n------\n\n### MetricsFieldNumber\n\n public const int MetricsFieldNumber = 2\n\nField number for the \"metrics\" field.\n\n### MonitoredResourceFieldNumber\n\n public const int MonitoredResourceFieldNumber = 1\n\nField number for the \"monitored_resource\" field.\n\nProperties\n----------\n\n### Descriptor\n\n public static MessageDescriptor Descriptor { get; }\n\n### Metrics\n\n public RepeatedField\u003cstring\u003e Metrics { get; }\n\nTypes of the metrics to report to this monitoring destination.\nEach type must be defined in\n\\[Service.metrics\\]\\[google.api.Service.metrics\\] section.\n\n### MonitoredResource\n\n public string MonitoredResource { get; set; }\n\nThe monitored resource type. The type must be defined in\n\\[Service.monitored_resources\\]\\[google.api.Service.monitored_resources\\]\nsection.\n\n### Parser\n\n public static MessageParser\u003cMonitoring.Types.MonitoringDestination\u003e Parser { get; }\n\nMethods\n-------\n\n### CalculateSize()\n\n public int CalculateSize()\n\n### Clone()\n\n public Monitoring.Types.MonitoringDestination Clone()\n\n### Equals(MonitoringDestination)\n\n public bool Equals(Monitoring.Types.MonitoringDestination other)\n\n### Equals(object)\n\n public override bool Equals(object other)\n\n**Overrides** \n[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object))\n\n### GetHashCode()\n\n public override int GetHashCode()\n\n**Overrides** \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode)\n\n### MergeFrom(MonitoringDestination)\n\n public void MergeFrom(Monitoring.Types.MonitoringDestination other)\n\n### MergeFrom(CodedInputStream)\n\n public void MergeFrom(CodedInputStream input)\n\n### ToString()\n\n public override string ToString()\n\n**Overrides** \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\n### WriteTo(CodedOutputStream)\n\n public void WriteTo(CodedOutputStream output)"]]