@@ -3421,6 +3421,11 @@ class MigrationJob
34213421 # @return [Hash<String,String>]
34223422 attr_accessor :labels
34233423
3424+ # Configuration for MySQL to MySQL migrations.
3425+ # Corresponds to the JSON property `mysqlHomogeneousConfig`
3426+ # @return [Google::Apis::DatamigrationV1::MySqlHomogeneousConfig]
3427+ attr_accessor :mysql_homogeneous_config
3428+
34243429 # The name (URI) of this migration job resource, in the form of: projects/`
34253430 # project`/locations/`location`/migrationJobs/`migrationJob`.
34263431 # Corresponds to the JSON property `name`
@@ -3566,6 +3571,7 @@ def update!(**args)
35663571 @error = args [ :error ] if args . key? ( :error )
35673572 @filter = args [ :filter ] if args . key? ( :filter )
35683573 @labels = args [ :labels ] if args . key? ( :labels )
3574+ @mysql_homogeneous_config = args [ :mysql_homogeneous_config ] if args . key? ( :mysql_homogeneous_config )
35693575 @name = args [ :name ] if args . key? ( :name )
35703576 @objects_config = args [ :objects_config ] if args . key? ( :objects_config )
35713577 @oracle_to_postgres_config = args [ :oracle_to_postgres_config ] if args . key? ( :oracle_to_postgres_config )
@@ -3881,6 +3887,26 @@ def update!(**args)
38813887 end
38823888 end
38833889
3890+ # Configuration for MySQL to MySQL migrations.
3891+ class MySqlHomogeneousConfig
3892+ include Google ::Apis ::Core ::Hashable
3893+
3894+ # Optional. Whether the destination for the migration job is a primary instance.
3895+ # Corresponds to the JSON property `isPrimaryDestination`
3896+ # @return [Boolean]
3897+ attr_accessor :is_primary_destination
3898+ alias_method :is_primary_destination? , :is_primary_destination
3899+
3900+ def initialize ( **args )
3901+ update! ( **args )
3902+ end
3903+
3904+ # Update properties of this object
3905+ def update! ( **args )
3906+ @is_primary_destination = args [ :is_primary_destination ] if args . key? ( :is_primary_destination )
3907+ end
3908+ end
3909+
38843910 # This resource represents a long-running operation that is the result of a
38853911 # network API call.
38863912 class Operation
0 commit comments