class Google::Apis::MonitoringV3::BasicService
A well-known service type, defined by its service type and service labels. Documentation
and examples here (cloud.google.com/stackdriver/docs/ solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
Attributes
Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this Service
. Documentation
and valid values for given service types here (cloud.google.com/stackdriver/docs/solutions/slo- monitoring/api/api-structures#basic-svc-w-basic-sli). Corresponds to the JSON property `serviceLabels` @return [Hash<String,String>]
The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation
and valid values here (cloud.google.com/ stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic- sli). Corresponds to the JSON property `serviceType` @return [String]
Public Class Methods
# File lib/google/apis/monitoring_v3/classes.rb, line 350 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 355 def update!(**args) @service_labels = args[:service_labels] if args.key?(:service_labels) @service_type = args[:service_type] if args.key?(:service_type) end