Stackdriver Monitoring V3 Client - Class IstioCanonicalService (1.2.2)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class IstioCanonicalService.

Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6.8 will have their services ingested as this type.

Generated from protobuf message google.monitoring.v3.Service.IstioCanonicalService

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ mesh_uid string

Identifier for the Istio mesh in which this canonical service is defined. Corresponds to the mesh_uid metric label in Istio metrics.

↳ canonical_service_namespace string

The namespace of the canonical service underlying this service. Corresponds to the destination_canonical_service_namespace metric label in Istio metrics.

↳ canonical_service string

The name of the canonical service underlying this service. Corresponds to the destination_canonical_service_name metric label in label in Istio metrics.

getMeshUid

Identifier for the Istio mesh in which this canonical service is defined.

Corresponds to the mesh_uid metric label in Istio metrics.

Generated from protobuf field string mesh_uid = 1;

Returns
TypeDescription
string

setMeshUid

Identifier for the Istio mesh in which this canonical service is defined.

Corresponds to the mesh_uid metric label in Istio metrics.

Generated from protobuf field string mesh_uid = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCanonicalServiceNamespace

The namespace of the canonical service underlying this service.

Corresponds to the destination_canonical_service_namespace metric label in Istio metrics.

Generated from protobuf field string canonical_service_namespace = 3;

Returns
TypeDescription
string

setCanonicalServiceNamespace

The namespace of the canonical service underlying this service.

Corresponds to the destination_canonical_service_namespace metric label in Istio metrics.

Generated from protobuf field string canonical_service_namespace = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCanonicalService

The name of the canonical service underlying this service.

Corresponds to the destination_canonical_service_name metric label in label in Istio metrics.

Generated from protobuf field string canonical_service = 4;

Returns
TypeDescription
string

setCanonicalService

The name of the canonical service underlying this service.

Corresponds to the destination_canonical_service_name metric label in label in Istio metrics.

Generated from protobuf field string canonical_service = 4;

Parameter
NameDescription
var string
Returns
TypeDescription
$this