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.



1159
1160
1161
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1159

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)


1142
1143
1144
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1142

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)


1150
1151
1152
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1150

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)


1157
1158
1159
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1157

def filter
  @filter
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1164
1165
1166
1167
1168
# File 'lib/google/apis/datamigration_v1/classes.rb', line 1164

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