Versions in this module Expand all Collapse all v3 v3.0.0 Mar 12, 2024 Changes in this version + func Count(s beam.Scope, pcol PrivatePCollection, params CountParams) beam.PCollection + func DistinctPerKey(s beam.Scope, pcol PrivatePCollection, params DistinctPerKeyParams) beam.PCollection + func DistinctPrivacyID(s beam.Scope, pcol PrivatePCollection, params DistinctPrivacyIDParams) beam.PCollection + func MeanPerKey(s beam.Scope, pcol PrivatePCollection, params MeanParams) beam.PCollection + func QuantilesPerKey(s beam.Scope, pcol PrivatePCollection, params QuantilesParams) beam.PCollection + func SelectPartitions(s beam.Scope, pcol PrivatePCollection, params SelectPartitionsParams) beam.PCollection + func SumPerKey(s beam.Scope, pcol PrivatePCollection, params SumParams) beam.PCollection + type CountParams struct + AggregationDelta float64 + AggregationEpsilon float64 + AllowNegativeOutputs bool + MaxPartitionsContributed int64 + MaxValue int64 + NoiseKind NoiseKind + PartitionSelectionParams PartitionSelectionParams + PublicPartitions any + type DistinctPerKeyParams struct + AggregationDelta float64 + AggregationEpsilon float64 + MaxContributionsPerPartition int64 + MaxPartitionsContributed int64 + NoiseKind NoiseKind + PartitionSelectionParams PartitionSelectionParams + PublicPartitions any + type DistinctPrivacyIDParams struct + AggregationDelta float64 + AggregationEpsilon float64 + MaxPartitionsContributed int64 + NoiseKind NoiseKind + PartitionSelectionDelta float64 + PublicPartitions any + type GaussianNoise struct + type LaplaceNoise struct + type MeanParams struct + AggregationDelta float64 + AggregationEpsilon float64 + MaxContributionsPerPartition int64 + MaxPartitionsContributed int64 + MaxValue float64 + MinValue float64 + NoiseKind NoiseKind + PartitionSelectionParams PartitionSelectionParams + PublicPartitions any + type NoiseKind interface + type PartitionSelectionParams struct + Delta float64 + Epsilon float64 + MaxPartitionsContributed int64 + type PrivacySpec struct + func NewPrivacySpec(params PrivacySpecParams) (*PrivacySpec, error) + type PrivacySpecParams struct + AggregationDelta float64 + AggregationEpsilon float64 + PartitionSelectionDelta float64 + PartitionSelectionEpsilon float64 + PreThreshold int64 + TestMode TestMode + type PrivatePCollection struct + func DropKey(s beam.Scope, pcol PrivatePCollection) PrivatePCollection + func DropValue(s beam.Scope, pcol PrivatePCollection) PrivatePCollection + func MakePrivate(_ beam.Scope, col beam.PCollection, spec *PrivacySpec) PrivatePCollection + func MakePrivateFromProto(s beam.Scope, col beam.PCollection, spec *PrivacySpec, idFieldPath string) PrivatePCollection + func MakePrivateFromStruct(s beam.Scope, col beam.PCollection, spec *PrivacySpec, idFieldPath string) PrivatePCollection + func ParDo(s beam.Scope, doFn any, pcol PrivatePCollection) PrivatePCollection + type QuantilesParams struct + AggregationDelta float64 + AggregationEpsilon float64 + MaxContributionsPerPartition int64 + MaxPartitionsContributed int64 + MaxValue float64 + MinValue float64 + NoiseKind NoiseKind + PartitionSelectionParams PartitionSelectionParams + PublicPartitions any + Ranks []float64 + type SelectPartitionsParams = PartitionSelectionParams + type SumParams struct + AggregationDelta float64 + AggregationEpsilon float64 + MaxPartitionsContributed int64 + MaxValue float64 + MinValue float64 + NoiseKind NoiseKind + PartitionSelectionParams PartitionSelectionParams + PublicPartitions any + type TestMode int + const TestModeDisabled + const TestModeWithContributionBounding + const TestModeWithoutContributionBounding Other modules containing this package github.com/google/differential-privacy/privacy-on-beam github.com/google/differential-privacy/privacy-on-beam/v2