Class: Google::Apis::MonitoringV3::MeshIstio
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::MeshIstio
- 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
Istio 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
-
#mesh_uid ⇒ String
Identifier for the mesh in which this Istio service is defined.
-
#service_name ⇒ String
The name of the Istio service underlying this service.
-
#service_namespace ⇒ String
The namespace of the Istio service underlying this service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MeshIstio
constructor
A new instance of MeshIstio.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MeshIstio
Returns a new instance of MeshIstio.
2813 2814 2815 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2813 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mesh_uid ⇒ String
Identifier for the mesh in which this Istio service is defined. Corresponds to
the mesh_uid metric label in Istio metrics.
Corresponds to the JSON property meshUid
2799 2800 2801 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2799 def mesh_uid @mesh_uid end |
#service_name ⇒ String
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
2805 2806 2807 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2805 def service_name @service_name end |
#service_namespace ⇒ String
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
2811 2812 2813 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2811 def service_namespace @service_namespace end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2818 2819 2820 2821 2822 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 2818 def update!(**args) @mesh_uid = args[:mesh_uid] if args.key?(:mesh_uid) @service_name = args[:service_name] if args.key?(:service_name) @service_namespace = args[:service_namespace] if args.key?(:service_namespace) end |