Class AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingV2Stub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingV2Stub>
com.google.cloud.bigquery.dataexchange.v1beta1.AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingV2Stub
Enclosing class:
AnalyticsHubServiceGrpc

public static final class AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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.AnalyticsHubServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingV2Stub>
    • listDataExchanges

      public ListDataExchangesResponse listDataExchanges(ListDataExchangesRequest request) throws io.grpc.StatusException
       Lists all data exchanges in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • listOrgDataExchanges

      public ListOrgDataExchangesResponse listOrgDataExchanges(ListOrgDataExchangesRequest request) throws io.grpc.StatusException
       Lists all data exchanges from projects in a given organization and
       location.
       
      Throws:
      io.grpc.StatusException
    • getDataExchange

      public DataExchange getDataExchange(GetDataExchangeRequest request) throws io.grpc.StatusException
       Gets the details of a data exchange.
       
      Throws:
      io.grpc.StatusException
    • createDataExchange

      public DataExchange createDataExchange(CreateDataExchangeRequest request) throws io.grpc.StatusException
       Creates a new data exchange.
       
      Throws:
      io.grpc.StatusException
    • updateDataExchange

      public DataExchange updateDataExchange(UpdateDataExchangeRequest request) throws io.grpc.StatusException
       Updates an existing data exchange.
       
      Throws:
      io.grpc.StatusException
    • deleteDataExchange

      public com.google.protobuf.Empty deleteDataExchange(DeleteDataExchangeRequest request) throws io.grpc.StatusException
       Deletes an existing data exchange.
       
      Throws:
      io.grpc.StatusException
    • listListings

      public ListListingsResponse listListings(ListListingsRequest request) throws io.grpc.StatusException
       Lists all listings in a given project and location.
       
      Throws:
      io.grpc.StatusException
    • getListing

      public Listing getListing(GetListingRequest request) throws io.grpc.StatusException
       Gets the details of a listing.
       
      Throws:
      io.grpc.StatusException
    • createListing

      public Listing createListing(CreateListingRequest request) throws io.grpc.StatusException
       Creates a new listing.
       
      Throws:
      io.grpc.StatusException
    • updateListing

      public Listing updateListing(UpdateListingRequest request) throws io.grpc.StatusException
       Updates an existing listing.
       
      Throws:
      io.grpc.StatusException
    • deleteListing

      public com.google.protobuf.Empty deleteListing(DeleteListingRequest request) throws io.grpc.StatusException
       Deletes a listing.
       
      Throws:
      io.grpc.StatusException
    • subscribeListing

      public SubscribeListingResponse subscribeListing(SubscribeListingRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • getIamPolicy

      public Policy getIamPolicy(GetIamPolicyRequest request) throws io.grpc.StatusException
       Gets the IAM policy.
       
      Throws:
      io.grpc.StatusException
    • setIamPolicy

      public Policy setIamPolicy(SetIamPolicyRequest request) throws io.grpc.StatusException
       Sets the IAM policy.
       
      Throws:
      io.grpc.StatusException
    • testIamPermissions

      public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) throws io.grpc.StatusException
       Returns the permissions that a caller has.
       
      Throws:
      io.grpc.StatusException