Class: Google::Apis::MonitoringV3::IstioCanonicalService
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MonitoringV3::IstioCanonicalService
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb 
Overview
Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6. 8 will have their services ingested as this type.
Instance Attribute Summary collapse
- 
  
    
      #canonical_service  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the canonical service underlying this service.
 - 
  
    
      #canonical_service_namespace  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The namespace of the canonical service underlying this service.
 - 
  
    
      #mesh_uid  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifier for the Istio mesh in which this canonical service is defined.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ IstioCanonicalService 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of IstioCanonicalService.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ IstioCanonicalService
Returns a new instance of IstioCanonicalService.
      2067 2068 2069  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 2067 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#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 (
https://cloud.google.com/monitoring/api/metrics_istio).
Corresponds to the JSON property canonicalService
      2051 2052 2053  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 2051 def canonical_service @canonical_service end  | 
  
#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 (
https://cloud.google.com/monitoring/api/metrics_istio).
Corresponds to the JSON property canonicalServiceNamespace
      2058 2059 2060  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 2058 def canonical_service_namespace @canonical_service_namespace end  | 
  
#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 (https://cloud.
google.com/monitoring/api/metrics_istio).
Corresponds to the JSON property meshUid
      2065 2066 2067  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 2065 def mesh_uid @mesh_uid end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2072 2073 2074 2075 2076  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 2072 def update!(**args) @canonical_service = args[:canonical_service] if args.key?(:canonical_service) @canonical_service_namespace = args[:canonical_service_namespace] if args.key?(:canonical_service_namespace) @mesh_uid = args[:mesh_uid] if args.key?(:mesh_uid) end  |