[BindServiceMethod(typeof(AnalyticsHubService), "BindService")]
public abstract class AnalyticsHubServiceBase
Base class for server-side implementations of AnalyticsHubService
Namespace
Google.Cloud.BigQuery.DataExchange.V1Beta1Assembly
Google.Cloud.BigQuery.DataExchange.V1Beta1.dll
Methods
CreateDataExchange(CreateDataExchangeRequest, ServerCallContext)
public virtual Task<DataExchange> CreateDataExchange(CreateDataExchangeRequest request, ServerCallContext context)
Creates a new DataExchange in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateDataExchangeRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<DataExchange> | The response to send back to the client (wrapped by a task). |
CreateListing(CreateListingRequest, ServerCallContext)
public virtual Task<Listing> CreateListing(CreateListingRequest request, ServerCallContext context)
Creates a new Listing in a given project and location.
Parameters | |
---|---|
Name | Description |
request | CreateListingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Listing> | The response to send back to the client (wrapped by a task). |
DeleteDataExchange(DeleteDataExchangeRequest, ServerCallContext)
public virtual Task<Empty> DeleteDataExchange(DeleteDataExchangeRequest request, ServerCallContext context)
Deletes a single DataExchange.
Parameters | |
---|---|
Name | Description |
request | DeleteDataExchangeRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Empty> | The response to send back to the client (wrapped by a task). |
DeleteListing(DeleteListingRequest, ServerCallContext)
public virtual Task<Empty> DeleteListing(DeleteListingRequest request, ServerCallContext context)
Deletes a single Listing, as long as there are no subscriptions associated with the source of this Listing.
Parameters | |
---|---|
Name | Description |
request | DeleteListingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Empty> | The response to send back to the client (wrapped by a task). |
GetDataExchange(GetDataExchangeRequest, ServerCallContext)
public virtual Task<DataExchange> GetDataExchange(GetDataExchangeRequest request, ServerCallContext context)
Gets details of a single DataExchange.
Parameters | |
---|---|
Name | Description |
request | GetDataExchangeRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<DataExchange> | The response to send back to the client (wrapped by a task). |
GetIamPolicy(GetIamPolicyRequest, ServerCallContext)
public virtual Task<Policy> GetIamPolicy(GetIamPolicyRequest request, ServerCallContext context)
Gets the IAM policy for a dataExchange or a listing.
Parameters | |
---|---|
Name | Description |
request | GetIamPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Policy> | The response to send back to the client (wrapped by a task). |
GetListing(GetListingRequest, ServerCallContext)
public virtual Task<Listing> GetListing(GetListingRequest request, ServerCallContext context)
Gets details of a single Listing.
Parameters | |
---|---|
Name | Description |
request | GetListingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Listing> | The response to send back to the client (wrapped by a task). |
ListDataExchanges(ListDataExchangesRequest, ServerCallContext)
public virtual Task<ListDataExchangesResponse> ListDataExchanges(ListDataExchangesRequest request, ServerCallContext context)
Lists DataExchanges in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListDataExchangesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListDataExchangesResponse> | The response to send back to the client (wrapped by a task). |
ListListings(ListListingsRequest, ServerCallContext)
public virtual Task<ListListingsResponse> ListListings(ListListingsRequest request, ServerCallContext context)
Lists Listings in a given project and location.
Parameters | |
---|---|
Name | Description |
request | ListListingsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListListingsResponse> | The response to send back to the client (wrapped by a task). |
ListOrgDataExchanges(ListOrgDataExchangesRequest, ServerCallContext)
public virtual Task<ListOrgDataExchangesResponse> ListOrgDataExchanges(ListOrgDataExchangesRequest request, ServerCallContext context)
Lists DataExchanges from projects in a given organization and location.
Parameters | |
---|---|
Name | Description |
request | ListOrgDataExchangesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListOrgDataExchangesResponse> | The response to send back to the client (wrapped by a task). |
SetIamPolicy(SetIamPolicyRequest, ServerCallContext)
public virtual Task<Policy> SetIamPolicy(SetIamPolicyRequest request, ServerCallContext context)
Sets the IAM policy for a dataExchange or a listing.
Parameters | |
---|---|
Name | Description |
request | SetIamPolicyRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Policy> | The response to send back to the client (wrapped by a task). |
SubscribeListing(SubscribeListingRequest, ServerCallContext)
public virtual Task<SubscribeListingResponse> SubscribeListing(SubscribeListingRequest request, ServerCallContext context)
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.
Parameters | |
---|---|
Name | Description |
request | SubscribeListingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<SubscribeListingResponse> | The response to send back to the client (wrapped by a task). |
TestIamPermissions(TestIamPermissionsRequest, ServerCallContext)
public virtual Task<TestIamPermissionsResponse> TestIamPermissions(TestIamPermissionsRequest request, ServerCallContext context)
Returns the permissions that a caller has on a specified dataExchange or listing.
Parameters | |
---|---|
Name | Description |
request | TestIamPermissionsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<TestIamPermissionsResponse> | The response to send back to the client (wrapped by a task). |
UpdateDataExchange(UpdateDataExchangeRequest, ServerCallContext)
public virtual Task<DataExchange> UpdateDataExchange(UpdateDataExchangeRequest request, ServerCallContext context)
Updates the parameters of a single DataExchange.
Parameters | |
---|---|
Name | Description |
request | UpdateDataExchangeRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<DataExchange> | The response to send back to the client (wrapped by a task). |
UpdateListing(UpdateListingRequest, ServerCallContext)
public virtual Task<Listing> UpdateListing(UpdateListingRequest request, ServerCallContext context)
Updates the parameters of a single Listing.
Parameters | |
---|---|
Name | Description |
request | UpdateListingRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Listing> | The response to send back to the client (wrapped by a task). |