Class Service
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.
Implements
Inherited Members
Namespace: Google.Apis.Monitoring.v3.Data
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class Service : IDirectResponseSchema
Properties
AppEngine
Type used for App Engine services.
Declaration
[JsonProperty("appEngine")]
public virtual AppEngine AppEngine { get; set; }
Property Value
Type | Description |
---|---|
AppEngine |
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).
Declaration
[JsonProperty("basicService")]
public virtual BasicService BasicService { get; set; }
Property Value
Type | Description |
---|---|
BasicService |
CloudEndpoints
Type used for Cloud Endpoints services.
Declaration
[JsonProperty("cloudEndpoints")]
public virtual CloudEndpoints CloudEndpoints { get; set; }
Property Value
Type | Description |
---|---|
CloudEndpoints |
CloudRun
Type used for Cloud Run services.
Declaration
[JsonProperty("cloudRun")]
public virtual CloudRun CloudRun { get; set; }
Property Value
Type | Description |
---|---|
CloudRun |
ClusterIstio
Type used for Istio services that live in a Kubernetes cluster.
Declaration
[JsonProperty("clusterIstio")]
public virtual ClusterIstio ClusterIstio { get; set; }
Property Value
Type | Description |
---|---|
ClusterIstio |
Custom
Custom service type.
Declaration
[JsonProperty("custom")]
public virtual Custom Custom { get; set; }
Property Value
Type | Description |
---|---|
Custom |
DisplayName
Name used for UI elements listing this Service.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GkeNamespace
Type used for GKE Namespaces.
Declaration
[JsonProperty("gkeNamespace")]
public virtual GkeNamespace GkeNamespace { get; set; }
Property Value
Type | Description |
---|---|
GkeNamespace |
GkeService
Type used for GKE Services (the Kubernetes concept of a service).
Declaration
[JsonProperty("gkeService")]
public virtual GkeService GkeService { get; set; }
Property Value
Type | Description |
---|---|
GkeService |
GkeWorkload
Type used for GKE Workloads.
Declaration
[JsonProperty("gkeWorkload")]
public virtual GkeWorkload GkeWorkload { get; set; }
Property Value
Type | Description |
---|---|
GkeWorkload |
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/)
Declaration
[JsonProperty("istioCanonicalService")]
public virtual IstioCanonicalService IstioCanonicalService { get; set; }
Property Value
Type | Description |
---|---|
IstioCanonicalService |
MeshIstio
Type used for Istio services scoped to an Istio mesh.
Declaration
[JsonProperty("meshIstio")]
public virtual MeshIstio MeshIstio { get; set; }
Property Value
Type | Description |
---|---|
MeshIstio |
Name
Identifier. Resource name for this Service. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Telemetry
Configuration for how to query telemetry on a Service.
Declaration
[JsonProperty("telemetry")]
public virtual Telemetry Telemetry { get; set; }
Property Value
Type | Description |
---|---|
Telemetry |
UserLabels
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.
Declaration
[JsonProperty("userLabels")]
public virtual IDictionary<string, string> UserLabels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |