Dataflow v1beta3 API - Class DataSamplingConfig (2.0.0-beta09)

public sealed class DataSamplingConfig : IMessage<DataSamplingConfig>, IEquatable<DataSamplingConfig>, IDeepCloneable<DataSamplingConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataflow v1beta3 API class DataSamplingConfig.

Configuration options for sampling elements.

Inheritance

object > DataSamplingConfig

Namespace

Google.Cloud.Dataflow.V1Beta3

Assembly

Google.Cloud.Dataflow.V1Beta3.dll

Constructors

DataSamplingConfig()

public DataSamplingConfig()

DataSamplingConfig(DataSamplingConfig)

public DataSamplingConfig(DataSamplingConfig other)
Parameter
Name Description
other DataSamplingConfig

Properties

Behaviors

public RepeatedField<DataSamplingConfig.Types.DataSamplingBehavior> Behaviors { get; }

List of given sampling behaviors to enable. For example, specifying behaviors = [ALWAYS_ON] samples in-flight elements but does not sample exceptions. Can be used to specify multiple behaviors like, behaviors = [ALWAYS_ON, EXCEPTIONS] for specifying periodic sampling and exception sampling.

If DISABLED is in the list, then sampling will be disabled and ignore the other given behaviors.

Ordering does not matter.

Property Value
Type Description
RepeatedFieldDataSamplingConfigTypesDataSamplingBehavior