Method: projects.locations.dataExchanges.listings.subscribe

Subscribes to a listing.

Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.

HTTP request

POST https://analyticshub.googleapis.com/v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}:subscribe

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Resource name of the listing that you want to subscribe to. e.g. projects/myproject/locations/US/dataExchanges/123/listings/456.

Request body

The request body contains data with the following structure:

JSON representation
{

  // Union field destination can be only one of the following:
  "destinationDataset": {
    object (DestinationDataset)
  }
  // End of list of possible types for union field destination.
}
Fields
Union field destination. Resulting destination of the listing that you subscribed to. destination can be only one of the following:
destinationDataset

object (DestinationDataset)

BigQuery destination dataset to create for the subscriber.

Response body

Message for response when you subscribe to a listing.

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

JSON representation
{
  "s