Analytics Hub API

Exchange data and analytics assets securely and efficiently.

Service: analyticshub.googleapis.com

To call this service, we recommend that you use the Google-providedclient libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

ADiscovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery documents:

Service endpoint

Aservice endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://analyticshub.googleapis.com

REST Resource:v1beta1.organizations.locations.dataExchanges

Methods
listGET /v1beta1/{organization=organizations/*/locations/*}/dataExchanges
Lists all data exchanges from projects in a given organization and location.

REST Resource:v1beta1.projects.locations.dataExchanges

Methods
createPOST /v1beta1/{parent=projects/*/locations/*}/dataExchanges
Creates a new data exchange.
deleteDELETE /v1beta1/{name=projects/*/locations/*/dataExchanges/*}
Deletes an existing data exchange.
getGET /v1beta1/{name=projects/*/locations/*/dataExchanges/*}
Gets the details of a data exchange.
getIamPolicyPOST /v1beta1/{resource=projects/*/locations/*/dataExchanges/*}:getIamPolicy
Gets the IAM policy.
listGET /v1beta1/{parent=projects/*/locations/*}/dataExchanges
Lists all data exchanges in a given project and location.
patchPATCH /v1beta1/{dataExchange.name=projects/*/locations/*/dataExchanges/*}
Updates an existing data exchange.
setIamPolicyPOST /v1beta1/{resource=projects/*/locations/*/dataExchanges/*}:setIamPolicy
Sets the IAM policy.
testIamPermissionsPOST /v1beta1/{resource=projects/*/locations/*/dataExchanges/*}:testIamPermissions
Returns the permissions that a caller has.

REST Resource:v1beta1.projects.locations.dataExchanges.listings

Methods
createPOST /v1beta1/{parent=projects/*/locations/*/dataExchanges/*}/listings
Creates a new listing.
deleteDELETE /v1beta1/{name=projects/*/locations/*/dataExchanges/*/listings/*}
Deletes a listing.
getGET /v1beta1/{name=projects/*/locations/*/dataExchanges/*/listings/*}
Gets the details of a listing.
getIamPolicyPOST /v1beta1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:getIamPolicy
Gets the IAM policy.
listGET /v1beta1/{parent=projects/*/locations/*/dataExchanges/*}/listings
Lists all listings in a given project and location.
patchPATCH /v1beta1/{listing.name=projects/*/locations/*/dataExchanges/*/listings/*}
Updates an existing listing.
setIamPolicyPOST /v1beta1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:setIamPolicy
Sets the IAM policy.
subscribePOST /v1beta1/{name=projects/*/locations/*/dataExchanges/*/listings/*}:subscribe
Subscribes to a listing.
testIamPermissionsPOST /v1beta1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:testIamPermissions
Returns the permissions that a caller has.

REST Resource:v1.organizations.locations.dataExchanges

Methods
listGET /v1/{organization=organizations/*/locations/*}/dataExchanges
Lists all data exchanges from projects in a given organization and location.

REST Resource:v1.projects.locations.dataExchanges

Methods
createPOST /v1/{parent=projects/*/locations/*}/dataExchanges
Creates a new data exchange.
deleteDELETE /v1/{name=projects/*/locations/*/dataExchanges/*}
Deletes an existing data exchange.
getGET /v1/{name=projects/*/locations/*/dataExchanges/*}
Gets the details of a data exchange.
getIamPolicyPOST /v1/{resource=projects/*/locations/*/dataExchanges/*}:getIamPolicy
Gets the IAM policy.
listGET /v1/{parent=projects/*/locations/*}/dataExchanges
Lists all data exchanges in a given project and location.
listSubscriptionsGET /v1/{resource=projects/*/locations/*/dataExchanges/*}:listSubscriptions
Lists all subscriptions on a given Data Exchange or Listing.
patchPATCH /v1/{dataExchange.name=projects/*/locations/*/dataExchanges/*}
Updates an existing data exchange.
setIamPolicyPOST /v1/{resource=projects/*/locations/*/dataExchanges/*}:setIamPolicy
Sets the IAM policy.
subscribePOST /v1/{name=projects/*/locations/*/dataExchanges/*}:subscribe
Creates a Subscription to a Data Clean Room.
testIamPermissionsPOST /v1/{resource=projects/*/locations/*/dataExchanges/*}:testIamPermissions
Returns the permissions that a caller has.

REST Resource:v1.projects.locations.dataExchanges.listings

Methods
createPOST /v1/{parent=projects/*/locations/*/dataExchanges/*}/listings
Creates a new listing.
deleteDELETE /v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}
Deletes a listing.
getGET /v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}
Gets the details of a listing.
getIamPolicyPOST /v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:getIamPolicy
Gets the IAM policy.
listGET /v1/{parent=projects/*/locations/*/dataExchanges/*}/listings
Lists all listings in a given project and location.
listSubscriptionsGET /v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:listSubscriptions
Lists all subscriptions on a given Data Exchange or Listing.
patchPATCH /v1/{listing.name=projects/*/locations/*/dataExchanges/*/listings/*}
Updates an existing listing.
setIamPolicyPOST /v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:setIamPolicy
Sets the IAM policy.
subscribePOST /v1/{name=projects/*/locations/*/dataExchanges/*/listings/*}:subscribe
Subscribes to a listing.
testIamPermissionsPOST /v1/{resource=projects/*/locations/*/dataExchanges/*/listings/*}:testIamPermissions
Returns the permissions that a caller has.

REST Resource:v1.projects.locations.dataExchanges.queryTemplates

Methods
approvePOST /v1/{name=projects/*/locations/*/dataExchanges/*/queryTemplates/*}:approve
Approves a query template.
createPOST /v1/{parent=projects/*/locations/*/dataExchanges/*}/queryTemplates
Creates a new QueryTemplate
deleteDELETE /v1/{name=projects/*/locations/*/dataExchanges/*/queryTemplates/*}
Deletes a query template.
getGET /v1/{name=projects/*/locations/*/dataExchanges/*/queryTemplates/*}
Gets a QueryTemplate
listGET /v1/{parent=projects/*/locations/*/dataExchanges/*}/queryTemplates
Lists all QueryTemplates in a given project and location.
patchPATCH /v1/{queryTemplate.name=projects/*/locations/*/dataExchanges/*/queryTemplates/*}
Updates an existing QueryTemplate
submitPOST /v1/{name=projects/*/locations/*/dataExchanges/*/queryTemplates/*}:submit
Submits a query template for approval.

REST Resource:v1.projects.locations.subscriptions

Methods
deleteDELETE /v1/{name=projects/*/locations/*/subscriptions/*}
Deletes a subscription.
getGET /v1/{name=projects/*/locations/*/subscriptions/*}
Gets the details of a Subscription.
getIamPolicyPOST /v1/{resource=projects/*/locations/*/subscriptions/*}:getIamPolicy
Gets the IAM policy.
listGET /v1/{parent=projects/*/locations/*}/subscriptions
Lists all subscriptions in a given project and location.
refreshPOST /v1/{name=projects/*/locations/*/subscriptions/*}:refresh
Refreshes a Subscription to a Data Exchange.
revokePOST /v1/{name=projects/*/locations/*/subscriptions/*}:revoke
Revokes a given subscription.
setIamPolicyPOST /v1/{resource=projects/*/locations/*/subscriptions/*}:setIamPolicy
Sets the IAM policy.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-11-12 UTC.