Class: Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2CreateStoredInfoTypeRequest
- 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 CreateStoredInfoType.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig
Configuration for stored infoTypes.
-
#location_id ⇒ String
Deprecated.
-
#stored_info_type_id ⇒ String
The storedInfoType ID can contain uppercase and lowercase letters, numbers, and hyphens; that is, it must match the regular expression:
[a-zA-Z\d-_]+
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2CreateStoredInfoTypeRequest
constructor
A new instance of GooglePrivacyDlpV2CreateStoredInfoTypeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2CreateStoredInfoTypeRequest
Returns a new instance of GooglePrivacyDlpV2CreateStoredInfoTypeRequest.
1272 1273 1274 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::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
1257 1258 1259 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1257 def config @config end |
#location_id ⇒ String
Deprecated. This field has no effect.
Corresponds to the JSON property locationId
1262 1263 1264 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1262 def location_id @location_id end |
#stored_info_type_id ⇒ String
The storedInfoType ID can contain uppercase and lowercase letters, numbers,
and hyphens; that is, it must match the regular expression: [a-zA-Z\d-_]+
.
The maximum length is 100 characters. Can be empty to allow the system to
generate one.
Corresponds to the JSON property storedInfoTypeId
1270 1271 1272 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1270 def stored_info_type_id @stored_info_type_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1277 1278 1279 1280 1281 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1277 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 |