Class: Google::Cloud::CloudDMS::V1::MigrationJob

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb

Overview

Represents a Database Migration Service migration job object.

Defined Under Namespace

Modules: Phase, State, Type Classes: DumpFlag, DumpFlags, LabelsEntry, PerformanceConfig

Instance Attribute Summary collapse

Instance Attribute Details

#cmek_key_name::String

Returns The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for:

  • Mysql to Mysql (use the cmek field in the cloudsql connection profile instead).
  • PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead).
  • PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].

Returns:

  • (::String)

    The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for:

    • Mysql to Mysql (use the cmek field in the cloudsql connection profile instead).
    • PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead).
    • PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]


807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#conversion_workspace::Google::Cloud::CloudDMS::V1::ConversionWorkspaceInfo

Returns The conversion workspace used by the migration.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#create_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#destination::String

Returns Required. The resource name (URI) of the destination connection profile.

Returns:

  • (::String)

    Required. The resource name (URI) of the destination connection profile.



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#destination_database::Google::Cloud::CloudDMS::V1::DatabaseType

Returns The database engine type and provider of the destination.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#display_name::String

Returns The migration job display name.

Returns:

  • (::String)

    The migration job display name.



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#dump_flags::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlags

Returns The initial dump flags. This field and the "dump_path" field are mutually exclusive.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#dump_path::String

Returns The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive.

Returns:

  • (::String)

    The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]). This field and the "dump_flags" field are mutually exclusive.



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#duration::Google::Protobuf::Duration (readonly)

Returns Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

Returns:

  • (::Google::Protobuf::Duration)

    Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#end_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. If the migration job is completed, the time when it was completed.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#error::Google::Rpc::Status (readonly)

Returns Output only. The error details in case of state FAILED.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#filter::String

Returns This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.

Returns:

  • (::String)

    This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#labels::Google::Protobuf::Map{::String => ::String}

Returns The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs.

Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs.

    Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#name::String

Returns The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.

Returns:

  • (::String)

    The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#performance_config::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig

Returns Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#phase::Google::Cloud::CloudDMS::V1::MigrationJob::Phase (readonly)

Returns Output only. The current migration job phase.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#reverse_ssh_connectivity::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity

Returns The details needed to communicate to the source over Reverse SSH tunnel connectivity.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#source::String

Returns Required. The resource name (URI) of the source connection profile.

Returns:

  • (::String)

    Required. The resource name (URI) of the source connection profile.



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#source_database::Google::Cloud::CloudDMS::V1::DatabaseType

Returns The database engine type and provider of the source.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#state::Google::Cloud::CloudDMS::V1::MigrationJob::State

Returns The current migration job state.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#static_ip_connectivity::Google::Cloud::CloudDMS::V1::StaticIpConnectivity

Returns static ip connectivity data (default, no additional details needed).

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#type::Google::Cloud::CloudDMS::V1::MigrationJob::Type

Returns Required. The migration job type.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#update_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".

Returns:

  • (::Google::Protobuf::Timestamp)

    Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end

#vpc_peering_connectivity::Google::Cloud::CloudDMS::V1::VpcPeeringConnectivity

Returns The details of the VPC network that the source database is located in.

Returns:



807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 807

class MigrationJob
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Dump flag definition.
  # @!attribute [rw] name
  #   @return [::String]
  #     The name of the flag
  # @!attribute [rw] value
  #   @return [::String]
  #     The value of the flag.
  class DumpFlag
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Dump flags definition.
  # @!attribute [rw] dump_flags
  #   @return [::Array<::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlag>]
  #     The flags for the initial dump.
  class DumpFlags
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Performance configuration definition.
  # @!attribute [rw] dump_parallel_level
  #   @return [::Google::Cloud::CloudDMS::V1::MigrationJob::PerformanceConfig::DumpParallelLevel]
  #     Initial dump parallelism level.
  class PerformanceConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Describes the parallelism level during initial dump.
    module DumpParallelLevel
      # Unknown dump parallel level. Will be defaulted to OPTIMAL.
      DUMP_PARALLEL_LEVEL_UNSPECIFIED = 0

      # Minimal parallel level.
      MIN = 1

      # Optimal parallel level.
      OPTIMAL = 2

      # Maximum parallel level.
      MAX = 3
    end
  end

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::String]
  class LabelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # The current migration job states.
  module State
    # The state of the migration job is unknown.
    STATE_UNSPECIFIED = 0

    # The migration job is down for maintenance.
    MAINTENANCE = 1

    # The migration job is in draft mode and no resources are created.
    DRAFT = 2

    # The migration job is being created.
    CREATING = 3

    # The migration job is created and not started.
    NOT_STARTED = 4

    # The migration job is running.
    RUNNING = 5

    # The migration job failed.
    FAILED = 6

    # The migration job has been completed.
    COMPLETED = 7

    # The migration job is being deleted.
    DELETING = 8

    # The migration job is being stopped.
    STOPPING = 9

    # The migration job is currently stopped.
    STOPPED = 10

    # The migration job has been deleted.
    DELETED = 11

    # The migration job is being updated.
    UPDATING = 12

    # The migration job is starting.
    STARTING = 13

    # The migration job is restarting.
    RESTARTING = 14

    # The migration job is resuming.
    RESUMING = 15
  end

  # The current migration job phase.
  module Phase
    # The phase of the migration job is unknown.
    PHASE_UNSPECIFIED = 0

    # The migration job is in the full dump phase.
    FULL_DUMP = 1

    # The migration job is CDC phase.
    CDC = 2

    # The migration job is running the promote phase.
    PROMOTE_IN_PROGRESS = 3

    # Only RDS flow - waiting for source writes to stop
    WAITING_FOR_SOURCE_WRITES_TO_STOP = 4

    # Only RDS flow - the sources writes stopped, waiting for dump to begin
    PREPARING_THE_DUMP = 5
  end

  # The type of migration job (one-time or continuous).
  module Type
    # The type of the migration job is unknown.
    TYPE_UNSPECIFIED = 0

    # The migration job is a one time migration.
    ONE_TIME = 1

    # The migration job is a continuous migration.
    CONTINUOUS = 2
  end
end