class Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest

Request message for CreateStoredInfoType.

Attributes

config[RW]

Configuration for stored infoTypes. All fields and subfield are provided by the user. For more information, see cloud.google.com/dlp/docs/creating- custom-infotypes. Corresponds to the JSON property `config` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig]

location_id[RW]

Deprecated. This field has no effect. Corresponds to the JSON property `locationId` @return [String]

stored_info_type_id[RW]

The storedInfoType ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression: `[a-zA-Zd-_]+`. The maximum length is 100 characters. Can be empty to allow the system to generate one. Corresponds to the JSON property `storedInfoTypeId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 1274
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 1279
def update!(**args)
  @config = args[:config] if args.key?(:config)
  @location_id = args[:location_id] if args.key?(:location_id)
  @stored_info_type_id = args[:stored_info_type_id] if args.key?(:stored_info_type_id)
end