Class: Google::Apis::MonitoringV3::MeshIstio

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/google/apis/monitoring_v3/representations.rb

Overview

Istio service scoped to an Istio mesh

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ MeshIstio

Returns a new instance of MeshIstio.



2026
2027
2028
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2026

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#mesh_uidString

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

Returns:

  • (String)


2012
2013
2014
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2012

def mesh_uid
  @mesh_uid
end

#service_nameString

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

Returns:

  • (String)


2018
2019
2020
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2018

def service_name
  @service_name
end

#service_namespaceString

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

Returns:

  • (String)


2024
2025
2026
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2024

def service_namespace
  @service_namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2031
2032
2033
2034
2035
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2031

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