public static final class AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub extends 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.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createDataExchange(CreateDataExchangeRequest request)
public ListenableFuture<DataExchange> createDataExchange(CreateDataExchangeRequest request)
Creates a new data exchange.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<DataExchange> |
|
createListing(CreateListingRequest request)
public ListenableFuture<Listing> createListing(CreateListingRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Listing> |
|
deleteDataExchange(DeleteDataExchangeRequest request)
public ListenableFuture<Empty> deleteDataExchange(DeleteDataExchangeRequest request)
Deletes an existing data exchange.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteListing(DeleteListingRequest request)
public ListenableFuture<Empty> deleteListing(DeleteListingRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteSubscription(DeleteSubscriptionRequest request)
public ListenableFuture<Operation> deleteSubscription(DeleteSubscriptionRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
getDataExchange(GetDataExchangeRequest request)
public ListenableFuture<DataExchange> getDataExchange(GetDataExchangeRequest request)
Gets the details of a data exchange.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<DataExchange> |
|
getIamPolicy(GetIamPolicyRequest request)
public ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request)
Parameter |
Name |
Description |
request |
com.google.iam.v1.GetIamPolicyRequest
|
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> |
|
getListing(GetListingRequest request)
public ListenableFuture<Listing> getListing(GetListingRequest request)
Gets the details of a listing.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Listing> |
|
getSubscription(GetSubscriptionRequest request)
public ListenableFuture<Subscription> getSubscription(GetSubscriptionRequest request)
Gets the details of a Subscription.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Subscription> |
|
listDataExchanges(ListDataExchangesRequest request)
public ListenableFuture<ListDataExchangesResponse> listDataExchanges(ListDataExchangesRequest request)
Lists all data exchanges in a given project and location.
listListings(ListListingsRequest request)
public ListenableFuture<ListListingsResponse> listListings(ListListingsRequest request)
Lists all listings in a given project and location.
listOrgDataExchanges(ListOrgDataExchangesRequest request)
public ListenableFuture<ListOrgDataExchangesResponse> listOrgDataExchanges(ListOrgDataExchangesRequest request)
Lists all data exchanges from projects in a given organization and
location.
listSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest request)
public ListenableFuture<ListSharedResourceSubscriptionsResponse> listSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest request)
Lists all subscriptions on a given Data Exchange or Listing.
listSubscriptions(ListSubscriptionsRequest request)
public ListenableFuture<ListSubscriptionsResponse> listSubscriptions(ListSubscriptionsRequest request)
Lists all subscriptions in a given project and location.
refreshSubscription(RefreshSubscriptionRequest request)
public ListenableFuture<Operation> refreshSubscription(RefreshSubscriptionRequest request)
Refreshes a Subscription to a Data Exchange. A Data Exchange can become
stale when a publisher adds or removes data. This is a long-running
operation as it may create many linked datasets.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
revokeSubscription(RevokeSubscriptionRequest request)
public ListenableFuture<RevokeSubscriptionResponse> revokeSubscription(RevokeSubscriptionRequest request)
Revokes a given subscription.
setIamPolicy(SetIamPolicyRequest request)
public ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)
Parameter |
Name |
Description |
request |
com.google.iam.v1.SetIamPolicyRequest
|
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> |
|
subscribeDataExchange(SubscribeDataExchangeRequest request)
public ListenableFuture<Operation> subscribeDataExchange(SubscribeDataExchangeRequest request)
Creates a Subscription to a Data Exchange. This is a long-running operation
as it will create one or more linked datasets.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
subscribeListing(SubscribeListingRequest request)
public 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.
testIamPermissions(TestIamPermissionsRequest request)
public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)
Returns the permissions that a caller has.
Parameter |
Name |
Description |
request |
com.google.iam.v1.TestIamPermissionsRequest
|
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> |
|
updateDataExchange(UpdateDataExchangeRequest request)
public ListenableFuture<DataExchange> updateDataExchange(UpdateDataExchangeRequest request)
Updates an existing data exchange.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<DataExchange> |
|
updateListing(UpdateListingRequest request)
public ListenableFuture<Listing> updateListing(UpdateListingRequest request)
Updates an existing listing.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Listing> |
|