Class: Google::Apis::BigqueryV2::AggregationThresholdPolicy
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::AggregationThresholdPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
Represents privacy policy associated with "aggregation threshold" method.
Instance Attribute Summary collapse
-
#privacy_unit_columns ⇒ Array<String>
Optional.
-
#threshold ⇒ Fixnum
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AggregationThresholdPolicy
constructor
A new instance of AggregationThresholdPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AggregationThresholdPolicy
Returns a new instance of AggregationThresholdPolicy.
109 110 111 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 109 def initialize(**args) update!(**args) end |
Instance Attribute Details
#privacy_unit_columns ⇒ Array<String>
Optional. The privacy unit column(s) associated with this policy. For now,
only one column per data source object (table, view) is allowed as a privacy
unit column. Representing as a repeated field in metadata for extensibility to
multiple columns in future. Duplicates and Repeated struct fields are not
allowed. For nested fields, use dot notation ("outer.inner")
Corresponds to the JSON property privacyUnitColumns
102 103 104 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 102 def privacy_unit_columns @privacy_unit_columns end |
#threshold ⇒ Fixnum
Optional. The threshold for the "aggregation threshold" policy.
Corresponds to the JSON property threshold
107 108 109 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 107 def threshold @threshold end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
114 115 116 117 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 114 def update!(**args) @privacy_unit_columns = args[:privacy_unit_columns] if args.key?(:privacy_unit_columns) @threshold = args[:threshold] if args.key?(:threshold) end |