google_api_replica_pool v0.1.0 GoogleApi.ReplicaPool.V1beta1.Model.HealthCheck View Source

Attributes

  • checkIntervalSec (type: integer(), default: nil) - How often (in seconds) to make HTTP requests for this healthcheck. The default value is 5 seconds.
  • description (type: String.t, default: nil) - The description for this health check.
  • healthyThreshold (type: integer(), default: nil) - The number of consecutive health check requests that need to succeed before the replica is considered healthy again. The default value is 2.
  • host (type: String.t, default: nil) - The value of the host header in the HTTP health check request. If left empty (default value), the localhost IP 127.0.0.1 will be used.
  • name (type: String.t, default: nil) - The name of this health check.
  • path (type: String.t, default: nil) - The localhost request path to send this health check, in the format /path/to/use. For example, /healthcheck.
  • port (type: integer(), default: nil) - The TCP port for the health check requests.
  • timeoutSec (type: integer(), default: nil) - How long (in seconds) to wait before a timeout failure for this healthcheck. The default value is 5 seconds.
  • unhealthyThreshold (type: integer(), default: nil) - The number of consecutive health check requests that need to fail in order to consider the replica unhealthy. The default value is 2.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.ReplicaPool.V1beta1.Model.HealthCheck{
  checkIntervalSec: integer(),
  description: String.t(),
  healthyThreshold: integer(),
  host: String.t(),
  name: String.t(),
  path: String.t(),
  port: integer(),
  timeoutSec: integer(),
  unhealthyThreshold: integer()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.