Class 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 Detail

      • getDataExchange

        public void getDataExchange​(GetDataExchangeRequest request,
                                    io.grpc.stub.StreamObserver<DataExchange> responseObserver)
         Gets the details of a 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.