Service class

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.

Constructors

Service({AppEngine? appEngine, BasicService? basicService, CloudEndpoints? cloudEndpoints, CloudRun? cloudRun, ClusterIstio? clusterIstio, Custom? custom, String? displayName, GkeNamespace? gkeNamespace, GkeService? gkeService, GkeWorkload? gkeWorkload, IstioCanonicalService? istioCanonicalService, MeshIstio? meshIstio, String? name, Telemetry? telemetry, Map<String, String>? userLabels})
Service.fromJson(Map json_)

Properties

appEngine AppEngine?
Type used for App Engine services.
getter/setter pair
basicService BasicService?
Message that contains the service type and service labels of this service if it is a basic service.
getter/setter pair
cloudEndpoints CloudEndpoints?
Type used for Cloud Endpoints services.
getter/setter pair
cloudRun CloudRun?
Type used for Cloud Run services.
getter/setter pair
clusterIstio ClusterIstio?
Type used for Istio services that live in a Kubernetes cluster.
getter/setter pair
custom Custom?
Custom service type.
getter/setter pair
displayName String?
Name used for UI elements listing this Service.
getter/setter pair
gkeNamespace GkeNamespace?
Type used for GKE Namespaces.
getter/setter pair
gkeService GkeService?
Type used for GKE Services (the Kubernetes concept of a service).
getter/setter pair
gkeWorkload GkeWorkload?
Type used for GKE Workloads.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
istioCanonicalService IstioCanonicalService?
Type used for canonical services scoped to an Istio mesh.
getter/setter pair
meshIstio MeshIstio?
Type used for Istio services scoped to an Istio mesh.
getter/setter pair
name String?
Identifier.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
telemetry Telemetry?
Configuration for how to query telemetry on a Service.
getter/setter pair
userLabels Map<String, String>?
Labels which have been used to annotate the service.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited