Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::StoredInfoTypeVersion.
Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config
def config() -> ::Google::Cloud::Dlp::V2::StoredInfoTypeConfig- (::Google::Cloud::Dlp::V2::StoredInfoTypeConfig) — StoredInfoType configuration.
#config=
def config=(value) -> ::Google::Cloud::Dlp::V2::StoredInfoTypeConfig- value (::Google::Cloud::Dlp::V2::StoredInfoTypeConfig) — StoredInfoType configuration.
- (::Google::Cloud::Dlp::V2::StoredInfoTypeConfig) — StoredInfoType configuration.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. Create timestamp of the version. Read-only, determined by the system when the version is created.
#errors
def errors() -> ::Array<::Google::Cloud::Dlp::V2::Error>-
(::Array<::Google::Cloud::Dlp::V2::Error>) — Output only. 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 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
configif it was not the source of the error.
#state
def state() -> ::Google::Cloud::Dlp::V2::StoredInfoTypeState- (::Google::Cloud::Dlp::V2::StoredInfoTypeState) — Output only. Stored info type version state. Read-only, updated by the system during dictionary creation.
#stats
def stats() -> ::Google::Cloud::Dlp::V2::StoredInfoTypeStats- (::Google::Cloud::Dlp::V2::StoredInfoTypeStats) — Output only. Statistics about this storedInfoType version.