REST Resource: projects.locations.migrationJobs.objects

Resource: MigrationJobObject

A specific Migration Job Object (e.g. a specifc DB Table)

JSON representation
{
  "name": string,
  "sourceObject": {
    object (SourceObjectIdentifier)
  },
  "error": {
    object (Status)
  },
  "state": enum (State),
  "phase": enum (Phase),
  "createTime": string,
  "updateTime": string,
  "heterogeneousMetadata": {
    object (HeterogeneousMetadata)
  }
}
Fields
name

string

The object's name.

sourceObject

object (SourceObjectIdentifier)

The object identifier in the data source.

error

object (Status)

Output only. The error details in case of failure.

state

enum (State)

The state of the migration job object.

phase

enum (Phase)

Output only. The phase of the migration job object.

createTime

string (Timestamp format)

Output only. The creation time of the migration job object.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. The last update time of the migration job object.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

heterogeneousMetadata

object (HeterogeneousMetadata)

Output only. Metadata for heterogeneous migration jobs objects.

State

The migration job object states. LINT.IfChange

Enums
STATE_UNSPECIFIED The state of the migration job object is unknown.
NOT_STARTED The migration job object is not started.
RUNNING The migration job object is running.
STOPPING The migration job object is being stopped.
STOPPED The migration job object is currently stopped.
RESTARTING The migration job object is restarting.
FAILED The migration job object failed.
REMOVING The migration job object is deleting.
NOT_SELECTED The migration job object is not selected for migration.
COMPLETED The migration job object is completed.

Phase

The migration job object phases.

Enums
PHASE_UNSPECIFIED The phase of the migration job is unknown.
FULL_DUMP The migration job object is in the full dump phase.
CDC The migration job object is in CDC phase.
READY_FOR_PROMOTE The migration job object is ready to be promoted.
PROMOTE_IN_PROGRESS The migration job object is in running the promote phase.
PROMOTED The migration job is promoted.
DIFF_BACKUP The migration job object is in the differential backup phase.

HeterogeneousMetadata

Metadata for heterogeneous migration jobs objects.

JSON representation
{
  "unsupportedEventsCount": string
}
Fields
unsupportedEventsCount

string (int64 format)

The number of unsupported events.

Methods

get

Use this method to get details about a migration job object.

getIamPolicy

Gets the access control policy for a resource.

list

Use this method to list the objects of a specific migration job.

lookup

Use this method to look up a migration job object by its source object identifier.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.