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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2UpdateStoredInfoTypeRequest

Returns a new instance of GooglePrivacyDlpV2UpdateStoredInfoTypeRequest.



6511
6512
6513
# File 'generated/google/apis/dlp_v2/classes.rb', line 6511

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



6504
6505
6506
# File 'generated/google/apis/dlp_v2/classes.rb', line 6504

def config
  @config
end

#update_maskString

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

Returns:

  • (String)


6509
6510
6511
# File 'generated/google/apis/dlp_v2/classes.rb', line 6509

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6516
6517
6518
6519
# File 'generated/google/apis/dlp_v2/classes.rb', line 6516

def update!(**args)
  @config = args[:config] if args.key?(:config)
  @update_mask = args[:update_mask] if args.key?(:update_mask)
end