Class: Google::Apis::DlpV2::GooglePrivacyDlpV2UpdateStoredInfoTypeRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#configGoogle::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_maskString

Mask to control which fields get updated. Corresponds to the JSON property updateMask

Returns:

  • (String)


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