Method: projects.locations.devices.get

Returns information about a specific device.

HTTP request

GET https://devicerun.googleapis.com/v1alpha/{name=projects/*/locations/*/devices/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the device. Format: projects/{project}/locations/global/devices/{device}. It takes the form projects/{project}/locations/{location}/devices/{device}.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.