Class: Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dlp_v2/classes.rb,
generated/google/apis/dlp_v2/representations.rb,
generated/google/apis/dlp_v2/representations.rb
Overview
Request message for UpdateStoredInfoType.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig
Configuration for stored infoTypes.
-
#update_mask ⇒ String
Mask to control which fields get updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
constructor
A new instance of GooglePrivacyDlpV2UpdateStoredInfoTypeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest
Returns a new instance of GooglePrivacyDlpV2UpdateStoredInfoTypeRequest.
6317 6318 6319 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 6317 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig
Configuration for stored infoTypes. All fields and subfield are provided by
the user. For more information, see https://cloud.google.com/dlp/docs/creating-
custom-infotypes.
Corresponds to the JSON property config
6310 6311 6312 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 6310 def config @config end |
#update_mask ⇒ String
Mask to control which fields get updated.
Corresponds to the JSON property updateMask
6315 6316 6317 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 6315 def update_mask @update_mask end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6322 6323 6324 6325 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 6322 def update!(**args) @config = args[:config] if args.key?(:config) @update_mask = args[:update_mask] if args.key?(:update_mask) end |