Struct google_monitoring3::api::Service
source · pub struct Service {Show 15 fields
pub app_engine: Option<AppEngine>,
pub basic_service: Option<BasicService>,
pub cloud_endpoints: Option<CloudEndpoints>,
pub cloud_run: Option<CloudRun>,
pub cluster_istio: Option<ClusterIstio>,
pub custom: Option<Custom>,
pub display_name: Option<String>,
pub gke_namespace: Option<GkeNamespace>,
pub gke_service: Option<GkeService>,
pub gke_workload: Option<GkeWorkload>,
pub istio_canonical_service: Option<IstioCanonicalService>,
pub mesh_istio: Option<MeshIstio>,
pub name: Option<String>,
pub telemetry: Option<Telemetry>,
pub user_labels: Option<HashMap<String, String>>,
}
Expand description
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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- service level objectives create services (none)
- service level objectives delete services (none)
- service level objectives get services (none)
- service level objectives list services (none)
- service level objectives patch services (none)
- create services (request|response)
- delete services (none)
- get services (response)
- list services (none)
- patch services (request|response)
Fields§
§app_engine: Option<AppEngine>
Type used for App Engine services.
basic_service: Option<BasicService>
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples here (https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
cloud_endpoints: Option<CloudEndpoints>
Type used for Cloud Endpoints services.
cloud_run: Option<CloudRun>
Type used for Cloud Run services.
cluster_istio: Option<ClusterIstio>
Type used for Istio services that live in a Kubernetes cluster.
custom: Option<Custom>
Custom service type.
display_name: Option<String>
Name used for UI elements listing this Service.
gke_namespace: Option<GkeNamespace>
Type used for GKE Namespaces.
gke_service: Option<GkeService>
Type used for GKE Services (the Kubernetes concept of a service).
gke_workload: Option<GkeWorkload>
Type used for GKE Workloads.
istio_canonical_service: Option<IstioCanonicalService>
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here (https://istio.io/latest/docs/reference/config/metrics/)
mesh_istio: Option<MeshIstio>
Type used for Istio services scoped to an Istio mesh.
name: Option<String>
Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
telemetry: Option<Telemetry>
Configuration for how to query telemetry on a Service.
user_labels: Option<HashMap<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.