Class Migration (2.13.0)

Migration(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specification for migration with source and target resource names.

Attributes

Name Description
source str
Immutable. Resource path as an URI of the source resource, for example a subnet. The project for the source resource should match the project for the InternalRange. An example: /projects/{project}/regions/{region}/subnetworks/{subnet}
target str
Immutable. Resource path of the target resource. The target project can be different, as in the cases when migrating to peer networks. For example: /projects/{project}/regions/{region}/subnetworks/{subnet}