Method: projects.locations.dataSourceReferences.list

Lists DataSourceReferences for a given project and location.

HTTP request

GET https://backupdr.googleapis.com/v1/{parent=projects/*/locations/*}/dataSourceReferences

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource name. Format: projects/{project}/locations/{location}

Query parameters

Parameters
pageSize

integer

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

pageToken

string

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

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

filter

string

Optional. A filter expression that filters the results listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering.

The following field and operator combinations are supported:

  • dataSourceGcpResourceInfo.gcp_resourcename with =, !=
  • dataSourceGcpResourceInfo.type with =, !=
orderBy

string

Optional. A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending.

Supported fields:

  • dataSource
  • dataSourceGcpResourceInfo.gcp_resourcename

Request body

The request body must be empty.

Response body

Response for the dataSourceReferences.list method.

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

JSON representation
{
  "dataSourceReferences": [
    {
      object (DataSourceReference)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
dataSourceReferences[]

object (DataSourceReference)

The DataSourceReferences from the specified parent.

nextPageToken

string

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

unreachable[]

string

Locations that could not be reached.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.