class Google::Apis::DataflowV1b3::WorkerHealthReport
WorkerHealthReport
contains information about the health of a worker. The VM should be identified by the labels attached to the WorkerMessage
that this health ping belongs to.
Attributes
Message describing any unusual health reports. Corresponds to the JSON property `msg` @return [String]
The pods running on the worker. See: kubernetes.io/v1.1/docs/api- reference/v1/definitions.html#_v1_pod This field is used by the worker to send the status of the indvidual containers running on each worker. Corresponds to the JSON property `pods` @return [Array<Hash<String,Object>>]
The interval at which the worker is sending health reports. The default value of 0 should be interpreted as the field is not being explicitly set by the worker. Corresponds to the JSON property `reportInterval` @return [String]
Code to describe a specific reason, if known, that a VM has reported broken state. Corresponds to the JSON property `vmBrokenCode` @return [String]
Whether the VM is in a permanently broken state. Broken VMs should be abandoned or deleted ASAP to avoid assigning or completing any work. Corresponds to the JSON property `vmIsBroken` @return [Boolean]
Whether the VM is in a permanently broken state. Broken VMs should be abandoned or deleted ASAP to avoid assigning or completing any work. Corresponds to the JSON property `vmIsBroken` @return [Boolean]
Whether the VM is currently healthy. Corresponds to the JSON property `vmIsHealthy` @return [Boolean]
Whether the VM is currently healthy. Corresponds to the JSON property `vmIsHealthy` @return [Boolean]
The time the VM was booted. Corresponds to the JSON property `vmStartupTime` @return [String]
Public Class Methods
# File lib/google/apis/dataflow_v1b3/classes.rb, line 6234 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dataflow_v1b3/classes.rb, line 6239 def update!(**args) @msg = args[:msg] if args.key?(:msg) @pods = args[:pods] if args.key?(:pods) @report_interval = args[:report_interval] if args.key?(:report_interval) @vm_broken_code = args[:vm_broken_code] if args.key?(:vm_broken_code) @vm_is_broken = args[:vm_is_broken] if args.key?(:vm_is_broken) @vm_is_healthy = args[:vm_is_healthy] if args.key?(:vm_is_healthy) @vm_startup_time = args[:vm_startup_time] if args.key?(:vm_startup_time) end