[[["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."],[],[],null,["# Google API Common Protos Client - Class MonitoringDestination (4.12.3)\n\nVersion latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest/Api.Monitoring.MonitoringDestination)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2/Api.Monitoring.MonitoringDestination)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0/Api.Monitoring.MonitoringDestination)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0/Api.Monitoring.MonitoringDestination)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0/Api.Monitoring.MonitoringDestination)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3/Api.Monitoring.MonitoringDestination) \nReference documentation and code samples for the Google API Common Protos Client class MonitoringDestination.\n\nConfiguration of a specific monitoring destination (the producer project\nor the consumer project).\n\nGenerated from protobuf message `google.api.Monitoring.MonitoringDestination`\n\nNamespace\n---------\n\nGoogle \\\\ Api \\\\ Monitoring\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMonitoredResource\n\nThe monitored resource type. The type must be defined in\n[Service.monitored_resources](/php/docs/reference/common-protos/latest/Api.Service#_Google_Api_Service__getMonitoredResources__)\nsection.\n\n### setMonitoredResource\n\nThe monitored resource type. The type must be defined in\n[Service.monitored_resources](/php/docs/reference/common-protos/latest/Api.Service#_Google_Api_Service__getMonitoredResources__)\nsection.\n\n### getMetrics\n\nTypes of the metrics to report to this monitoring destination.\n\nEach type must be defined in\n[Service.metrics](/php/docs/reference/common-protos/latest/Api.Service#_Google_Api_Service__getMetrics__) section.\n\n### setMetrics\n\nTypes of the metrics to report to this monitoring destination.\n\nEach type must be defined in\n[Service.metrics](/php/docs/reference/common-protos/latest/Api.Service#_Google_Api_Service__getMetrics__) section."]]