Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::Service::IstioCanonicalService.
Canonical service scoped to an Istio mesh. Anthos clusters running ASM >=
1.6.8 will have their services ingested as this type.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#canonical_service
defcanonical_service()->::String
Returns
(::String) — The name of the canonical service underlying this service.
Corresponds to the destination_canonical_service_name metric label in
label in Istio
metrics.
#canonical_service=
defcanonical_service=(value)->::String
Parameter
value (::String) — The name of the canonical service underlying this service.
Corresponds to the destination_canonical_service_name metric label in
label in Istio
metrics.
Returns
(::String) — The name of the canonical service underlying this service.
Corresponds to the destination_canonical_service_name metric label in
label in Istio
metrics.
#canonical_service_namespace
defcanonical_service_namespace()->::String
Returns
(::String) — The namespace of the canonical service underlying this service.
Corresponds to the destination_canonical_service_namespace metric
label in Istio
metrics.
#canonical_service_namespace=
defcanonical_service_namespace=(value)->::String
Parameter
value (::String) — The namespace of the canonical service underlying this service.
Corresponds to the destination_canonical_service_namespace metric
label in Istio
metrics.
Returns
(::String) — The namespace of the canonical service underlying this service.
Corresponds to the destination_canonical_service_namespace metric
label in Istio
metrics.
#mesh_uid
defmesh_uid()->::String
Returns
(::String) — Identifier for the Istio mesh in which this canonical service is defined.
Corresponds to the mesh_uid metric label in
Istio metrics.
#mesh_uid=
defmesh_uid=(value)->::String
Parameter
value (::String) — Identifier for the Istio mesh in which this canonical service is defined.
Corresponds to the mesh_uid metric label in
Istio metrics.
Returns
(::String) — Identifier for the Istio mesh in which this canonical service is defined.
Corresponds to the mesh_uid metric label in
Istio metrics.
[[["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,["# Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::Service::IstioCanonicalService (v1.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.1 (latest)](/ruby/docs/reference/google-cloud-monitoring-v3/latest/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [1.6.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.6.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [1.5.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.5.1/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [1.4.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.4.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [1.3.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.3.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [1.2.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.2.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [1.1.0](/ruby/docs/reference/google-cloud-monitoring-v3/1.1.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [1.0.1](/ruby/docs/reference/google-cloud-monitoring-v3/1.0.1/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.18.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.18.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.17.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.17.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.16.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.16.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.15.2](/ruby/docs/reference/google-cloud-monitoring-v3/0.15.2/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.14.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.14.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.13.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.13.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.12.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.12.1/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.11.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.11.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.10.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.10.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.9.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.9.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.8.0](/ruby/docs/reference/google-cloud-monitoring-v3/0.8.0/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService)\n- [0.7.1](/ruby/docs/reference/google-cloud-monitoring-v3/0.7.1/Google-Cloud-Monitoring-V3-Service-IstioCanonicalService) \nReference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::Service::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\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #canonical_service\n\n def canonical_service() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The name of the canonical service underlying this service. Corresponds to the `destination_canonical_service_name` metric label in label in [Istio\n metrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### #canonical_service=\n\n def canonical_service=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The name of the canonical service underlying this service. Corresponds to the `destination_canonical_service_name` metric label in label in [Istio\nmetrics](https://cloud.google.com/monitoring/api/metrics_istio). \n**Returns**\n\n- (::String) --- The name of the canonical service underlying this service. Corresponds to the `destination_canonical_service_name` metric label in label in [Istio\n metrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### #canonical_service_namespace\n\n def canonical_service_namespace() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The namespace of the canonical service underlying this service. Corresponds to the `destination_canonical_service_namespace` metric label in [Istio\n metrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### #canonical_service_namespace=\n\n def canonical_service_namespace=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The namespace of the canonical service underlying this service. Corresponds to the `destination_canonical_service_namespace` metric label in [Istio\nmetrics](https://cloud.google.com/monitoring/api/metrics_istio). \n**Returns**\n\n- (::String) --- The namespace of the canonical service underlying this service. Corresponds to the `destination_canonical_service_namespace` metric label in [Istio\n metrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### #mesh_uid\n\n def mesh_uid() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Identifier for the Istio mesh in which this canonical service is defined. Corresponds to the `mesh_uid` metric label in [Istio metrics](https://cloud.google.com/monitoring/api/metrics_istio).\n\n### #mesh_uid=\n\n def mesh_uid=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Identifier for the Istio mesh in which this canonical service is defined. Corresponds to the `mesh_uid` metric label in [Istio metrics](https://cloud.google.com/monitoring/api/metrics_istio). \n**Returns**\n\n- (::String) --- Identifier for the Istio mesh in which this canonical service is defined. Corresponds to the `mesh_uid` metric label in [Istio metrics](https://cloud.google.com/monitoring/api/metrics_istio)."]]