class Google::Apis::MonitoringV3::Service
A Service
is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern (Wikipedia (en.wikipedia.org/wiki/Service- orientation)). In Cloud Monitoring, a Service
acts as the root resource under which operational aspects of the service are accessible.
Attributes
App Engine service. Learn more at cloud.google.com/appengine. Corresponds to the JSON property `appEngine` @return [Google::Apis::MonitoringV3::AppEngine]
Cloud Endpoints service. Learn more at cloud.google.com/endpoints. Corresponds to the JSON property `cloudEndpoints` @return [Google::Apis::MonitoringV3::CloudEndpoints]
Istio service scoped to a single Kubernetes cluster. Learn more at https:// istio.io. Clusters running OSS Istio will have their services ingested as this type. Corresponds to the JSON property `clusterIstio` @return [Google::Apis::MonitoringV3::ClusterIstio]
Custom
view of service telemetry. Currently a place-holder pending final design. Corresponds to the JSON property `custom` @return [Google::Apis::MonitoringV3::Custom]
Name used for UI elements listing this Service
. Corresponds to the JSON property `displayName` @return [String]
Canonical service scoped to an Istio mesh. Anthos clusters running ASM >= 1.6. 8 will have their services ingested as this type. Corresponds to the JSON property `istioCanonicalService` @return [Google::Apis::MonitoringV3::IstioCanonicalService]
Istio service scoped to an Istio mesh. Anthos clusters running ASM < 1.6.8 will have their services ingested as this type. Corresponds to the JSON property `meshIstio` @return [Google::Apis::MonitoringV3::MeshIstio]
Configuration for how to query telemetry on a Service
. Corresponds to the JSON property `telemetry` @return [Google::Apis::MonitoringV3::Telemetry]
Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value. Corresponds to the JSON property `userLabels` @return [Hash<String,String>]
Public Class Methods
# File lib/google/apis/monitoring_v3/classes.rb, line 3475 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 3480 def update!(**args) @app_engine = args[:app_engine] if args.key?(:app_engine) @cloud_endpoints = args[:cloud_endpoints] if args.key?(:cloud_endpoints) @cluster_istio = args[:cluster_istio] if args.key?(:cluster_istio) @custom = args[:custom] if args.key?(:custom) @display_name = args[:display_name] if args.key?(:display_name) @istio_canonical_service = args[:istio_canonical_service] if args.key?(:istio_canonical_service) @mesh_istio = args[:mesh_istio] if args.key?(:mesh_istio) @name = args[:name] if args.key?(:name) @telemetry = args[:telemetry] if args.key?(:telemetry) @user_labels = args[:user_labels] if args.key?(:user_labels) end