Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Bucket
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Bucket
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta1/classes.rb,
generated/google/apis/dlp_v2beta1/representations.rb,
generated/google/apis/dlp_v2beta1/representations.rb
Overview
Buckets represented as ranges, along with replacement values. Ranges must be non-overlapping.
Instance Attribute Summary collapse
-
#max ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value
Set of primitive values supported by the system.
-
#min ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value
Set of primitive values supported by the system.
-
#replacement_value ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value
Set of primitive values supported by the system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1Bucket
constructor
A new instance of GooglePrivacyDlpV2beta1Bucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1Bucket
Returns a new instance of GooglePrivacyDlpV2beta1Bucket
265 266 267 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value
Set of primitive values supported by the system.
Corresponds to the JSON property max
253 254 255 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 253 def max @max end |
#min ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value
Set of primitive values supported by the system.
Corresponds to the JSON property min
258 259 260 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 258 def min @min end |
#replacement_value ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1Value
Set of primitive values supported by the system.
Corresponds to the JSON property replacementValue
263 264 265 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 263 def replacement_value @replacement_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
270 271 272 273 274 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 270 def update!(**args) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) @replacement_value = args[:replacement_value] if args.key?(:replacement_value) end |