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



5691
5692
5693
# File 'generated/google/apis/dlp_v2/classes.rb', line 5691

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#configGoogle::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig

Configuration for a StoredInfoType. Corresponds to the JSON property config



5684
5685
5686
# File 'generated/google/apis/dlp_v2/classes.rb', line 5684

def config
  @config
end

#update_maskString

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

Returns:

  • (String)


5689
5690
5691
# File 'generated/google/apis/dlp_v2/classes.rb', line 5689

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5696
5697
5698
5699
# File 'generated/google/apis/dlp_v2/classes.rb', line 5696

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