Class AnalyticsHubServiceGrpc.AnalyticsHubServiceImplBase (2.5.0)

public abstract static class AnalyticsHubServiceGrpc.AnalyticsHubServiceImplBase implements BindableService

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.

Inheritance

java.lang.Object > AnalyticsHubServiceGrpc.AnalyticsHubServiceImplBase

Implements

io.grpc.BindableService

Constructors

AnalyticsHubServiceImplBase()

public AnalyticsHubServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createDataExchange(CreateDataExchangeRequest request, StreamObserver<DataExchange> responseObserver)

public void createDataExchange(CreateDataExchangeRequest request, StreamObserver<DataExchange> responseObserver)

Creates a new data exchange.

Parameters
NameDescription
requestCreateDataExchangeRequest
responseObserverio.grpc.stub.StreamObserver<DataExchange>

createListing(CreateListingRequest request, StreamObserver<Listing> responseObserver)

public void createListing(CreateListingRequest request, StreamObserver<Listing> responseObserver)

Creates a new listing.

Parameters
NameDescription
requestCreateListingRequest
responseObserverio.grpc.stub.StreamObserver<Listing>

deleteDataExchange(DeleteDataExchangeRequest request, StreamObserver<Empty> responseObserver)

public void deleteDataExchange(DeleteDataExchangeRequest request, StreamObserver<Empty> responseObserver)

Deletes an existing data exchange.

Parameters
NameDescription
requestDeleteDataExchangeRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

deleteListing(DeleteListingRequest request, StreamObserver<Empty> responseObserver)

public void deleteListing(DeleteListingRequest request, StreamObserver<Empty> responseObserver)

Deletes a listing.

Parameters
NameDescription
requestDeleteListingRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getDataExchange(GetDataExchangeRequest request, StreamObserver<DataExchange> responseObserver)

public void getDataExchange(GetDataExchangeRequest request, StreamObserver<DataExchange> responseObserver)

Gets the details of a data exchange.

Parameters
NameDescription
requestGetDataExchangeRequest
responseObserverio.grpc.stub.StreamObserver<DataExchange>

getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void getIamPolicy(GetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

Gets the IAM policy.

Parameters
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

getListing(GetListingRequest request, StreamObserver<Listing> responseObserver)

public void getListing(GetListingRequest request, StreamObserver<Listing> responseObserver)

Gets the details of a listing.

Parameters
NameDescription
requestGetListingRequest
responseObserverio.grpc.stub.StreamObserver<Listing>

listDataExchanges(ListDataExchangesRequest request, StreamObserver<ListDataExchangesResponse> responseObserver)

public void listDataExchanges(ListDataExchangesRequest request, StreamObserver<ListDataExchangesResponse> responseObserver)

Lists all data exchanges in a given project and location.

Parameters
NameDescription
requestListDataExchangesRequest
responseObserverio.grpc.stub.StreamObserver<ListDataExchangesResponse>

listListings(ListListingsRequest request, StreamObserver<ListListingsResponse> responseObserver)

public void listListings(ListListingsRequest request, StreamObserver<ListListingsResponse> responseObserver)

Lists all listings in a given project and location.

Parameters
NameDescription
requestListListingsRequest
responseObserverio.grpc.stub.StreamObserver<ListListingsResponse>

listOrgDataExchanges(ListOrgDataExchangesRequest request, StreamObserver<ListOrgDataExchangesResponse> responseObserver)

public void listOrgDataExchanges(ListOrgDataExchangesRequest request, StreamObserver<ListOrgDataExchangesResponse> responseObserver)

Lists all data exchanges from projects in a given organization and location.

Parameters
NameDescription
requestListOrgDataExchangesRequest
responseObserverio.grpc.stub.StreamObserver<ListOrgDataExchangesResponse>

setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

public void setIamPolicy(SetIamPolicyRequest request, StreamObserver<Policy> responseObserver)

Sets the IAM policy.

Parameters
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.Policy>

subscribeListing(SubscribeListingRequest request, StreamObserver<SubscribeListingResponse> responseObserver)

public void subscribeListing(SubscribeListingRequest request, 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.

Parameters
NameDescription
requestSubscribeListingRequest
responseObserverio.grpc.stub.StreamObserver<SubscribeListingResponse>

testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

public void testIamPermissions(TestIamPermissionsRequest request, StreamObserver<TestIamPermissionsResponse> responseObserver)

Returns the permissions that a caller has.

Parameters
NameDescription
requestcom.google.iam.v1.TestIamPermissionsRequest
responseObserverio.grpc.stub.StreamObserver<com.google.iam.v1.TestIamPermissionsResponse>

updateDataExchange(UpdateDataExchangeRequest request, StreamObserver<DataExchange> responseObserver)

public void updateDataExchange(UpdateDataExchangeRequest request, StreamObserver<DataExchange> responseObserver)

Updates an existing data exchange.

Parameters
NameDescription
requestUpdateDataExchangeRequest
responseObserverio.grpc.stub.StreamObserver<DataExchange>

updateListing(UpdateListingRequest request, StreamObserver<Listing> responseObserver)

public void updateListing(UpdateListingRequest request, StreamObserver<Listing> responseObserver)

Updates an existing listing.

Parameters
NameDescription
requestUpdateListingRequest
responseObserverio.grpc.stub.StreamObserver<Listing>