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.



5994
5995
5996
# File 'generated/google/apis/dlp_v2/classes.rb', line 5994

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



5987
5988
5989
# File 'generated/google/apis/dlp_v2/classes.rb', line 5987

def config
  @config
end

#update_maskString

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

Returns:

  • (String)


5992
5993
5994
# File 'generated/google/apis/dlp_v2/classes.rb', line 5992

def update_mask
  @update_mask
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5999
6000
6001
6002
# File 'generated/google/apis/dlp_v2/classes.rb', line 5999

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