View Source GoogleApi.Dataflow.V1b3.Model.ApproximateSplitRequest (google_api_dataflow v0.50.0)

A suggestion by the service to the worker to dynamically split the WorkItem.

Attributes

  • fractionConsumed (type: float(), default: nil) - A fraction at which to split the work item, from 0.0 (beginning of the input) to 1.0 (end of the input).
  • fractionOfRemainder (type: float(), default: nil) - The fraction of the remainder of work to split the work item at, from 0.0 (split at the current position) to 1.0 (end of the input).
  • position (type: GoogleApi.Dataflow.V1b3.Model.Position.t, default: nil) - A Position at which to split the work item.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataflow.V1b3.Model.ApproximateSplitRequest{
  fractionConsumed: float() | nil,
  fractionOfRemainder: float() | nil,
  position: GoogleApi.Dataflow.V1b3.Model.Position.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.