Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::DataSamplingConfig.
Configuration options for sampling elements.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#behaviors
def behaviors() -> ::Array<::Google::Cloud::Dataflow::V1beta3::DataSamplingConfig::DataSamplingBehavior>
-
(::Array<::Google::Cloud::Dataflow::V1beta3::DataSamplingConfig::DataSamplingBehavior>) — 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.
#behaviors=
def behaviors=(value) -> ::Array<::Google::Cloud::Dataflow::V1beta3::DataSamplingConfig::DataSamplingBehavior>
-
value (::Array<::Google::Cloud::Dataflow::V1beta3::DataSamplingConfig::DataSamplingBehavior>) — 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.
-
(::Array<::Google::Cloud::Dataflow::V1beta3::DataSamplingConfig::DataSamplingBehavior>) — 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.