Class AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub (0.2.1)

public static final class AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub extends AbstractFutureStub<AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub>

The AnalyticsHubService API facilitates data sharing within and across organizations. It allows data providers to publish Listings --- a discoverable and searchable SKU representing a dataset. Data consumers can subscribe to Listings. Upon subscription, AnalyticsHub provisions a "Linked Datasets" surfacing the data in the consumer's project.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AnalyticsHubServiceGrpc.AnalyticsHubServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createDataExchange(CreateDataExchangeRequest request)

public ListenableFuture<DataExchange> createDataExchange(CreateDataExchangeRequest request)

Creates a new DataExchange in a given project and location.

Parameter
NameDescription
requestCreateDataExchangeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<DataExchange>

createListing(CreateListingRequest request)

public ListenableFuture<Listing> createListing(CreateListingRequest request)

Creates a new Listing in a given project and location.

Parameter
NameDescription
requestCreateListingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Listing>

deleteDataExchange(DeleteDataExchangeRequest request)

public ListenableFuture<Empty> deleteDataExchange(DeleteDataExchangeRequest request)

Deletes a single DataExchange.

Parameter
NameDescription
requestDeleteDataExchangeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

deleteListing(DeleteListingRequest request)

public ListenableFuture<Empty> deleteListing(DeleteListingRequest request)

Deletes a single Listing, as long as there are no subscriptions associated with the source of this Listing.

Parameter
NameDescription
requestDeleteListingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getDataExchange(GetDataExchangeRequest request)

public ListenableFuture<DataExchange> getDataExchange(GetDataExchangeRequest request)

Gets details of a single DataExchange.

Parameter
NameDescription
requestGetDataExchangeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<DataExchange>

getIamPolicy(GetIamPolicyRequest request)

public ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request)

Gets the IAM policy for a dataExchange or a listing.

Parameter
NameDescription
requestcom.google.iam.v1.GetIamPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>

getListing(GetListingRequest request)

public ListenableFuture<Listing> getListing(GetListingRequest request)

Gets details of a single Listing.

Parameter
NameDescription
requestGetListingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Listing>

listDataExchanges(ListDataExchangesRequest request)

public ListenableFuture<ListDataExchangesResponse> listDataExchanges(ListDataExchangesRequest request)

Lists DataExchanges in a given project and location.

Parameter
NameDescription
requestListDataExchangesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListDataExchangesResponse>

listListings(ListListingsRequest request)

public ListenableFuture<ListListingsResponse> listListings(ListListingsRequest request)

Lists Listings in a given project and location.

Parameter
NameDescription
requestListListingsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListListingsResponse>

listOrgDataExchanges(ListOrgDataExchangesRequest request)

public ListenableFuture<ListOrgDataExchangesResponse> listOrgDataExchanges(ListOrgDataExchangesRequest request)

Lists DataExchanges from projects in a given organization and location.

Parameter
NameDescription
requestListOrgDataExchangesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListOrgDataExchangesResponse>

setIamPolicy(SetIamPolicyRequest request)

public ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request)

Sets the IAM policy for a dataExchange or a listing.

Parameter
NameDescription
requestcom.google.iam.v1.SetIamPolicyRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.Policy>

subscribeListing(SubscribeListingRequest request)

public ListenableFuture<SubscribeListingResponse> subscribeListing(SubscribeListingRequest request)

Subscribes to a single Listing. Data Exchange currently supports one type of Listing: a BigQuery dataset. Upon subscription to a Listing for a BigQuery dataset, Data Exchange creates a linked dataset in the subscriber's project.

Parameter
NameDescription
requestSubscribeListingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SubscribeListingResponse>

testIamPermissions(TestIamPermissionsRequest request)

public ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request)

Returns the permissions that a caller has on a specified dataExchange or listing.

Parameter
NameDescription
requestcom.google.iam.v1.TestIamPermissionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<com.google.iam.v1.TestIamPermissionsResponse>

updateDataExchange(UpdateDataExchangeRequest request)

public ListenableFuture<DataExchange> updateDataExchange(UpdateDataExchangeRequest request)

Updates the parameters of a single DataExchange.

Parameter
NameDescription
requestUpdateDataExchangeRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<DataExchange>

updateListing(UpdateListingRequest request)

public ListenableFuture<Listing> updateListing(UpdateListingRequest request)

Updates the parameters of a single Listing.

Parameter
NameDescription
requestUpdateListingRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Listing>