Method: projects.locations.dataProducts.dataAssets.list

Lists data assets for a given data product.

HTTP request

GET https://dataplex.googleapis.com/v1/{parent=projects/*/locations/*/dataProducts/*}/dataAssets

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent, which has this collection of data assets. Format: projects/{project_id_or_number}/locations/{locationId}/dataProducts/{dataProductId}

Query parameters

Parameters
filter

string

Optional. Filter expression that filters data assets listed in the response.

orderBy

string

Optional. Order by expression that orders data assets listed in the response.

Supported orderBy fields are: name or createTime.

If not specified, the ordering is undefined.

pageSize

integer

Optional. The maximum number of data assets to return. The service may return fewer than this value. If unspecified, at most 50 data assets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken

string

Optional. A page token, received from a previous dataAssets.list call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to dataAssets.list must match the call that provided the page token.

Request body

The request body must be empty.

Response body

Response message for listing data assets.

If successful, the response body contains data with the following structure:

JSON representation
{
  "dataAssets": [
    {
      object (DataAsset)
    }
  ],
  "nextPageToken": string
}
Fields
dataAssets[]

object (DataAsset)

The data assets for the requested filter criteria.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is empty, then there are no subsequent pages.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • dataplex.dataAssets.list

For more information, see the IAM documentation.