GoogleApi.WorkloadManager.V1.Model.HealthCheck (google_api_workload_manager v0.12.0)

View Source

HealthCheck contains the detailed health check of a component based on asource.

Attributes

  • message (type: String.t, default: nil) - Output only. The message of the health check.
  • metric (type: String.t, default: nil) - Output only. The health check source metric name.
  • resource (type: GoogleApi.WorkloadManager.V1.Model.CloudResource.t, default: nil) - Output only. The resource the check performs on.
  • source (type: String.t, default: nil) - Output only. The source of the health check.
  • state (type: String.t, default: nil) - Output only. The state of the health check.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WorkloadManager.V1.Model.HealthCheck{
  message: String.t() | nil,
  metric: String.t() | nil,
  resource: GoogleApi.WorkloadManager.V1.Model.CloudResource.t() | nil,
  source: String.t() | nil,
  state: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.