Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoType
 
 
- 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
StoredInfoType resource message that contains information about the current version and any pending updates.
Instance Attribute Summary collapse
- 
  
    
      #current_version  ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Version of a StoredInfoType, including the configuration used to build it, create timestamp, and current state.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Resource name.
 - 
  
    
      #pending_versions  ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Pending versions of the stored info type.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2StoredInfoType 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2StoredInfoType.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2StoredInfoType
Returns a new instance of GooglePrivacyDlpV2StoredInfoType
      4927 4928 4929  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 4927 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#current_version ⇒ Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion
Version of a StoredInfoType, including the configuration used to build it,
create timestamp, and current state.
Corresponds to the JSON property currentVersion
      4914 4915 4916  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 4914 def current_version @current_version end  | 
  
#name ⇒ String
Resource name.
Corresponds to the JSON property name
      4919 4920 4921  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 4919 def name @name end  | 
  
#pending_versions ⇒ Array<Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeVersion>
Pending versions of the stored info type. Empty if no versions are
pending.
Corresponds to the JSON property pendingVersions
      4925 4926 4927  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 4925 def pending_versions @pending_versions end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      4932 4933 4934 4935 4936  | 
    
      # File 'generated/google/apis/dlp_v2/classes.rb', line 4932 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  |