Class: Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::PostgresExportOptions
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1beta4::ExportContext::SqlExportOptions::PostgresExportOptions
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb 
Overview
Options for exporting from a Cloud SQL for PostgreSQL instance.
Instance Attribute Summary collapse
- 
  
    
      #clean  ⇒ Boolean 
    
    
      (also: #clean?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 - 
  
    
      #if_exists  ⇒ Boolean 
    
    
      (also: #if_exists?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Optional.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PostgresExportOptions 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PostgresExportOptions.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ PostgresExportOptions
Returns a new instance of PostgresExportOptions.
      1684 1685 1686  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1684 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#clean ⇒ Boolean Also known as: clean?
Optional. Use this option to include DROP SQL statements. These statements are
used to delete database objects before running the import operation.
Corresponds to the JSON property clean
      1674 1675 1676  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1674 def clean @clean end  | 
  
#if_exists ⇒ Boolean Also known as: if_exists?
Optional. Option to include an IF EXISTS SQL statement with each DROP
statement produced by clean.
Corresponds to the JSON property ifExists
      1681 1682 1683  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1681 def if_exists @if_exists end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1689 1690 1691 1692  | 
    
      # File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 1689 def update!(**args) @clean = args[:clean] if args.key?(:clean) @if_exists = args[:if_exists] if args.key?(:if_exists) end  |