class Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion
Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.
Attributes
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]
Create timestamp of the version. Read-only, determined by the system when the version is created. Corresponds to the JSON property `createTime` @return [String]
Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable. Only the five most recent errors will be displayed, with the most recent error appearing first. For example, some of the data for stored custom dictionaries is put in the user's Google
Cloud Storage bucket, and if this data is modified or deleted by the user or another system, the dictionary becomes invalid. If any errors occur, fix the problem indicated by the error message and use the UpdateStoredInfoType API method to create another version of the storedInfoType to continue using it, reusing the same `config` if it was not the source of the error. Corresponds to the JSON property `errors` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>]
Stored info type version state. Read-only, updated by the system during dictionary creation. Corresponds to the JSON property `state` @return [String]
Statistics for a StoredInfoType. Corresponds to the JSON property `stats` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeStats]
Public Class Methods
# File lib/google/apis/dlp_v2/classes.rb, line 5741 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dlp_v2/classes.rb, line 5746 def update!(**args) @config = args[:config] if args.key?(:config) @create_time = args[:create_time] if args.key?(:create_time) @errors = args[:errors] if args.key?(:errors) @state = args[:state] if args.key?(:state) @stats = args[:stats] if args.key?(:stats) end