Class AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub>
com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub
- Enclosing class:
- AnalyticsHubServiceGrpc
public static final class AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<DataExchange>Creates a new data exchange.com.google.common.util.concurrent.ListenableFuture<Listing>createListing(CreateListingRequest request) Creates a new listing.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Deletes an existing data exchange.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteListing(DeleteListingRequest request) Deletes a listing.com.google.common.util.concurrent.ListenableFuture<DataExchange>getDataExchange(GetDataExchangeRequest request) Gets the details of a data exchange.com.google.common.util.concurrent.ListenableFuture<Policy>getIamPolicy(GetIamPolicyRequest request) Gets the IAM policy.com.google.common.util.concurrent.ListenableFuture<Listing>getListing(GetListingRequest request) Gets the details of a listing.com.google.common.util.concurrent.ListenableFuture<ListDataExchangesResponse>Lists all data exchanges in a given project and location.com.google.common.util.concurrent.ListenableFuture<ListListingsResponse>listListings(ListListingsRequest request) Lists all listings in a given project and location.com.google.common.util.concurrent.ListenableFuture<ListOrgDataExchangesResponse>Lists all data exchanges from projects in a given organization and location.com.google.common.util.concurrent.ListenableFuture<Policy>setIamPolicy(SetIamPolicyRequest request) Sets the IAM policy.com.google.common.util.concurrent.ListenableFuture<SubscribeListingResponse>subscribeListing(SubscribeListingRequest request) Subscribes to a listing.com.google.common.util.concurrent.ListenableFuture<TestIamPermissionsResponse>Returns the permissions that a caller has.com.google.common.util.concurrent.ListenableFuture<DataExchange>Updates an existing data exchange.com.google.common.util.concurrent.ListenableFuture<Listing>updateListing(UpdateListingRequest request) Updates an existing listing.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub>
-
listDataExchanges
public com.google.common.util.concurrent.ListenableFuture<ListDataExchangesResponse> listDataExchanges(ListDataExchangesRequest request) Lists all data exchanges in a given project and location.
-
listOrgDataExchanges
public com.google.common.util.concurrent.ListenableFuture<ListOrgDataExchangesResponse> listOrgDataExchanges(ListOrgDataExchangesRequest request) Lists all data exchanges from projects in a given organization and location.
-
getDataExchange
public com.google.common.util.concurrent.ListenableFuture<DataExchange> getDataExchange(GetDataExchangeRequest request) Gets the details of a data exchange.
-
createDataExchange
public com.google.common.util.concurrent.ListenableFuture<DataExchange> createDataExchange(CreateDataExchangeRequest request) Creates a new data exchange.
-
updateDataExchange
public com.google.common.util.concurrent.ListenableFuture<DataExchange> updateDataExchange(UpdateDataExchangeRequest request) Updates an existing data exchange.
-
deleteDataExchange
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteDataExchange(DeleteDataExchangeRequest request) Deletes an existing data exchange.
-
listListings
public com.google.common.util.concurrent.ListenableFuture<ListListingsResponse> listListings(ListListingsRequest request) Lists all listings in a given project and location.
-
getListing
public com.google.common.util.concurrent.ListenableFuture<Listing> getListing(GetListingRequest request) Gets the details of a listing.
-
createListing
public com.google.common.util.concurrent.ListenableFuture<Listing> createListing(CreateListingRequest request) Creates a new listing.
-
updateListing
public com.google.common.util.concurrent.ListenableFuture<Listing> updateListing(UpdateListingRequest request) Updates an existing listing.
-
deleteListing
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteListing(DeleteListingRequest request) Deletes a listing.
-
subscribeListing
public com.google.common.util.concurrent.ListenableFuture<SubscribeListingResponse> subscribeListing(SubscribeListingRequest request) 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 com.google.common.util.concurrent.ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request) Gets the IAM policy.
-
setIamPolicy
public com.google.common.util.concurrent.ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request) Sets the IAM policy.
-
testIamPermissions
public com.google.common.util.concurrent.ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request) Returns the permissions that a caller has.
-