Service class Null safety
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.
read / write
- basicService ↔ BasicService?
-
Message that contains the service type and service labels of this service
if it is a basic service.
read / write
- cloudEndpoints ↔ CloudEndpoints?
-
Type used for Cloud Endpoints services.
read / write
- cloudRun ↔ CloudRun?
-
Type used for Cloud Run services.
read / write
- clusterIstio ↔ ClusterIstio?
-
Type used for Istio services that live in a Kubernetes cluster.
read / write
- custom ↔ Custom?
-
Custom service type.
read / write
- displayName ↔ String?
-
Name used for UI elements listing this Service.
read / write
- gkeNamespace ↔ GkeNamespace?
-
Type used for GKE Namespaces.
read / write
- gkeService ↔ GkeService?
-
Type used for GKE Services (the Kubernetes concept of a service).
read / write
- gkeWorkload ↔ GkeWorkload?
-
Type used for GKE Workloads.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- istioCanonicalService ↔ IstioCanonicalService?
-
Type used for canonical services scoped to an Istio mesh.
read / write
- meshIstio ↔ MeshIstio?
-
Type used for Istio services scoped to an Istio mesh.
read / write
- name ↔ String?
-
Resource name for this Service.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- telemetry ↔ Telemetry?
-
Configuration for how to query telemetry on a Service.
read / write
-
userLabels
↔ Map<
String, String> ? -
Labels which have been used to annotate the service.
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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