Cloud Monitoring V3 API - Class Google::Cloud::Monitoring::V3::Service::BasicService (v1.1.0)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::Service::BasicService.

A well-known service type, defined by its service type and service labels. Documentation and examples here.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#service_labels

defservice_labels()->::Google::Protobuf::Map{::String=>::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — 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.

#service_labels=

defservice_labels=(value)->::Google::Protobuf::Map{::String=>::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — 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.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — 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.

#service_type

defservice_type()->::String
Returns
  • (::String) — The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation and valid values here.

#service_type=

defservice_type=(value)->::String
Parameter
  • value (::String) — The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation and valid values here.
Returns
  • (::String) — The type of service that this basic service defines, e.g. APP_ENGINE service type. Documentation and valid values here.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.