Stackdriver Monitoring V3 Client - Class ClusterIstio (1.7.1)

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

Istio service scoped to a single Kubernetes cluster. Learn more at https://istio.io. Clusters running OSS Istio will have their services ingested as this type.

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

Namespace

Google \ Cloud \ Monitoring \ V3 \ Service

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ location string

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.

↳ cluster_name string

The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources.

↳ service_namespace string

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

↳ service_name string

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

getLocation

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.

Returns
TypeDescription
string

setLocation

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getClusterName

The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources.

Returns
TypeDescription
string

setClusterName

The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceNamespace

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

Returns
TypeDescription
string

setServiceNamespace

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceName

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

Returns
TypeDescription
string

setServiceName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this