0.11.3 (latest) 0.10.0 0.9.3 0.8.2 0.7.1 0.6.6 0.5.1 0.4.1 0.3.10

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs-0cloud-0google-0com.linkedin.net.nz/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs-0cloud-0google-0com.linkedin.net.nz/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class DataSamplingBehavior.

The following enum defines what to sample for a running job.

Protobuf type `google.dataflow.v1beta3.DataSamplingConfig.DataSamplingBehavior`

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3 \\ DataSamplingConfig

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### DATA_SAMPLING_BEHAVIOR_UNSPECIFIED

    Value: 0

If given, has no effect on sampling behavior. Used as an unknown or unset
sentinel value.

Generated from protobuf enum `DATA_SAMPLING_BEHAVIOR_UNSPECIFIED = 0;`

### DISABLED

    Value: 1

When given, disables element sampling. Has same behavior as not setting
the behavior.

Generated from protobuf enum `DISABLED = 1;`

### ALWAYS_ON

    Value: 2

When given, enables sampling in-flight from all PCollections.

Generated from protobuf enum `ALWAYS_ON = 2;`

### EXCEPTIONS

    Value: 3

When given, enables sampling input elements when a user-defined DoFn
causes an exception.

Generated from protobuf enum `EXCEPTIONS = 3;`