Method: projects.locations.targetProjects.get

Gets details of a single TargetProject.

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

HTTP request

GET https://vmmigration.googleapis.com/v1/{name=projects/*/locations/*/targetProjects/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

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:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.