Method: assets.get

Returns detailed information about an asset given its name. PRIVATE assets are returned only if the currently authenticated user (via OAuth token) is the author of the asset.

HTTP request

GET https://poly.googleapis.com/v1/{name=assets/*}

The URL uses Google API HTTP annotation syntax.

Path parameters

Parameters
name

string

Required. An asset's name in the form assets/{ASSET_ID}.

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/vrassetdata.readonly

For more information, see the OAuth 2.0 Overview.