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 \ ServiceMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
↳ cluster_name |
string
The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the |
↳ service_namespace |
string
The namespace of the Istio service underlying this service. Corresponds to the |
↳ service_name |
string
The name of the Istio service underlying this service. Corresponds to the |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getServiceNamespace
The namespace of the Istio service underlying this service. Corresponds
to the destination_service_namespace
metric label in Istio metrics.
Returns | |
---|---|
Type | Description |
string |
setServiceNamespace
The namespace of the Istio service underlying this service. Corresponds
to the destination_service_namespace
metric label in Istio metrics.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getServiceName
The name of the Istio service underlying this service. Corresponds to the
destination_service_name
metric label in Istio metrics.
Returns | |
---|---|
Type | Description |
string |
setServiceName
The name of the Istio service underlying this service. Corresponds to the
destination_service_name
metric label in Istio metrics.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |