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 a StoredInfoType.
-
#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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2CreateStoredInfoTypeRequest
Returns a new instance of GooglePrivacyDlpV2CreateStoredInfoTypeRequest
1157 1158 1159 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1157 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig
Configuration for a StoredInfoType.
Corresponds to the JSON property config
1147 1148 1149 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1147 def config @config 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
1155 1156 1157 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1155 def stored_info_type_id @stored_info_type_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1162 1163 1164 1165 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 1162 def update!(**args) @config = args[:config] if args.key?(:config) @stored_info_type_id = args[:stored_info_type_id] if args.key?(:stored_info_type_id) end |