Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig
- 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
Replaces an identifier with a surrogate using FPE with the FFX mode of operation. The identifier must be representable by the US-ASCII character set. For a given crypto key and context, the same identifier will be replaced with the same surrogate. Identifiers must be at least two characters long. In the case that the identifier is the empty string, it will be skipped.
Instance Attribute Summary collapse
-
#common_alphabet ⇒ String
Corresponds to the JSON property
commonAlphabet
. -
#context ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId
General identifier of a data field in a storage service.
-
#crypto_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoKey
This is a data encryption key (DEK) (as opposed to a key encryption key (KEK) stored by KMS).
-
#custom_alphabet ⇒ String
This is supported by mapping these to the alphanumeric characters that the FFX mode natively supports.
-
#radix ⇒ Fixnum
The native way to select the alphabet.
-
#surrogate_info_type ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType
Type of information detected by the API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig
constructor
A new instance of GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig
Returns a new instance of GooglePrivacyDlpV2beta1CryptoReplaceFfxFpeConfig
935 936 937 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 935 def initialize(**args) update!(**args) end |
Instance Attribute Details
#common_alphabet ⇒ String
Corresponds to the JSON property commonAlphabet
898 899 900 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 898 def common_alphabet @common_alphabet end |
#context ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1FieldId
General identifier of a data field in a storage service.
Corresponds to the JSON property context
903 904 905 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 903 def context @context end |
#crypto_key ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1CryptoKey
This is a data encryption key (DEK) (as opposed to
a key encryption key (KEK) stored by KMS).
When using KMS to wrap/unwrap DEKs, be sure to set an appropriate
IAM policy on the KMS CryptoKey (KEK) to ensure an attacker cannot
unwrap the data crypto key.
Corresponds to the JSON property cryptoKey
912 913 914 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 912 def crypto_key @crypto_key end |
#custom_alphabet ⇒ String
This is supported by mapping these to the alphanumeric characters
that the FFX mode natively supports. This happens before/after
encryption/decryption.
Each character listed must appear only once.
Number of characters must be in the range [2, 62].
This must be encoded as ASCII.
The order of characters does not matter.
Corresponds to the JSON property customAlphabet
923 924 925 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 923 def custom_alphabet @custom_alphabet end |
#radix ⇒ Fixnum
The native way to select the alphabet. Must be in the range [2, 62].
Corresponds to the JSON property radix
928 929 930 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 928 def radix @radix end |
#surrogate_info_type ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType
Type of information detected by the API.
Corresponds to the JSON property surrogateInfoType
933 934 935 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 933 def surrogate_info_type @surrogate_info_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
940 941 942 943 944 945 946 947 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 940 def update!(**args) @common_alphabet = args[:common_alphabet] if args.key?(:common_alphabet) @context = args[:context] if args.key?(:context) @crypto_key = args[:crypto_key] if args.key?(:crypto_key) @custom_alphabet = args[:custom_alphabet] if args.key?(:custom_alphabet) @radix = args[:radix] if args.key?(:radix) @surrogate_info_type = args[:surrogate_info_type] if args.key?(:surrogate_info_type) end |