Class: Google::Apis::DatamigrationV1::ConvertConversionWorkspaceRequest

Inherits:
Object
  • Object
show all
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 'ConvertConversionWorkspace' request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConvertConversionWorkspaceRequest

Returns a new instance of ConvertConversionWorkspaceRequest.



1247
1248
1249
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1247

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auto_commitBoolean Also known as: auto_commit?

Optional. Specifies whether the conversion workspace is to be committed automatically after the conversion. Corresponds to the JSON property autoCommit

Returns:

  • (Boolean)


1230
1231
1232
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1230

def auto_commit
  @auto_commit
end

#convert_full_pathBoolean Also known as: convert_full_path?

Optional. Automatically convert the full entity path for each entity specified by the filter. For example, if the filter specifies a table, that table schema (and database if there is one) will also be converted. Corresponds to the JSON property convertFullPath

Returns:

  • (Boolean)


1238
1239
1240
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1238

def convert_full_path
  @convert_full_path
end

#filterString

Optional. Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering. Corresponds to the JSON property filter

Returns:

  • (String)


1245
1246
1247
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1245

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1252
1253
1254
1255
1256
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1252

def update!(**args)
  @auto_commit = args[:auto_commit] if args.key?(:auto_commit)
  @convert_full_path = args[:convert_full_path] if args.key?(:convert_full_path)
  @filter = args[:filter] if args.key?(:filter)
end