Class: Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Bucket
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Bucket
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2beta2/classes.rb,
generated/google/apis/dlp_v2beta2/representations.rb,
generated/google/apis/dlp_v2beta2/representations.rb
Overview
Bucket is represented as a range, along with replacement values.
Instance Attribute Summary collapse
-
#max ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value
Set of primitive values supported by the system.
-
#min ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value
Set of primitive values supported by the system.
-
#replacement_value ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value
Set of primitive values supported by the system.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Bucket
constructor
A new instance of GooglePrivacyDlpV2beta2Bucket.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta2Bucket
Returns a new instance of GooglePrivacyDlpV2beta2Bucket
1872 1873 1874 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1872 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value
Set of primitive values supported by the system.
Note that for the purposes of inspection or transformation, the number
of bytes considered to comprise a 'Value' is based on its representation
as a UTF-8 encoded string. For example, if 'integer_value' is set to
123456789, the number of bytes would be counted as 9, even though an
int64 only holds up to 8 bytes of data.
Corresponds to the JSON property max
1850 1851 1852 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1850 def max @max end |
#min ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value
Set of primitive values supported by the system.
Note that for the purposes of inspection or transformation, the number
of bytes considered to comprise a 'Value' is based on its representation
as a UTF-8 encoded string. For example, if 'integer_value' is set to
123456789, the number of bytes would be counted as 9, even though an
int64 only holds up to 8 bytes of data.
Corresponds to the JSON property min
1860 1861 1862 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1860 def min @min end |
#replacement_value ⇒ Google::Apis::DlpV2beta2::GooglePrivacyDlpV2beta2Value
Set of primitive values supported by the system.
Note that for the purposes of inspection or transformation, the number
of bytes considered to comprise a 'Value' is based on its representation
as a UTF-8 encoded string. For example, if 'integer_value' is set to
123456789, the number of bytes would be counted as 9, even though an
int64 only holds up to 8 bytes of data.
Corresponds to the JSON property replacementValue
1870 1871 1872 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1870 def replacement_value @replacement_value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1877 1878 1879 1880 1881 |
# File 'generated/google/apis/dlp_v2beta2/classes.rb', line 1877 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 |