Assets: search

Search a user's Data Studio assets.

Request

HTTP request

GET https://datastudio.googleapis.com/v1/assets:search

Parameters

Parameter name Type Description
assetTypes Array<AssetType> Required. The asset type to search. Exactly one asset type must be specified.
title string The title of the asset.
includeTrashed boolean Set to true to include assets from the trash. Defaults to false if unspecified.
owner string The asset owner's email.
orderBy string The order of the results. Only title is supported.
pageSize number The number of results to include per page.
pageToken string A token identifying a page of results to return. To paginate results, set to nextPageToken from a previous request.

Authorization

This request requires authorization with at least one of the following scopes:

Scope
https://www.googleapis.com/auth/datastudio.readonly
https://www.googleapis.com/auth/datastudio

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "assets": [Asset],
  "nextPageToken": string
}
Property name Type Description
assets Array<Asset> The list of assets.
nextPageToken string A token to retrieve the next page of results. This property is only present when the number of results is greater than the request pageSize.