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.
2160 2161 2162 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2160 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
2144 2145 2146 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2144 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
2151 2152 2153 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2151 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
2158 2159 2160 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2158 def mesh_uid @mesh_uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2165 2166 2167 2168 2169 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2165 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 |