Method: projects.locations.subscriptions.list

Lists all subscriptions in a given project and location.

HTTP request

GET https://analyticshub.googleapis.com/v1/{parent=projects/*/locations/*}/subscriptions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource path of the subscription. e.g. projects/myproject/locations/US

Query parameters

Parameters
filter

string

An expression for filtering the results of the request. Eligible fields for filtering are:

  • listing
  • dataExchange

Alternatively, a literal wrapped in double quotes may be provided. This will be checked for an exact match against both fields above.

In all cases, the full Data Exchange or Listing resource name must be provided. Some example of using filters:

  • dataExchange="projects/myproject/locations/us/dataExchanges/123"
  • listing="projects/123/locations/us/dataExchanges/456/listings/789"
  • "projects/myproject/locations/us/dataExchanges/123"
pageSize

integer

The maximum number of results to return in a single response page.

pageToken

string

Page token, returned by a previous call.

Request body

The request body must be empty.

Response body

Message for response to the listing of subscriptions.

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

JSON representation
{
  "subscriptions": [
    {
      object (Subscription)
    }
  ],
  "nextPageToken": string
}
Fields
subscriptions[]

object (Subscription)

The list of subscriptions.

nextPageToken

string

Next page token.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/bigquery
  • 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:

  • analyticshub.subscriptions.list

For more information, see the IAM documentation.