Class: Google::Apis::MonitoringV3::ClusterIstio
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::ClusterIstio
- 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 a single Kubernetes cluster. Learn more at http:// istio.io.
Instance Attribute Summary collapse
-
#cluster_name ⇒ String
The name of the Kubernetes cluster in which this Istio service is defined.
-
#location ⇒ String
The location of the Kubernetes cluster 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) ⇒ ClusterIstio
constructor
A new instance of ClusterIstio.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ClusterIstio
Returns a new instance of ClusterIstio.
456 457 458 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 456 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster_name ⇒ String
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
436 437 438 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 436 def cluster_name @cluster_name end |
#location ⇒ String
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
442 443 444 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 442 def location @location 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
448 449 450 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 448 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
454 455 456 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 454 def service_namespace @service_namespace end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
461 462 463 464 465 466 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 461 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 |