public static final class AnalyticsHubServiceGrpc.AnalyticsHubServiceStub extends io.grpc.stub.AbstractAsyncStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceStub>
The `AnalyticsHubService` API facilitates data sharing within and across organizations. It allows data providers to publish listings that reference shared datasets. With Analytics Hub, users can discover and search for listings that they have access to. Subscribers can view and subscribe to listings. When you subscribe to a listing, Analytics Hub creates a linked dataset in your project.
| Modifier and Type | Method and Description |
|---|---|
protected AnalyticsHubServiceGrpc.AnalyticsHubServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createDataExchange(CreateDataExchangeRequest request,
io.grpc.stub.StreamObserver<DataExchange> responseObserver)
Creates a new data exchange.
|
void |
createListing(CreateListingRequest request,
io.grpc.stub.StreamObserver<Listing> responseObserver)
Creates a new listing.
|
void |
deleteDataExchange(DeleteDataExchangeRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an existing data exchange.
|
void |
deleteListing(DeleteListingRequest request,
io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a listing.
|
void |
getDataExchange(GetDataExchangeRequest request,
io.grpc.stub.StreamObserver<DataExchange> responseObserver)
Gets the details of a data exchange.
|
void |
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the IAM policy.
|
void |
getListing(GetListingRequest request,
io.grpc.stub.StreamObserver<Listing> responseObserver)
Gets the details of a listing.
|
void |
listDataExchanges(ListDataExchangesRequest request,
io.grpc.stub.StreamObserver<ListDataExchangesResponse> responseObserver)
Lists all data exchanges in a given project and location.
|
void |
listListings(ListListingsRequest request,
io.grpc.stub.StreamObserver<ListListingsResponse> responseObserver)
Lists all listings in a given project and location.
|
void |
listOrgDataExchanges(ListOrgDataExchangesRequest request,
io.grpc.stub.StreamObserver<ListOrgDataExchangesResponse> responseObserver)
Lists all data exchanges from projects in a given organization and
location.
|
void |
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the IAM policy.
|
void |
subscribeListing(SubscribeListingRequest request,
io.grpc.stub.StreamObserver<SubscribeListingResponse> responseObserver)
Subscribes to a listing.
|
void |
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns the permissions that a caller has.
|
void |
updateDataExchange(UpdateDataExchangeRequest request,
io.grpc.stub.StreamObserver<DataExchange> responseObserver)
Updates an existing data exchange.
|
void |
updateListing(UpdateListingRequest request,
io.grpc.stub.StreamObserver<Listing> responseObserver)
Updates an existing listing.
|
protected AnalyticsHubServiceGrpc.AnalyticsHubServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceStub>public void listDataExchanges(ListDataExchangesRequest request, io.grpc.stub.StreamObserver<ListDataExchangesResponse> responseObserver)
Lists all data exchanges in a given project and location.
public void listOrgDataExchanges(ListOrgDataExchangesRequest request, io.grpc.stub.StreamObserver<ListOrgDataExchangesResponse> responseObserver)
Lists all data exchanges from projects in a given organization and location.
public void getDataExchange(GetDataExchangeRequest request, io.grpc.stub.StreamObserver<DataExchange> responseObserver)
Gets the details of a data exchange.
public void createDataExchange(CreateDataExchangeRequest request, io.grpc.stub.StreamObserver<DataExchange> responseObserver)
Creates a new data exchange.
public void updateDataExchange(UpdateDataExchangeRequest request, io.grpc.stub.StreamObserver<DataExchange> responseObserver)
Updates an existing data exchange.
public void deleteDataExchange(DeleteDataExchangeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an existing data exchange.
public void listListings(ListListingsRequest request, io.grpc.stub.StreamObserver<ListListingsResponse> responseObserver)
Lists all listings in a given project and location.
public void getListing(GetListingRequest request, io.grpc.stub.StreamObserver<Listing> responseObserver)
Gets the details of a listing.
public void createListing(CreateListingRequest request, io.grpc.stub.StreamObserver<Listing> responseObserver)
Creates a new listing.
public void updateListing(UpdateListingRequest request, io.grpc.stub.StreamObserver<Listing> responseObserver)
Updates an existing listing.
public void deleteListing(DeleteListingRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a listing.
public void subscribeListing(SubscribeListingRequest request, io.grpc.stub.StreamObserver<SubscribeListingResponse> responseObserver)
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.
public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the IAM policy.
public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the IAM policy.
public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request,
io.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse> responseObserver)
Returns the permissions that a caller has.
Copyright © 2023 Google LLC. All rights reserved.