Class: Google::Apis::MonitoringV3::Service
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::Service
- 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
A Service is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern (Wikipedia (https://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.
Instance Attribute Summary collapse
-
#app_engine ⇒ Google::Apis::MonitoringV3::AppEngine
App Engine service.
-
#cloud_endpoints ⇒ Google::Apis::MonitoringV3::CloudEndpoints
Cloud Endpoints service.
-
#cluster_istio ⇒ Google::Apis::MonitoringV3::ClusterIstio
Istio service scoped to a single Kubernetes cluster.
-
#custom ⇒ Google::Apis::MonitoringV3::Custom
Custom view of service telemetry.
-
#display_name ⇒ String
Name used for UI elements listing this Service.
-
#mesh_istio ⇒ Google::Apis::MonitoringV3::MeshIstio
Istio service scoped to an Istio mesh.
-
#name ⇒ String
Resource name for this Service.
-
#telemetry ⇒ Google::Apis::MonitoringV3::Telemetry
Configuration for how to query telemetry on a Service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Service
constructor
A new instance of Service.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Service
Returns a new instance of Service.
3274 3275 3276 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3274 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_engine ⇒ Google::Apis::MonitoringV3::AppEngine
App Engine service. Learn more at https://cloud.google.com/appengine.
Corresponds to the JSON property appEngine
3232 3233 3234 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3232 def app_engine @app_engine end |
#cloud_endpoints ⇒ Google::Apis::MonitoringV3::CloudEndpoints
Cloud Endpoints service. Learn more at https://cloud.google.com/endpoints.
Corresponds to the JSON property cloudEndpoints
3237 3238 3239 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3237 def cloud_endpoints @cloud_endpoints end |
#cluster_istio ⇒ Google::Apis::MonitoringV3::ClusterIstio
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
3244 3245 3246 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3244 def cluster_istio @cluster_istio end |
#custom ⇒ Google::Apis::MonitoringV3::Custom
Custom view of service telemetry. Currently a place-holder pending final
design.
Corresponds to the JSON property custom
3250 3251 3252 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3250 def custom @custom end |
#display_name ⇒ String
Name used for UI elements listing this Service.
Corresponds to the JSON property displayName
3255 3256 3257 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3255 def display_name @display_name end |
#mesh_istio ⇒ Google::Apis::MonitoringV3::MeshIstio
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
3261 3262 3263 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3261 def mesh_istio @mesh_istio end |
#name ⇒ String
Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/
services/[SERVICE_ID]
Corresponds to the JSON property name
3267 3268 3269 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3267 def name @name end |
#telemetry ⇒ Google::Apis::MonitoringV3::Telemetry
Configuration for how to query telemetry on a Service.
Corresponds to the JSON property telemetry
3272 3273 3274 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3272 def telemetry @telemetry end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3279 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) @mesh_istio = args[:mesh_istio] if args.key?(:mesh_istio) @name = args[:name] if args.key?(:name) @telemetry = args[:telemetry] if args.key?(:telemetry) end |