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.
 
  • Method Details

    • build

      protected AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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.
       
    • listSharedResourceSubscriptions

      public com.google.common.util.concurrent.ListenableFuture<ListSharedResourceSubscriptionsResponse> listSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest request)
       Lists all subscriptions on a given Data Exchange or Listing.
       
    • 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.