Class: Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceReference
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DlpV2::GooglePrivacyDlpV2DatabaseResourceReference
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/dlp_v2/classes.rb,
lib/google/apis/dlp_v2/representations.rb,
lib/google/apis/dlp_v2/representations.rb 
Overview
Identifies a single database resource, like a table within a database.
Instance Attribute Summary collapse
- 
  
    
      #database  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #database_resource  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #instance  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #project_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GooglePrivacyDlpV2DatabaseResourceReference 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GooglePrivacyDlpV2DatabaseResourceReference.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2DatabaseResourceReference
Returns a new instance of GooglePrivacyDlpV2DatabaseResourceReference.
      2608 2609 2610  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 2608 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#database ⇒ String
Required. Name of a database within the instance.
Corresponds to the JSON property database
      2588 2589 2590  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 2588 def database @database end  | 
  
#database_resource ⇒ String
Required. Name of a database resource, for example, a table within the
database.
Corresponds to the JSON property databaseResource
      2594 2595 2596  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 2594 def database_resource @database_resource end  | 
  
#instance ⇒ String
Required. The instance where this resource is located. For example: Cloud SQL
instance ID.
Corresponds to the JSON property instance
      2600 2601 2602  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 2600 def instance @instance end  | 
  
#project_id ⇒ String
Required. If within a project-level config, then this must match the config's
project ID.
Corresponds to the JSON property projectId
      2606 2607 2608  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 2606 def project_id @project_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2613 2614 2615 2616 2617 2618  | 
    
      # File 'lib/google/apis/dlp_v2/classes.rb', line 2613 def update!(**args) @database = args[:database] if args.key?(:database) @database_resource = args[:database_resource] if args.key?(:database_resource) @instance = args[:instance] if args.key?(:instance) @project_id = args[:project_id] if args.key?(:project_id) end  |