Class: Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1ReplaceConfig
- 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
Instance Attribute Summary collapse
-
#info_type ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType
Type of information detected by the API.
-
#replace_with ⇒ String
Content replacing sensitive information of given type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1ReplaceConfig
constructor
A new instance of GooglePrivacyDlpV2beta1ReplaceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2beta1ReplaceConfig
Returns a new instance of GooglePrivacyDlpV2beta1ReplaceConfig
3075 3076 3077 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3075 def initialize(**args) update!(**args) end |
Instance Attribute Details
#info_type ⇒ Google::Apis::DlpV2beta1::GooglePrivacyDlpV2beta1InfoType
Type of information detected by the API.
Corresponds to the JSON property infoType
3068 3069 3070 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3068 def info_type @info_type end |
#replace_with ⇒ String
Content replacing sensitive information of given type. Max 256 chars.
Corresponds to the JSON property replaceWith
3073 3074 3075 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3073 def replace_with @replace_with end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3080 3081 3082 3083 |
# File 'generated/google/apis/dlp_v2beta1/classes.rb', line 3080 def update!(**args) @info_type = args[:info_type] if args.key?(:info_type) @replace_with = args[:replace_with] if args.key?(:replace_with) end |