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.
#basic_service
def basic_service() -> ::Google::Cloud::Monitoring::V3::Service::BasicService
- (::Google::Cloud::Monitoring::V3::Service::BasicService) — Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples here.
#basic_service=
def basic_service=(value) -> ::Google::Cloud::Monitoring::V3::Service::BasicService
- value (::Google::Cloud::Monitoring::V3::Service::BasicService) — Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples here.
- (::Google::Cloud::Monitoring::V3::Service::BasicService) — Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples here.
#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.
#cloud_run
def cloud_run() -> ::Google::Cloud::Monitoring::V3::Service::CloudRun
- (::Google::Cloud::Monitoring::V3::Service::CloudRun) — Type used for Cloud Run services.
#cloud_run=
def cloud_run=(value) -> ::Google::Cloud::Monitoring::V3::Service::CloudRun
- value (::Google::Cloud::Monitoring::V3::Service::CloudRun) — Type used for Cloud Run services.
- (::Google::Cloud::Monitoring::V3::Service::CloudRun) — Type used for Cloud Run 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.
#gke_namespace
def gke_namespace() -> ::Google::Cloud::Monitoring::V3::Service::GkeNamespace
- (::Google::Cloud::Monitoring::V3::Service::GkeNamespace) — Type used for GKE Namespaces.
#gke_namespace=
def gke_namespace=(value) -> ::Google::Cloud::Monitoring::V3::Service::GkeNamespace
- value (::Google::Cloud::Monitoring::V3::Service::GkeNamespace) — Type used for GKE Namespaces.
- (::Google::Cloud::Monitoring::V3::Service::GkeNamespace) — Type used for GKE Namespaces.
#gke_service
def gke_service() -> ::Google::Cloud::Monitoring::V3::Service::GkeService
- (::Google::Cloud::Monitoring::V3::Service::GkeService) — Type used for GKE Services (the Kubernetes concept of a service).
#gke_service=
def gke_service=(value) -> ::Google::Cloud::Monitoring::V3::Service::GkeService
- value (::Google::Cloud::Monitoring::V3::Service::GkeService) — Type used for GKE Services (the Kubernetes concept of a service).
- (::Google::Cloud::Monitoring::V3::Service::GkeService) — Type used for GKE Services (the Kubernetes concept of a service).
#gke_workload
def gke_workload() -> ::Google::Cloud::Monitoring::V3::Service::GkeWorkload
- (::Google::Cloud::Monitoring::V3::Service::GkeWorkload) — Type used for GKE Workloads.
#gke_workload=
def gke_workload=(value) -> ::Google::Cloud::Monitoring::V3::Service::GkeWorkload
- value (::Google::Cloud::Monitoring::V3::Service::GkeWorkload) — Type used for GKE Workloads.
- (::Google::Cloud::Monitoring::V3::Service::GkeWorkload) — Type used for GKE Workloads.
#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) —
Identifier. Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
#name=
def name=(value) -> ::String
-
value (::String) —
Identifier. Resource name for this Service. The format is:
projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
-
(::String) —
Identifier. 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.