Reference documentation and code samples for the Dataflow V1beta3 API module Google::Cloud::Dataflow::V1beta3::DataSamplingConfig::DataSamplingBehavior.
The following enum defines what to sample for a running job.
Constants
DATA_SAMPLING_BEHAVIOR_UNSPECIFIED
value: 0 If given, has no effect on sampling behavior. Used as an unknown or unset
sentinel value.
DISABLED
value: 1 When given, disables element sampling. Has same behavior as not setting
the behavior.
ALWAYS_ON
value: 2 When given, enables sampling in-flight from all PCollections.
EXCEPTIONS
value: 3 When given, enables sampling input elements when a user-defined DoFn
causes an exception.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[],[]]