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.get

Gets information about a location.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Resource name for the location.

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.