GkeWorkloadResponse class
A GKE Workload (Deployment, StatefulSet, etc). The field names correspond to the metadata labels on monitored resources that fall under a workload (for example, k8s_container or k8s_pod).
Constructors
-
GkeWorkloadResponse({required Input<
String> clusterName, required Input<String> location, required Input<String> namespaceName, required Input<String> project, required Input<String> topLevelControllerName, required Input<String> topLevelControllerType}) -
Creates a new GkeWorkloadResponse.
clusterNameThe name of the parent cluster.locationThe location of the parent cluster. This may be a zone or region.namespaceNameThe name of the parent namespace.projectThe project this resource lives in. For legacy services migrated from the Custom type, this may be a distinct project from the one parenting the service itself.topLevelControllerNameThe name of this workload.topLevelControllerTypeThe type of this workload (for example, "Deployment" or "DaemonSet")const -
GkeWorkloadResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
clusterName
→ Input<
String> -
The name of the parent cluster.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> -
The location of the parent cluster. This may be a zone or region.
final
-
namespaceName
→ Input<
String> -
The name of the parent namespace.
final
-
project
→ Input<
String> -
The project this resource lives in. For legacy services migrated from the Custom type, this may be a distinct project from the one parenting the service itself.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
topLevelControllerName
→ Input<
String> -
The name of this workload.
final
-
topLevelControllerType
→ Input<
String> -
The type of this workload (for example, "Deployment" or "DaemonSet")
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