Class: Google::Apis::DatamigrationV1::ApplyConversionWorkspaceRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DatamigrationV1::ApplyConversionWorkspaceRequest
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datamigration_v1/classes.rb,
 lib/google/apis/datamigration_v1/representations.rb,
 lib/google/apis/datamigration_v1/representations.rb
Overview
Request message for 'ApplyConversionWorkspace' request.
Instance Attribute Summary collapse
- 
  
    
      #auto_commit  ⇒ Boolean 
    
    
      (also: #auto_commit?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #connection_profile  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #dry_run  ⇒ Boolean 
    
    
      (also: #dry_run?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Optional. 
- 
  
    
      #filter  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Filter which entities to apply. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ApplyConversionWorkspaceRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ApplyConversionWorkspaceRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ ApplyConversionWorkspaceRequest
Returns a new instance of ApplyConversionWorkspaceRequest.
| 131 132 133 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 131 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#auto_commit ⇒ Boolean Also known as: auto_commit?
Optional. Specifies whether the conversion workspace is to be committed
automatically after the apply.
Corresponds to the JSON property autoCommit
| 110 111 112 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 110 def auto_commit @auto_commit end | 
#connection_profile ⇒ String
Optional. Fully qualified (Uri) name of the destination connection profile.
Corresponds to the JSON property connectionProfile
| 116 117 118 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 116 def connection_profile @connection_profile end | 
#dry_run ⇒ Boolean Also known as: dry_run?
Optional. Only validates the apply process, but doesn't change the destination
database. Only works for PostgreSQL destination connection profile.
Corresponds to the JSON property dryRun
| 122 123 124 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 122 def dry_run @dry_run end | 
#filter ⇒ String
Filter which entities to apply. Leaving this field empty will apply all of the
entities. Supports Google AIP 160 based filtering.
Corresponds to the JSON property filter
| 129 130 131 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 129 def filter @filter end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 136 137 138 139 140 141 | # File 'lib/google/apis/datamigration_v1/classes.rb', line 136 def update!(**args) @auto_commit = args[:auto_commit] if args.key?(:auto_commit) @connection_profile = args[:connection_profile] if args.key?(:connection_profile) @dry_run = args[:dry_run] if args.key?(:dry_run) @filter = args[:filter] if args.key?(:filter) end |