GetServiceResult class

Result data returned by getService.

Constructors

GetServiceResult({required AppEngineResponse appEngine, required BasicServiceResponse basicService, required CloudEndpointsResponse cloudEndpoints, required CloudRunResponse cloudRun, required ClusterIstioResponse clusterIstio, required Map<String, dynamic> custom, required String displayName, required GkeNamespaceResponse gkeNamespace, required GkeServiceResponse gkeService, required GkeWorkloadResponse gkeWorkload, required IstioCanonicalServiceResponse istioCanonicalService, required MeshIstioResponse meshIstio, required String name, required TelemetryResponse telemetry, required Map<String, String> userLabels})
Creates a new GetServiceResult. appEngine Type used for App Engine services. basicService Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples here (https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli). cloudEndpoints Type used for Cloud Endpoints services. cloudRun Type used for Cloud Run services. clusterIstio Type used for Istio services that live in a Kubernetes cluster. custom Custom service type. displayName Name used for UI elements listing this Service. gkeNamespace Type used for GKE Namespaces. gkeService Type used for GKE Services (the Kubernetes concept of a service). gkeWorkload Type used for GKE Workloads. istioCanonicalService Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here (https://istio.io/latest/docs/reference/config/metrics/) meshIstio Type used for Istio services scoped to an Istio mesh. name Resource name for this Service. The format is: projects/PROJECT_ID_OR_NUMBER/services/SERVICE_ID telemetry Configuration for how to query telemetry on a Service. userLabels 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.
const
GetServiceResult.fromMap(Map<String, dynamic> map)
factory

Properties

appEngine → AppEngineResponse
Type used for App Engine services.
final
basicService → BasicServiceResponse
Message that contains the service type and service labels of this service if it is a basic service. Documentation and examples here (https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli).
final
cloudEndpoints → CloudEndpointsResponse
Type used for Cloud Endpoints services.
final
cloudRun → CloudRunResponse
Type used for Cloud Run services.
final
clusterIstio → ClusterIstioResponse
Type used for Istio services that live in a Kubernetes cluster.
final
custom → Map<String, dynamic>
Custom service type.
final
displayName → String
Name used for UI elements listing this Service.
final
gkeNamespace → GkeNamespaceResponse
Type used for GKE Namespaces.
final
gkeService → GkeServiceResponse
Type used for GKE Services (the Kubernetes concept of a service).
final
gkeWorkload → GkeWorkloadResponse
Type used for GKE Workloads.
final
hashCode → int
The hash code for this object.
no setterinherited
istioCanonicalService → IstioCanonicalServiceResponse
Type used for canonical services scoped to an Istio mesh. Metrics for Istio are documented here (https://istio.io/latest/docs/reference/config/metrics/)
final
meshIstio → MeshIstioResponse
Type used for Istio services scoped to an Istio mesh.
final
name → String
Resource name for this Service. The format is: projects/PROJECT_ID_OR_NUMBER/services/SERVICE_ID
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
telemetry → TelemetryResponse
Configuration for how to query telemetry on a Service.
final
userLabels → Map<String, String>
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.
final

Methods

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

Operators

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