---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/targetProjects/{targetProjectsId}"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/targetProjects/{targetProjectsId}"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/targetProjects/{targetProjectsId}

`GET /v1/projects/{projectsId}/locations/{locationsId}/targetProjects/{targetProjectsId}`

## Request

- Base URL: `https://vmmigration.googleapis.com`
- URL: `https://vmmigration.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/targetProjects/{targetProjectsId}`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Gets details of a single TargetProject. NOTE: TargetProject is a global resource; hence the only supported value for location is `global`.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `targetProjectsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Response `200`

Successful response

- TargetProject: TargetProject message represents a target Compute Engine project for a migration or a clone.
  - `createTime` string, google-datetime: Output only. The time this target project resource was created (not related to when the Compute Engine project it points to was created).
  - `description` string: The target project's description.
  - `name` string: Output only. The name of the target project.
  - `project` string: Required. The target project ID (number) or project name.
  - `updateTime` string, google-datetime: Output only. The last time the target project resource was updated.

---

[API](https://skmtc.dev/google/apis/vmmigration.md) - [All operations](https://skmtc.dev/google/apis/vmmigration/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/vmmigration/revisions/dc534bc294f6?raw)
