# Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::Service::IstioCanonicalService (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.1 1.6.1 1.5.1 1.4.0 1.3.0 1.2.0 1.1.0 1.0.1 0.18.0 0.17.0 0.16.0 0.15.2 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.0 0.8.0 0.7.1 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

    def canonical_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](https://cloud.google.com/monitoring/api/metrics_istio).

### #canonical_service=

    def canonical_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](https://cloud.google.com/monitoring/api/metrics_istio).
**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](https://cloud.google.com/monitoring/api/metrics_istio).

### #canonical_service_namespace

    def canonical_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](https://cloud.google.com/monitoring/api/metrics_istio).

### #canonical_service_namespace=

    def canonical_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](https://cloud.google.com/monitoring/api/metrics_istio).
**Returns**

- (::String) --- The namespace of the canonical service underlying this service. Corresponds to the `destination_canonical_service_namespace` metric label in [Istio
  metrics](https://cloud.google.com/monitoring/api/metrics_istio).

### #mesh_uid

    def mesh_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](https://cloud.google.com/monitoring/api/metrics_istio).

### #mesh_uid=

    def mesh_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](https://cloud.google.com/monitoring/api/metrics_istio).
**Returns**

- (::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).