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
Methods
__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.
Generated from protobuf field string location = 1;
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.
Generated from protobuf field string location = 1;
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.
Generated from protobuf field string cluster_name = 2;
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.
Generated from protobuf field string cluster_name = 2;
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.
Generated from protobuf field string service_namespace = 3;
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.
Generated from protobuf field string service_namespace = 3;
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.
Generated from protobuf field string service_name = 4;
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.
Generated from protobuf field string service_name = 4;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |