View Source GoogleApi.Monitoring.V3.Model.GkeWorkload (google_api_monitoring v0.55.0)

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).

Attributes

  • clusterName (type: String.t, default: nil) - The name of the parent cluster.
  • location (type: String.t, default: nil) - The location of the parent cluster. This may be a zone or region.
  • namespaceName (type: String.t, default: nil) - The name of the parent namespace.
  • projectId (type: String.t, default: nil) - Output only. 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.
  • topLevelControllerName (type: String.t, default: nil) - The name of this workload.
  • topLevelControllerType (type: String.t, default: nil) - The type of this workload (for example, "Deployment" or "DaemonSet")

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Monitoring.V3.Model.GkeWorkload{
  clusterName: String.t() | nil,
  location: String.t() | nil,
  namespaceName: String.t() | nil,
  projectId: String.t() | nil,
  topLevelControllerName: String.t() | nil,
  topLevelControllerType: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.