[[["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."],[],[],null,["# Stackdriver Monitoring V3 Client - Class IstioCanonicalService (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-monitoring/latest/V3.Service.IstioCanonicalService)\n- [2.1.1](/php/docs/reference/cloud-monitoring/2.1.1/V3.Service.IstioCanonicalService)\n- [2.0.1](/php/docs/reference/cloud-monitoring/2.0.1/V3.Service.IstioCanonicalService)\n- [1.12.1](/php/docs/reference/cloud-monitoring/1.12.1/V3.Service.IstioCanonicalService)\n- [1.11.1](/php/docs/reference/cloud-monitoring/1.11.1/V3.Service.IstioCanonicalService)\n- [1.10.3](/php/docs/reference/cloud-monitoring/1.10.3/V3.Service.IstioCanonicalService)\n- [1.9.0](/php/docs/reference/cloud-monitoring/1.9.0/V3.Service.IstioCanonicalService)\n- [1.8.0](/php/docs/reference/cloud-monitoring/1.8.0/V3.Service.IstioCanonicalService)\n- [1.7.1](/php/docs/reference/cloud-monitoring/1.7.1/V3.Service.IstioCanonicalService)\n- [1.6.0](/php/docs/reference/cloud-monitoring/1.6.0/V3.Service.IstioCanonicalService)\n- [1.5.1](/php/docs/reference/cloud-monitoring/1.5.1/V3.Service.IstioCanonicalService)\n- [1.4.0](/php/docs/reference/cloud-monitoring/1.4.0/V3.Service.IstioCanonicalService)\n- [1.3.2](/php/docs/reference/cloud-monitoring/1.3.2/V3.Service.IstioCanonicalService)\n- [1.2.2](/php/docs/reference/cloud-monitoring/1.2.2/V3.Service.IstioCanonicalService) \nReference documentation and code samples for the Stackdriver Monitoring V3 Client class IstioCanonicalService.\n\nCanonical service scoped to an Istio mesh. Anthos clusters running ASM \\\u003e=\n1.6.8 will have their services ingested as this type.\n\nGenerated from protobuf message `google.monitoring.v3.Service.IstioCanonicalService`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Monitoring \\\\ V3 \\\\ Service\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getMeshUid\n\nIdentifier for the Istio mesh in which this canonical service is defined.\n\nCorresponds to the `mesh_uid` metric label in\n[Istio metrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### setMeshUid\n\nIdentifier for the Istio mesh in which this canonical service is defined.\n\nCorresponds to the `mesh_uid` metric label in\n[Istio metrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### getCanonicalServiceNamespace\n\nThe namespace of the canonical service underlying this service.\n\nCorresponds to the `destination_canonical_service_namespace` metric\nlabel in [Istio\nmetrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### setCanonicalServiceNamespace\n\nThe namespace of the canonical service underlying this service.\n\nCorresponds to the `destination_canonical_service_namespace` metric\nlabel in [Istio\nmetrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### getCanonicalService\n\nThe name of the canonical service underlying this service.\n\nCorresponds to the `destination_canonical_service_name` metric label in\nlabel in [Istio\nmetrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### setCanonicalService\n\nThe name of the canonical service underlying this service.\n\nCorresponds to the `destination_canonical_service_name` metric label in\nlabel in [Istio\nmetrics](https://cloud.google.com/monitoring/api/metrics_istio)."]]