Google Cloud Monitoring v3 API - Class Service (3.5.0)

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

Reference documentation and code samples for the Google Cloud Monitoring v3 API class 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.

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
ServiceTypesAppEngine

CloudEndpoints

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

Type used for Cloud Endpoints services.

Property Value
TypeDescription
ServiceTypesCloudEndpoints

ClusterIstio

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

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

Property Value
TypeDescription
ServiceTypesClusterIstio

Custom

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

Custom service type.

Property Value
TypeDescription
ServiceTypesCustom

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
ServiceIdentifierOneofCase

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
ServiceTypesIstioCanonicalService

MeshIstio

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

Type used for Istio services scoped to an Istio mesh.

Property Value
TypeDescription
ServiceTypesMeshIstio

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
ServiceTypesTelemetry

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
MapFieldstringstring