public sealed class AnalyticsHubServiceClientImpl : AnalyticsHubServiceClientAnalyticsHubService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.BigQuery.DataExchange.V1Beta1Assembly
Google.Cloud.BigQuery.DataExchange.V1Beta1.dll
Remarks
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.
Constructors
AnalyticsHubServiceClientImpl(AnalyticsHubService.AnalyticsHubServiceClient, AnalyticsHubServiceSettings)
public AnalyticsHubServiceClientImpl(AnalyticsHubService.AnalyticsHubServiceClient grpcClient, AnalyticsHubServiceSettings settings)Constructs a client wrapper for the AnalyticsHubService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description |
grpcClient |
AnalyticsHubService.AnalyticsHubServiceClientThe underlying gRPC client. |
settings |
AnalyticsHubServiceSettingsThe base AnalyticsHubServiceSettings used within this client. |
Properties
GrpcClient
public override AnalyticsHubService.AnalyticsHubServiceClient GrpcClient { get; }The underlying gRPC AnalyticsHubService client
| Property Value | |
|---|---|
| Type | Description |
AnalyticsHubService.AnalyticsHubServiceClient |
|
Methods
CreateDataExchange(CreateDataExchangeRequest, CallSettings)
public override DataExchange CreateDataExchange(CreateDataExchangeRequest request, CallSettings callSettings = null)Creates a new DataExchange in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDataExchangeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataExchange |
The RPC response. |
CreateDataExchangeAsync(CreateDataExchangeRequest, CallSettings)
public override Task<DataExchange> CreateDataExchangeAsync(CreateDataExchangeRequest request, CallSettings callSettings = null)Creates a new DataExchange in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateDataExchangeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<DataExchange> |
A Task containing the RPC response. |
CreateListing(CreateListingRequest, CallSettings)
public override Listing CreateListing(CreateListingRequest request, CallSettings callSettings = null)Creates a new Listing in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Listing |
The RPC response. |
CreateListingAsync(CreateListingRequest, CallSettings)
public override Task<Listing> CreateListingAsync(CreateListingRequest request, CallSettings callSettings = null)Creates a new Listing in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
CreateListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Listing> |
A Task containing the RPC response. |
DeleteDataExchange(DeleteDataExchangeRequest, CallSettings)
public override void DeleteDataExchange(DeleteDataExchangeRequest request, CallSettings callSettings = null)Deletes a single DataExchange.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDataExchangeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteDataExchangeAsync(DeleteDataExchangeRequest, CallSettings)
public override Task DeleteDataExchangeAsync(DeleteDataExchangeRequest request, CallSettings callSettings = null)Deletes a single DataExchange.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteDataExchangeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
DeleteListing(DeleteListingRequest, CallSettings)
public override void DeleteListing(DeleteListingRequest request, CallSettings callSettings = null)Deletes a single Listing, as long as there are no subscriptions associated with the source of this Listing.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
DeleteListingAsync(DeleteListingRequest, CallSettings)
public override Task DeleteListingAsync(DeleteListingRequest request, CallSettings callSettings = null)Deletes a single Listing, as long as there are no subscriptions associated with the source of this Listing.
| Parameters | |
|---|---|
| Name | Description |
request |
DeleteListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task |
A Task containing the RPC response. |
GetDataExchange(GetDataExchangeRequest, CallSettings)
public override DataExchange GetDataExchange(GetDataExchangeRequest request, CallSettings callSettings = null)Gets details of a single DataExchange.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataExchangeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataExchange |
The RPC response. |
GetDataExchangeAsync(GetDataExchangeRequest, CallSettings)
public override Task<DataExchange> GetDataExchangeAsync(GetDataExchangeRequest request, CallSettings callSettings = null)Gets details of a single DataExchange.
| Parameters | |
|---|---|
| Name | Description |
request |
GetDataExchangeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<DataExchange> |
A Task containing the RPC response. |
GetIamPolicy(GetIamPolicyRequest, CallSettings)
public override Policy GetIamPolicy(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the IAM policy for a dataExchange or a listing.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
GetIamPolicyAsync(GetIamPolicyRequest, CallSettings)
public override Task<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallSettings callSettings = null)Gets the IAM policy for a dataExchange or a listing.
| Parameters | |
|---|---|
| Name | Description |
request |
GetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Policy> |
A Task containing the RPC response. |
GetListing(GetListingRequest, CallSettings)
public override Listing GetListing(GetListingRequest request, CallSettings callSettings = null)Gets details of a single Listing.
| Parameters | |
|---|---|
| Name | Description |
request |
GetListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Listing |
The RPC response. |
GetListingAsync(GetListingRequest, CallSettings)
public override Task<Listing> GetListingAsync(GetListingRequest request, CallSettings callSettings = null)Gets details of a single Listing.
| Parameters | |
|---|---|
| Name | Description |
request |
GetListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Listing> |
A Task containing the RPC response. |
ListDataExchanges(ListDataExchangesRequest, CallSettings)
public override PagedEnumerable<ListDataExchangesResponse, DataExchange> ListDataExchanges(ListDataExchangesRequest request, CallSettings callSettings = null)Lists DataExchanges in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDataExchangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListDataExchangesResponse, DataExchange> |
A pageable sequence of DataExchange resources. |
ListDataExchangesAsync(ListDataExchangesRequest, CallSettings)
public override PagedAsyncEnumerable<ListDataExchangesResponse, DataExchange> ListDataExchangesAsync(ListDataExchangesRequest request, CallSettings callSettings = null)Lists DataExchanges in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListDataExchangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListDataExchangesResponse, DataExchange> |
A pageable asynchronous sequence of DataExchange resources. |
ListListings(ListListingsRequest, CallSettings)
public override PagedEnumerable<ListListingsResponse, Listing> ListListings(ListListingsRequest request, CallSettings callSettings = null)Lists Listings in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListListingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListListingsResponse, Listing> |
A pageable sequence of Listing resources. |
ListListingsAsync(ListListingsRequest, CallSettings)
public override PagedAsyncEnumerable<ListListingsResponse, Listing> ListListingsAsync(ListListingsRequest request, CallSettings callSettings = null)Lists Listings in a given project and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListListingsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListListingsResponse, Listing> |
A pageable asynchronous sequence of Listing resources. |
ListOrgDataExchanges(ListOrgDataExchangesRequest, CallSettings)
public override PagedEnumerable<ListOrgDataExchangesResponse, DataExchange> ListOrgDataExchanges(ListOrgDataExchangesRequest request, CallSettings callSettings = null)Lists DataExchanges from projects in a given organization and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOrgDataExchangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedEnumerable<ListOrgDataExchangesResponse, DataExchange> |
A pageable sequence of DataExchange resources. |
ListOrgDataExchangesAsync(ListOrgDataExchangesRequest, CallSettings)
public override PagedAsyncEnumerable<ListOrgDataExchangesResponse, DataExchange> ListOrgDataExchangesAsync(ListOrgDataExchangesRequest request, CallSettings callSettings = null)Lists DataExchanges from projects in a given organization and location.
| Parameters | |
|---|---|
| Name | Description |
request |
ListOrgDataExchangesRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
PagedAsyncEnumerable<ListOrgDataExchangesResponse, DataExchange> |
A pageable asynchronous sequence of DataExchange resources. |
SetIamPolicy(SetIamPolicyRequest, CallSettings)
public override Policy SetIamPolicy(SetIamPolicyRequest request, CallSettings callSettings = null)Sets the IAM policy for a dataExchange or a listing.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Policy |
The RPC response. |
SetIamPolicyAsync(SetIamPolicyRequest, CallSettings)
public override Task<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallSettings callSettings = null)Sets the IAM policy for a dataExchange or a listing.
| Parameters | |
|---|---|
| Name | Description |
request |
SetIamPolicyRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Policy> |
A Task containing the RPC response. |
SubscribeListing(SubscribeListingRequest, CallSettings)
public override SubscribeListingResponse SubscribeListing(SubscribeListingRequest request, CallSettings callSettings = null)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 |
SubscribeListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
SubscribeListingResponse |
The RPC response. |
SubscribeListingAsync(SubscribeListingRequest, CallSettings)
public override Task<SubscribeListingResponse> SubscribeListingAsync(SubscribeListingRequest request, CallSettings callSettings = null)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 |
SubscribeListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<SubscribeListingResponse> |
A Task containing the RPC response. |
TestIamPermissions(TestIamPermissionsRequest, CallSettings)
public override TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallSettings callSettings = null)Returns the permissions that a caller has on a specified dataExchange or listing.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
TestIamPermissionsResponse |
The RPC response. |
TestIamPermissionsAsync(TestIamPermissionsRequest, CallSettings)
public override Task<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallSettings callSettings = null)Returns the permissions that a caller has on a specified dataExchange or listing.
| Parameters | |
|---|---|
| Name | Description |
request |
TestIamPermissionsRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<TestIamPermissionsResponse> |
A Task containing the RPC response. |
UpdateDataExchange(UpdateDataExchangeRequest, CallSettings)
public override DataExchange UpdateDataExchange(UpdateDataExchangeRequest request, CallSettings callSettings = null)Updates the parameters of a single DataExchange.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataExchangeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
DataExchange |
The RPC response. |
UpdateDataExchangeAsync(UpdateDataExchangeRequest, CallSettings)
public override Task<DataExchange> UpdateDataExchangeAsync(UpdateDataExchangeRequest request, CallSettings callSettings = null)Updates the parameters of a single DataExchange.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateDataExchangeRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<DataExchange> |
A Task containing the RPC response. |
UpdateListing(UpdateListingRequest, CallSettings)
public override Listing UpdateListing(UpdateListingRequest request, CallSettings callSettings = null)Updates the parameters of a single Listing.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Listing |
The RPC response. |
UpdateListingAsync(UpdateListingRequest, CallSettings)
public override Task<Listing> UpdateListingAsync(UpdateListingRequest request, CallSettings callSettings = null)Updates the parameters of a single Listing.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateListingRequestThe request object containing all of the parameters for the API call. |
callSettings |
CallSettingsIf not null, applies overrides to this RPC call. |
| Returns | |
|---|---|
| Type | Description |
Task<Listing> |
A Task containing the RPC response. |