Class Service (3.0.0)

public sealed class Service : IMessage<Service>, IEquatable<Service>, IDeepCloneable<Service>, IBufferMessage, IMessage

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.

Inheritance

Object > Service

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

Service()

public Service()

Service(Service)

public Service(Service other)
Parameter
NameDescription
otherService

Properties

AppEngine

public Service.Types.AppEngine AppEngine { get; set; }

Type used for App Engine services.

Property Value
TypeDescription
Service.Types.AppEngine

CloudEndpoints

public Service.Types.CloudEndpoints CloudEndpoints { get; set; }

Type used for Cloud Endpoints services.

Property Value
TypeDescription
Service.Types.CloudEndpoints

ClusterIstio

public Service.Types.ClusterIstio ClusterIstio { get; set; }

Type used for Istio services that live in a Kubernetes cluster.

Property Value
TypeDescription
Service.Types.ClusterIstio

Custom

public Service.Types.Custom Custom { get; set; }

Custom service type.

Property Value
TypeDescription
Service.Types.Custom

DisplayName

public string DisplayName { get; set; }

Name used for UI elements listing this Service.

Property Value
TypeDescription
String

IdentifierCase

public Service.IdentifierOneofCase IdentifierCase { get; }
Property Value
TypeDescription
Service.IdentifierOneofCase

IstioCanonicalService

public Service.Types.IstioCanonicalService IstioCanonicalService { get; set; }

Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here

Property Value
TypeDescription
Service.Types.IstioCanonicalService

MeshIstio

public Service.Types.MeshIstio MeshIstio { get; set; }

Type used for Istio services scoped to an Istio mesh.

Property Value
TypeDescription
Service.Types.MeshIstio

Name

public string Name { get; set; }

Resource name for this Service. The format is:

projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]

Property Value
TypeDescription
String

ResourceName

public IResourceName ResourceName { get; set; }

IResourceName-typed view over the Name resource name property.

Property Value
TypeDescription
IResourceName

ServiceName

public ServiceName ServiceName { get; set; }

ServiceName-typed view over the Name resource name property.

Property Value
TypeDescription
ServiceName

Telemetry

public Service.Types.Telemetry Telemetry { get; set; }

Configuration for how to query telemetry on a Service.

Property Value
TypeDescription
Service.Types.Telemetry

UserLabels

public MapField<string, string> UserLabels { get; }

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.

Property Value
TypeDescription
MapField<String, String>