Class AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub (0.36.0)

public static final class AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub extends AbstractBlockingStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub>

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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
AnalyticsHubServiceGrpc.AnalyticsHubServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createDataExchange(CreateDataExchangeRequest request)

public DataExchange createDataExchange(CreateDataExchangeRequest request)

Creates a new data exchange.

Parameter
NameDescription
requestCreateDataExchangeRequest
Returns
TypeDescription
DataExchange

createListing(CreateListingRequest request)

public Listing createListing(CreateListingRequest request)

Creates a new listing.

Parameter
NameDescription
requestCreateListingRequest
Returns
TypeDescription
Listing

deleteDataExchange(DeleteDataExchangeRequest request)

public Empty deleteDataExchange(DeleteDataExchangeRequest request)

Deletes an existing data exchange.

Parameter
NameDescription
requestDeleteDataExchangeRequest
Returns
TypeDescription
Empty

deleteListing(DeleteListingRequest request)

public Empty deleteListing(DeleteListingRequest request)

Deletes a listing.

Parameter
NameDescription
requestDeleteListingRequest
Returns
TypeDescription
Empty

deleteSubscription(DeleteSubscriptionRequest request)

public Operation deleteSubscription(DeleteSubscriptionRequest request)

Deletes a subscription.

Parameter
NameDescription
requestDeleteSubscriptionRequest
Returns
TypeDescription
Operation

getDataExchange(GetDataExchangeRequest request)

public DataExchange getDataExchange(GetDataExchangeRequest request)

Gets the details of a data exchange.

Parameter
NameDescription
requestGetDataExchangeRequest
Returns
TypeDescription
DataExchange

getIamPolicy(GetIamPolicyRequest request)

public Policy getIamPolicy(GetIamPolicyRequest request)

Gets the IAM policy.

Parameter
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
Returns
TypeDescription
com.google.iam.v1.Policy

getListing(GetListingRequest request)

public Listing getListing(GetListingRequest request)

Gets the details of a listing.

Parameter
NameDescription
requestGetListingRequest
Returns
TypeDescription
Listing

getSubscription(GetSubscriptionRequest request)

public Subscription getSubscription(GetSubscriptionRequest request)

Gets the details of a Subscription.

Parameter
NameDescription
requestGetSubscriptionRequest
Returns
TypeDescription
Subscription

listDataExchanges(ListDataExchangesRequest request)

public ListDataExchangesResponse listDataExchanges(ListDataExchangesRequest request)

Lists all data exchanges in a given project and location.

Parameter
NameDescription
requestListDataExchangesRequest
Returns
TypeDescription
ListDataExchangesResponse

listListings(ListListingsRequest request)

public ListListingsResponse listListings(ListListingsRequest request)

Lists all listings in a given project and location.

Parameter
NameDescription
requestListListingsRequest
Returns
TypeDescription
ListListingsResponse

listOrgDataExchanges(ListOrgDataExchangesRequest request)

public ListOrgDataExchangesResponse listOrgDataExchanges(ListOrgDataExchangesRequest request)

Lists all data exchanges from projects in a given organization and location.

Parameter
NameDescription
requestListOrgDataExchangesRequest
Returns
TypeDescription
ListOrgDataExchangesResponse

listSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest request)

public ListSharedResourceSubscriptionsResponse listSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest request)

Lists all subscriptions on a given Data Exchange or Listing.

Parameter
NameDescription
requestListSharedResourceSubscriptionsRequest
Returns
TypeDescription
ListSharedResourceSubscriptionsResponse

listSubscriptions(ListSubscriptionsRequest request)

public ListSubscriptionsResponse listSubscriptions(ListSubscriptionsRequest request)

Lists all subscriptions in a given project and location.

Parameter
NameDescription
requestListSubscriptionsRequest
Returns
TypeDescription
ListSubscriptionsResponse

refreshSubscription(RefreshSubscriptionRequest request)

public 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.

Parameter
NameDescription
requestRefreshSubscriptionRequest
Returns
TypeDescription
Operation

revokeSubscription(RevokeSubscriptionRequest request)

public RevokeSubscriptionResponse revokeSubscription(RevokeSubscriptionRequest request)

Revokes a given subscription.

Parameter
NameDescription
requestRevokeSubscriptionRequest
Returns
TypeDescription
RevokeSubscriptionResponse

setIamPolicy(SetIamPolicyRequest request)

public Policy setIamPolicy(SetIamPolicyRequest request)

Sets the IAM policy.

Parameter
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
Returns
TypeDescription
com.google.iam.v1.Policy

subscribeDataExchange(SubscribeDataExchangeRequest request)

public Operation subscribeDataExchange(SubscribeDataExchangeRequest request)

Creates a Subscription to a Data Exchange. This is a long-running operation as it will create one or more linked datasets.

Parameter
NameDescription
requestSubscribeDataExchangeRequest
Returns
TypeDescription
Operation

subscribeListing(SubscribeListingRequest request)

public 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.

Parameter
NameDescription
requestSubscribeListingRequest
Returns
TypeDescription
SubscribeListingResponse

testIamPermissions(TestIamPermissionsRequest request)

public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request)

Returns the permissions that a caller has.

Parameter
NameDescription
requestcom.google.iam.v1.TestIamPermissionsRequest
Returns
TypeDescription
com.google.iam.v1.TestIamPermissionsResponse

updateDataExchange(UpdateDataExchangeRequest request)

public DataExchange updateDataExchange(UpdateDataExchangeRequest request)

Updates an existing data exchange.

Parameter
NameDescription
requestUpdateDataExchangeRequest
Returns
TypeDescription
DataExchange

updateListing(UpdateListingRequest request)

public Listing updateListing(UpdateListingRequest request)

Updates an existing listing.

Parameter
NameDescription
requestUpdateListingRequest
Returns
TypeDescription
Listing