Reference documentation and code samples for the Cloud Data Loss Prevention (DLP) V2 API class Google::Cloud::Dlp::V2::StoredInfoType.
StoredInfoType resource message that contains information about the current version and any pending updates.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#current_version
def current_version() -> ::Google::Cloud::Dlp::V2::StoredInfoTypeVersion
Returns
- (::Google::Cloud::Dlp::V2::StoredInfoTypeVersion) — Current version of the stored info type.
#current_version=
def current_version=(value) -> ::Google::Cloud::Dlp::V2::StoredInfoTypeVersion
Parameter
- value (::Google::Cloud::Dlp::V2::StoredInfoTypeVersion) — Current version of the stored info type.
Returns
- (::Google::Cloud::Dlp::V2::StoredInfoTypeVersion) — Current version of the stored info type.
#name
def name() -> ::String
Returns
- (::String) — Resource name.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Resource name.
Returns
- (::String) — Resource name.
#pending_versions
def pending_versions() -> ::Array<::Google::Cloud::Dlp::V2::StoredInfoTypeVersion>
Returns
- (::Array<::Google::Cloud::Dlp::V2::StoredInfoTypeVersion>) — Pending versions of the stored info type. Empty if no versions are pending.
#pending_versions=
def pending_versions=(value) -> ::Array<::Google::Cloud::Dlp::V2::StoredInfoTypeVersion>
Parameter
- value (::Array<::Google::Cloud::Dlp::V2::StoredInfoTypeVersion>) — Pending versions of the stored info type. Empty if no versions are pending.
Returns
- (::Array<::Google::Cloud::Dlp::V2::StoredInfoTypeVersion>) — Pending versions of the stored info type. Empty if no versions are pending.