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.
Namespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Constructors
Service()
public Service()
Service(Service)
public Service(Service other)
Parameter | |
---|---|
Name | Description |
other | Service |
Properties
AppEngine
public Service.Types.AppEngine AppEngine { get; set; }
Type used for App Engine services.
Property Value | |
---|---|
Type | Description |
ServiceTypesAppEngine |
CloudEndpoints
public Service.Types.CloudEndpoints CloudEndpoints { get; set; }
Type used for Cloud Endpoints services.
Property Value | |
---|---|
Type | Description |
ServiceTypesCloudEndpoints |
ClusterIstio
public Service.Types.ClusterIstio ClusterIstio { get; set; }
Type used for Istio services that live in a Kubernetes cluster.
Property Value | |
---|---|
Type | Description |
ServiceTypesClusterIstio |
Custom
public Service.Types.Custom Custom { get; set; }
Custom service type.
Property Value | |
---|---|
Type | Description |
ServiceTypesCustom |
DisplayName
public string DisplayName { get; set; }
Name used for UI elements listing this Service.
Property Value | |
---|---|
Type | Description |
string |
IdentifierCase
public Service.IdentifierOneofCase IdentifierCase { get; }
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ServiceTypesIstioCanonicalService |
MeshIstio
public Service.Types.MeshIstio MeshIstio { get; set; }
Type used for Istio services scoped to an Istio mesh.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |
ResourceName
public IResourceName ResourceName { get; set; }
IResourceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |
ServiceName
public ServiceName ServiceName { get; set; }
ServiceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ServiceName |
Telemetry
public Service.Types.Telemetry Telemetry { get; set; }
Configuration for how to query telemetry on a Service.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
MapFieldstringstring |