Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion
- 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
Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig
Configuration for a StoredInfoType.
-
#create_time ⇒ String
Create timestamp of the version.
-
#errors ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>
Errors that occurred when creating this storedInfoType version, or anomalies detected in the storedInfoType data that render it unusable.
-
#state ⇒ String
Stored info type version state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2StoredInfoTypeVersion
constructor
A new instance of GooglePrivacyDlpV2StoredInfoTypeVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2StoredInfoTypeVersion
Returns a new instance of GooglePrivacyDlpV2StoredInfoTypeVersion
4858 4859 4860 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4858 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig
Configuration for a StoredInfoType.
Corresponds to the JSON property config
4829 4830 4831 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4829 def config @config end |
#create_time ⇒ String
Create timestamp of the version. Read-only, determined by the system
when the version is created.
Corresponds to the JSON property createTime
4835 4836 4837 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4835 def create_time @create_time end |
#errors ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2Error>
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
4850 4851 4852 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4850 def errors @errors end |
#state ⇒ String
Stored info type version state. Read-only, updated by the system
during dictionary creation.
Corresponds to the JSON property state
4856 4857 4858 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4856 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4863 4864 4865 4866 4867 4868 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 4863 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) end |