Class AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub>
com.google.cloud.bigquery.analyticshub.v1.AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub
- Enclosing class:
- AnalyticsHubServiceGrpc
public static final class AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub>
A stub to allow clients to do limited 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.
-
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 TypeMethodDescriptionApproves a query template.build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Creates a new data exchange.createListing(CreateListingRequest request) Creates a new listing.Creates a new QueryTemplatecom.google.protobuf.EmptyDeletes an existing data exchange.com.google.protobuf.EmptydeleteListing(DeleteListingRequest request) Deletes a listing.com.google.protobuf.EmptyDeletes a query template.Deletes a subscription.getDataExchange(GetDataExchangeRequest request) Gets the details of a data exchange.com.google.iam.v1.PolicygetIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) Gets the IAM policy.getListing(GetListingRequest request) Gets the details of a listing.getQueryTemplate(GetQueryTemplateRequest request) Gets a QueryTemplategetSubscription(GetSubscriptionRequest request) Gets the details of a Subscription.Lists all data exchanges in a given project and location.listListings(ListListingsRequest request) Lists all listings in a given project and location.Lists all data exchanges from projects in a given organization and location.Lists all QueryTemplates in a given project and location.Lists all subscriptions on a given Data Exchange or Listing.Lists all subscriptions in a given project and location.Refreshes a Subscription to a Data Exchange.Revokes a given subscription.com.google.iam.v1.PolicysetIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) Sets the IAM policy.Submits a query template for approval.Creates a Subscription to a Data Clean Room.subscribeListing(SubscribeListingRequest request) Subscribes to a listing.com.google.iam.v1.TestIamPermissionsResponsetestIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) Returns the permissions that a caller has.Updates an existing data exchange.updateListing(UpdateListingRequest request) Updates an existing listing.Updates an existing QueryTemplateMethods inherited from class io.grpc.stub.AbstractBlockingStub
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.AnalyticsHubServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub>
-
listDataExchanges
Lists all data exchanges in a given project and location.
-
listOrgDataExchanges
Lists all data exchanges from projects in a given organization and location.
-
getDataExchange
Gets the details of a data exchange.
-
createDataExchange
Creates a new data exchange.
-
updateDataExchange
Updates an existing data exchange.
-
deleteDataExchange
Deletes an existing data exchange.
-
listListings
Lists all listings in a given project and location.
-
getListing
Gets the details of a listing.
-
createListing
Creates a new listing.
-
updateListing
Updates an existing listing.
-
deleteListing
Deletes a listing.
-
subscribeListing
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
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
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
Gets the details of a Subscription.
-
listSubscriptions
Lists all subscriptions in a given project and location.
-
revokeSubscription
Revokes a given subscription.
-
deleteSubscription
Deletes a subscription.
-
getIamPolicy
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) Gets the IAM policy.
-
setIamPolicy
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) Sets the IAM policy.
-
testIamPermissions
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) Returns the permissions that a caller has.
-
createQueryTemplate
Creates a new QueryTemplate
-
getQueryTemplate
Gets a QueryTemplate
-
listQueryTemplates
Lists all QueryTemplates in a given project and location.
-
updateQueryTemplate
Updates an existing QueryTemplate
-
deleteQueryTemplate
Deletes a query template.
-
submitQueryTemplate
Submits a query template for approval.
-
approveQueryTemplate
Approves a query template.
-