class Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType

StoredInfoType resource message that contains information about the current version and any pending updates.

Attributes

current_version[RW]

Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state. Corresponds to the JSON property `currentVersion` @return [Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion]

name[RW]

Resource name. Corresponds to the JSON property `name` @return [String]

pending_versions[RW]

Pending versions of the stored info type. Empty if no versions are pending. Corresponds to the JSON property `pendingVersions` @return [Array<Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dlp_v2/classes.rb, line 5601
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dlp_v2/classes.rb, line 5606
def update!(**args)
  @current_version = args[:current_version] if args.key?(:current_version)
  @name = args[:name] if args.key?(:name)
  @pending_versions = args[:pending_versions] if args.key?(:pending_versions)
end