Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Cloud::Monitoring::V3::Service.
A Service
is a discrete, autonomous, and network-accessible unit, designed
to solve an individual concern
(Wikipedia). In
Cloud Monitoring, a Service
acts as the root resource under which
operational aspects of the service are accessible.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#app_engine
def app_engine() -> ::Google::Cloud::Monitoring::V3::Service::AppEngine
- (::Google::Cloud::Monitoring::V3::Service::AppEngine) — Type used for App Engine services.
#app_engine=
def app_engine=(value) -> ::Google::Cloud::Monitoring::V3::Service::AppEngine
- value (::Google::Cloud::Monitoring::V3::Service::AppEngine) — Type used for App Engine services.
- (::Google::Cloud::Monitoring::V3::Service::AppEngine) — Type used for App Engine services.
#cloud_endpoints
def cloud_endpoints() -> ::Google::Cloud::Monitoring::V3::Service::CloudEndpoints
- (::Google::Cloud::Monitoring::V3::Service::CloudEndpoints) — Type used for Cloud Endpoints services.
#cloud_endpoints=
def cloud_endpoints=(value) -> ::Google::Cloud::Monitoring::V3::Service::CloudEndpoints
- value (::Google::Cloud::Monitoring::V3::Service::CloudEndpoints) — Type used for Cloud Endpoints services.
- (::Google::Cloud::Monitoring::V3::Service::CloudEndpoints) — Type used for Cloud Endpoints services.
#cluster_istio
def cluster_istio() -> ::Google::Cloud::Monitoring::V3::Service::ClusterIstio
- (::Google::Cloud::Monitoring::V3::Service::ClusterIstio) — Type used for Istio services that live in a Kubernetes cluster.
#cluster_istio=
def cluster_istio=(value) -> ::Google::Cloud::Monitoring::V3::Service::ClusterIstio
- value (::Google::Cloud::Monitoring::V3::Service::ClusterIstio) — Type used for Istio services that live in a Kubernetes cluster.
- (::Google::Cloud::Monitoring::V3::Service::ClusterIstio) — Type used for Istio services that live in a Kubernetes cluster.
#custom
def custom() -> ::Google::Cloud::Monitoring::V3::Service::Custom
- (::Google::Cloud::Monitoring::V3::Service::Custom) — Custom service type.
#custom=
def custom=(value) -> ::Google::Cloud::Monitoring::V3::Service::Custom
- value (::Google::Cloud::Monitoring::V3::Service::Custom) — Custom service type.
- (::Google::Cloud::Monitoring::V3::Service::Custom) — Custom service type.
#display_name
def display_name() -> ::String
- (::String) — Name used for UI elements listing this Service.
#display_name=
def display_name=(value) -> ::String
- value (::String) — Name used for UI elements listing this Service.
- (::String) — Name used for UI elements listing this Service.
#istio_canonical_service
def istio_canonical_service() -> ::Google::Cloud::Monitoring::V3::Service::IstioCanonicalService
- (::Google::Cloud::Monitoring::V3::Service::IstioCanonicalService) — Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
#istio_canonical_service=
def istio_canonical_service=(value) -> ::Google::Cloud::Monitoring::V3::Service::IstioCanonicalService
- value (::Google::Cloud::Monitoring::V3::Service::IstioCanonicalService) — Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
- (::Google::Cloud::Monitoring::V3::Service::IstioCanonicalService) — Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here
#mesh_istio
def mesh_istio() -> ::Google::Cloud::Monitoring::V3::Service::MeshIstio
- (::Google::Cloud::Monitoring::V3::Service::MeshIstio) — Type used for Istio services scoped to an Istio mesh.
#mesh_istio=
def mesh_istio=(value) -> ::Google::Cloud::Monitoring::V3::Service::MeshIstio
- value (::Google::Cloud::Monitoring::V3::Service::MeshIstio) — Type used for Istio services scoped to an Istio mesh.
- (::Google::Cloud::Monitoring::V3::Service::MeshIstio) — Type used for Istio services scoped to an Istio mesh.
#name
def name() -> ::String
-
(::String) —
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
#name=
def name=(value) -> ::String
-
value (::String) —
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-
(::String) —
Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
#telemetry
def telemetry() -> ::Google::Cloud::Monitoring::V3::Service::Telemetry
- (::Google::Cloud::Monitoring::V3::Service::Telemetry) — Configuration for how to query telemetry on a Service.
#telemetry=
def telemetry=(value) -> ::Google::Cloud::Monitoring::V3::Service::Telemetry
- value (::Google::Cloud::Monitoring::V3::Service::Telemetry) — Configuration for how to query telemetry on a Service.
- (::Google::Cloud::Monitoring::V3::Service::Telemetry) — Configuration for how to query telemetry on a Service.
#user_labels
def user_labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — 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.
#user_labels=
def user_labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — 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.
- (::Google::Protobuf::Map{::String => ::String}) — 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.