class Google::Apis::MonitoringV3::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.

Attributes

cluster_name[RW]

The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources. Corresponds to the JSON property `clusterName` @return [String]

location[RW]

The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources. Corresponds to the JSON property `location` @return [String]

service_name[RW]

The name of the Istio service underlying this service. Corresponds to the destination_service_name metric label in Istio metrics. Corresponds to the JSON property `serviceName` @return [String]

service_namespace[RW]

The namespace of the Istio service underlying this service. Corresponds to the destination_service_namespace metric label in Istio metrics. Corresponds to the JSON property `serviceNamespace` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 493
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/monitoring_v3/classes.rb, line 498
def update!(**args)
  @cluster_name = args[:cluster_name] if args.key?(:cluster_name)
  @location = args[:location] if args.key?(:location)
  @service_name = args[:service_name] if args.key?(:service_name)
  @service_namespace = args[:service_namespace] if args.key?(:service_namespace)
end