google_api_dataflow v0.5.0 GoogleApi.Dataflow.V1b3.Model.WorkerMessage View Source
WorkerMessage provides information to the backend about a worker.
Attributes
- labels (%{optional(String.t) => String.t}): Labels are used to group WorkerMessages. For example, a worker_message about a particular container might have the labels: { "JOB_ID": "2015-04-22", "WORKER_ID": "wordcount-vm-2015…" "CONTAINER_TYPE": "worker", "CONTAINER_ID": "ac1234def"} Label tags typically correspond to Label enum values. However, for ease of development other strings can be used as tags. LABEL_UNSPECIFIED should not be used here. Defaults to:
null
. - time (DateTime.t): The timestamp of the worker_message. Defaults to:
null
. - workerHealthReport (WorkerHealthReport): The health of a worker. Defaults to:
null
. - workerLifecycleEvent (WorkerLifecycleEvent): Record of worker lifecycle events. Defaults to:
null
. - workerMessageCode (WorkerMessageCode): A worker message code. Defaults to:
null
. - workerMetrics (ResourceUtilizationReport): Resource metrics reported by workers. Defaults to:
null
. - workerShutdownNotice (WorkerShutdownNotice): Shutdown notice by workers. Defaults to:
null
.
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()
View Source
t() :: %GoogleApi.Dataflow.V1b3.Model.WorkerMessage{
labels: map(),
time: DateTime.t(),
workerHealthReport: GoogleApi.Dataflow.V1b3.Model.WorkerHealthReport.t(),
workerLifecycleEvent: GoogleApi.Dataflow.V1b3.Model.WorkerLifecycleEvent.t(),
workerMessageCode: GoogleApi.Dataflow.V1b3.Model.WorkerMessageCode.t(),
workerMetrics: GoogleApi.Dataflow.V1b3.Model.ResourceUtilizationReport.t(),
workerShutdownNotice: GoogleApi.Dataflow.V1b3.Model.WorkerShutdownNotice.t()
}
t() :: %GoogleApi.Dataflow.V1b3.Model.WorkerMessage{ labels: map(), time: DateTime.t(), workerHealthReport: GoogleApi.Dataflow.V1b3.Model.WorkerHealthReport.t(), workerLifecycleEvent: GoogleApi.Dataflow.V1b3.Model.WorkerLifecycleEvent.t(), workerMessageCode: GoogleApi.Dataflow.V1b3.Model.WorkerMessageCode.t(), workerMetrics: GoogleApi.Dataflow.V1b3.Model.ResourceUtilizationReport.t(), workerShutdownNotice: GoogleApi.Dataflow.V1b3.Model.WorkerShutdownNotice.t() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.