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.
139 140 141 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 139 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
118 119 120 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 118 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
124 125 126 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 124 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
130 131 132 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 130 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
137 138 139 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 137 def filter @filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
144 145 146 147 148 149 |
# File 'lib/google/apis/datamigration_v1/classes.rb', line 144 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 |