Class AnalyticsHubServiceGrpc.AnalyticsHubServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceStub>
-
- com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceGrpc.AnalyticsHubServiceStub
-
- Enclosing class:
- AnalyticsHubServiceGrpc
public static final class AnalyticsHubServiceGrpc.AnalyticsHubServiceStub extends io.grpc.stub.AbstractAsyncStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceStub>
A stub to allow clients to do asynchronous rpc calls to service AnalyticsHubService.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
build
protected AnalyticsHubServiceGrpc.AnalyticsHubServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceStub>
-
listDataExchanges
public void listDataExchanges(ListDataExchangesRequest request, io.grpc.stub.StreamObserver<ListDataExchangesResponse> responseObserver)
Lists all data exchanges in a given project and location.
-
listOrgDataExchanges
public void listOrgDataExchanges(ListOrgDataExchangesRequest request, io.grpc.stub.StreamObserver<ListOrgDataExchangesResponse> responseObserver)
Lists all data exchanges from projects in a given organization and location.
-
getDataExchange
public void getDataExchange(GetDataExchangeRequest request, io.grpc.stub.StreamObserver<DataExchange> responseObserver)
Gets the details of a data exchange.
-
createDataExchange
public void createDataExchange(CreateDataExchangeRequest request, io.grpc.stub.StreamObserver<DataExchange> responseObserver)
Creates a new data exchange.
-
updateDataExchange
public void updateDataExchange(UpdateDataExchangeRequest request, io.grpc.stub.StreamObserver<DataExchange> responseObserver)
Updates an existing data exchange.
-
deleteDataExchange
public void deleteDataExchange(DeleteDataExchangeRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes an existing data exchange.
-
listListings
public void listListings(ListListingsRequest request, io.grpc.stub.StreamObserver<ListListingsResponse> responseObserver)
Lists all listings in a given project and location.
-
getListing
public void getListing(GetListingRequest request, io.grpc.stub.StreamObserver<Listing> responseObserver)
Gets the details of a listing.
-
createListing
public void createListing(CreateListingRequest request, io.grpc.stub.StreamObserver<Listing> responseObserver)
Creates a new listing.
-
updateListing
public void updateListing(UpdateListingRequest request, io.grpc.stub.StreamObserver<Listing> responseObserver)
Updates an existing listing.
-
deleteListing
public void deleteListing(DeleteListingRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a listing.
-
subscribeListing
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.
-
getIamPolicy
public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Gets the IAM policy.
-
setIamPolicy
public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver<com.google.iam.v1.Policy> responseObserver)
Sets the IAM policy.
-
testIamPermissions
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.
-
-