Cloud Data Loss Prevention (DLP) V2 API - Class Google::Cloud::Dlp::V2::StoredInfoTypeVersion (v1.19.0)

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
Returns

#config=

def config=(value) -> ::Google::Cloud::Dlp::V2::StoredInfoTypeConfig
Parameter
Returns

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns
  • (::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>
Returns
  • (::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 config if it was not the source of the error.

#state

def state() -> ::Google::Cloud::Dlp::V2::StoredInfoTypeState
Returns

#stats

def stats() -> ::Google::Cloud::Dlp::V2::StoredInfoTypeStats
Returns