Class AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub>
com.google.cloud.bigquery.analyticshub.v1.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 TypeMethodDescriptioncom.google.common.util.concurrent.ListenableFuture<QueryTemplate>Approves a query template.build(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<QueryTemplate>Creates a new QueryTemplatecom.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<com.google.protobuf.Empty>Deletes a query template.com.google.common.util.concurrent.ListenableFuture<Operation>Deletes a subscription.com.google.common.util.concurrent.ListenableFuture<DataExchange>getDataExchange(GetDataExchangeRequest request) Gets the details of a data exchange.com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>getIamPolicy(com.google.iam.v1.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<QueryTemplate>getQueryTemplate(GetQueryTemplateRequest request) Gets a QueryTemplatecom.google.common.util.concurrent.ListenableFuture<Subscription>getSubscription(GetSubscriptionRequest request) Gets the details of a Subscription.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<ListQueryTemplatesResponse>Lists all QueryTemplates in a given project and location.com.google.common.util.concurrent.ListenableFuture<ListSharedResourceSubscriptionsResponse>Lists all subscriptions on a given Data Exchange or Listing.com.google.common.util.concurrent.ListenableFuture<ListSubscriptionsResponse>Lists all subscriptions in a given project and location.com.google.common.util.concurrent.ListenableFuture<Operation>Refreshes a Subscription to a Data Exchange.com.google.common.util.concurrent.ListenableFuture<RevokeSubscriptionResponse>Revokes a given subscription.com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) Sets the IAM policy.com.google.common.util.concurrent.ListenableFuture<QueryTemplate>Submits a query template for approval.com.google.common.util.concurrent.ListenableFuture<Operation>Creates a Subscription to a Data Clean Room.com.google.common.util.concurrent.ListenableFuture<SubscribeListingResponse>subscribeListing(SubscribeListingRequest request) Subscribes to a listing.com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse>testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) 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.com.google.common.util.concurrent.ListenableFuture<QueryTemplate>Updates an existing QueryTemplateMethods 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.
-
subscribeDataExchange
public com.google.common.util.concurrent.ListenableFuture<Operation> subscribeDataExchange(SubscribeDataExchangeRequest request) Creates a Subscription to a Data Clean Room. This is a long-running operation as it will create one or more linked datasets. Throws a Bad Request error if the Data Exchange does not contain any listings.
-
refreshSubscription
public com.google.common.util.concurrent.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.
-
getSubscription
public com.google.common.util.concurrent.ListenableFuture<Subscription> getSubscription(GetSubscriptionRequest request) Gets the details of a Subscription.
-
listSubscriptions
public com.google.common.util.concurrent.ListenableFuture<ListSubscriptionsResponse> listSubscriptions(ListSubscriptionsRequest request) Lists all subscriptions in a given project and location.
-
revokeSubscription
public com.google.common.util.concurrent.ListenableFuture<RevokeSubscriptionResponse> revokeSubscription(RevokeSubscriptionRequest request) Revokes a given subscription.
-
deleteSubscription
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteSubscription(DeleteSubscriptionRequest request) Deletes a subscription.
-
getIamPolicy
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) Gets the IAM policy.
-
setIamPolicy
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy> setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) Sets the IAM policy.
-
testIamPermissions
public com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) Returns the permissions that a caller has.
-
createQueryTemplate
public com.google.common.util.concurrent.ListenableFuture<QueryTemplate> createQueryTemplate(CreateQueryTemplateRequest request) Creates a new QueryTemplate
-
getQueryTemplate
public com.google.common.util.concurrent.ListenableFuture<QueryTemplate> getQueryTemplate(GetQueryTemplateRequest request) Gets a QueryTemplate
-
listQueryTemplates
public com.google.common.util.concurrent.ListenableFuture<ListQueryTemplatesResponse> listQueryTemplates(ListQueryTemplatesRequest request) Lists all QueryTemplates in a given project and location.
-
updateQueryTemplate
public com.google.common.util.concurrent.ListenableFuture<QueryTemplate> updateQueryTemplate(UpdateQueryTemplateRequest request) Updates an existing QueryTemplate
-
deleteQueryTemplate
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteQueryTemplate(DeleteQueryTemplateRequest request) Deletes a query template.
-
submitQueryTemplate
public com.google.common.util.concurrent.ListenableFuture<QueryTemplate> submitQueryTemplate(SubmitQueryTemplateRequest request) Submits a query template for approval.
-
approveQueryTemplate
public com.google.common.util.concurrent.ListenableFuture<QueryTemplate> approveQueryTemplate(ApproveQueryTemplateRequest request) Approves a query template.
-