You are now viewing Migrate to Virtual Machines (formerly Migrate for Compute Engine). For Migrate for Compute Engine versions 4.x, see the 4.x documentation.

Method: projects.locations.targetProjects.get

Stay organized with collections Save and categorize content based on your preferences.

Gets details of a single TargetProject.

NOTE: TargetProject is a global resource; hence the only supported value for location is global.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The TargetProject name.

Authorization requires the following IAM permission on the specified resource name:

  • vmmigration.targets.get

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of TargetProject.

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.