The interfaces provided are listed below, along with usage samples.
AnalyticsHubServiceClient
Service Description: The AnalyticsHubService API facilitates data sharing within and across
organizations. It allows data providers to publish Listings --- a discoverable and searchable SKU
representing a dataset. Data consumers can subscribe to Listings. Upon subscription, AnalyticsHub
provisions a "Linked Datasets" surfacing the data in the consumer's project.
Sample for AnalyticsHubServiceClient:
// This snippet has been automatically generated for illustrative purposes only.// It may require modifications to work in your environment.try(AnalyticsHubServiceClientanalyticsHubServiceClient=AnalyticsHubServiceClient.create()){DataExchangeNamename=DataExchangeName.of("[PROJECT]","[LOCATION]","[DATA_EXCHANGE]");DataExchangeresponse=analyticsHubServiceClient.getDataExchange(name);}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]