Analytics Hub v1beta1 API - Class AnalyticsHubService.AnalyticsHubServiceClient (2.0.0-beta04)

public class AnalyticsHubService.AnalyticsHubServiceClient : ClientBase<AnalyticsHubService.AnalyticsHubServiceClient>

Reference documentation and code samples for the Analytics Hub v1beta1 API class AnalyticsHubService.AnalyticsHubServiceClient.

Client for AnalyticsHubService

Inheritance

object > ClientBase > ClientBaseAnalyticsHubServiceAnalyticsHubServiceClient > AnalyticsHubService.AnalyticsHubServiceClient

Namespace

Google.Cloud.BigQuery.DataExchange.V1Beta1

Assembly

Google.Cloud.BigQuery.DataExchange.V1Beta1.dll

Constructors

AnalyticsHubServiceClient()

protected AnalyticsHubServiceClient()

Protected parameterless constructor to allow creation of test doubles.

AnalyticsHubServiceClient(CallInvoker)

public AnalyticsHubServiceClient(CallInvoker callInvoker)

Creates a new client for AnalyticsHubService that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AnalyticsHubServiceClient(ChannelBase)

public AnalyticsHubServiceClient(ChannelBase channel)

Creates a new client for AnalyticsHubService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AnalyticsHubServiceClient(ClientBaseConfiguration)

protected AnalyticsHubServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateDataExchange(CreateDataExchangeRequest, CallOptions)

public virtual DataExchange CreateDataExchange(CreateDataExchangeRequest request, CallOptions options)

Creates a new data exchange.

Parameters
NameDescription
requestCreateDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DataExchange

The response received from the server.

CreateDataExchange(CreateDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual DataExchange CreateDataExchange(CreateDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new data exchange.

Parameters
NameDescription
requestCreateDataExchangeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DataExchange

The response received from the server.

CreateDataExchangeAsync(CreateDataExchangeRequest, CallOptions)

public virtual AsyncUnaryCall<DataExchange> CreateDataExchangeAsync(CreateDataExchangeRequest request, CallOptions options)

Creates a new data exchange.

Parameters
NameDescription
requestCreateDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallDataExchange

The call object.

CreateDataExchangeAsync(CreateDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DataExchange> CreateDataExchangeAsync(CreateDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new data exchange.

Parameters
NameDescription
requestCreateDataExchangeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallDataExchange

The call object.

CreateListing(CreateListingRequest, CallOptions)

public virtual Listing CreateListing(CreateListingRequest request, CallOptions options)

Creates a new listing.

Parameters
NameDescription
requestCreateListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Listing

The response received from the server.

CreateListing(CreateListingRequest, Metadata, DateTime?, CancellationToken)

public virtual Listing CreateListing(CreateListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new listing.

Parameters
NameDescription
requestCreateListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Listing

The response received from the server.

CreateListingAsync(CreateListingRequest, CallOptions)

public virtual AsyncUnaryCall<Listing> CreateListingAsync(CreateListingRequest request, CallOptions options)

Creates a new listing.

Parameters
NameDescription
requestCreateListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListing

The call object.

CreateListingAsync(CreateListingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Listing> CreateListingAsync(CreateListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a new listing.

Parameters
NameDescription
requestCreateListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListing

The call object.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

DeleteDataExchange(DeleteDataExchangeRequest, CallOptions)

public virtual Empty DeleteDataExchange(DeleteDataExchangeRequest request, CallOptions options)

Deletes an existing data exchange.

Parameters
NameDescription
requestDeleteDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteDataExchange(DeleteDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteDataExchange(DeleteDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an existing data exchange.

Parameters
NameDescription
requestDeleteDataExchangeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteDataExchangeAsync(DeleteDataExchangeRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteDataExchangeAsync(DeleteDataExchangeRequest request, CallOptions options)

Deletes an existing data exchange.

Parameters
NameDescription
requestDeleteDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteDataExchangeAsync(DeleteDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteDataExchangeAsync(DeleteDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an existing data exchange.

Parameters
NameDescription
requestDeleteDataExchangeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteListing(DeleteListingRequest, CallOptions)

public virtual Empty DeleteListing(DeleteListingRequest request, CallOptions options)

Deletes a listing.

Parameters
NameDescription
requestDeleteListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteListing(DeleteListingRequest, Metadata, DateTime?, CancellationToken)

public virtual Empty DeleteListing(DeleteListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a listing.

Parameters
NameDescription
requestDeleteListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteListingAsync(DeleteListingRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteListingAsync(DeleteListingRequest request, CallOptions options)

Deletes a listing.

Parameters
NameDescription
requestDeleteListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

DeleteListingAsync(DeleteListingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteListingAsync(DeleteListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a listing.

Parameters
NameDescription
requestDeleteListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallEmpty

The call object.

GetDataExchange(GetDataExchangeRequest, CallOptions)

public virtual DataExchange GetDataExchange(GetDataExchangeRequest request, CallOptions options)

Gets the details of a data exchange.

Parameters
NameDescription
requestGetDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DataExchange

The response received from the server.

GetDataExchange(GetDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual DataExchange GetDataExchange(GetDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a data exchange.

Parameters
NameDescription
requestGetDataExchangeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DataExchange

The response received from the server.

GetDataExchangeAsync(GetDataExchangeRequest, CallOptions)

public virtual AsyncUnaryCall<DataExchange> GetDataExchangeAsync(GetDataExchangeRequest request, CallOptions options)

Gets the details of a data exchange.

Parameters
NameDescription
requestGetDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallDataExchange

The call object.

GetDataExchangeAsync(GetDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DataExchange> GetDataExchangeAsync(GetDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a data exchange.

Parameters
NameDescription
requestGetDataExchangeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallDataExchange

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the IAM policy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Policy

The response received from the server.

GetIamPolicyAsync(GetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

GetIamPolicyAsync(GetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> GetIamPolicyAsync(GetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the IAM policy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

GetListing(GetListingRequest, CallOptions)

public virtual Listing GetListing(GetListingRequest request, CallOptions options)

Gets the details of a listing.

Parameters
NameDescription
requestGetListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Listing

The response received from the server.

GetListing(GetListingRequest, Metadata, DateTime?, CancellationToken)

public virtual Listing GetListing(GetListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a listing.

Parameters
NameDescription
requestGetListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Listing

The response received from the server.

GetListingAsync(GetListingRequest, CallOptions)

public virtual AsyncUnaryCall<Listing> GetListingAsync(GetListingRequest request, CallOptions options)

Gets the details of a listing.

Parameters
NameDescription
requestGetListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListing

The call object.

GetListingAsync(GetListingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Listing> GetListingAsync(GetListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a listing.

Parameters
NameDescription
requestGetListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListing

The call object.

ListDataExchanges(ListDataExchangesRequest, CallOptions)

public virtual ListDataExchangesResponse ListDataExchanges(ListDataExchangesRequest request, CallOptions options)

Lists all data exchanges in a given project and location.

Parameters
NameDescription
requestListDataExchangesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDataExchangesResponse

The response received from the server.

ListDataExchanges(ListDataExchangesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListDataExchangesResponse ListDataExchanges(ListDataExchangesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all data exchanges in a given project and location.

Parameters
NameDescription
requestListDataExchangesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDataExchangesResponse

The response received from the server.

ListDataExchangesAsync(ListDataExchangesRequest, CallOptions)

public virtual AsyncUnaryCall<ListDataExchangesResponse> ListDataExchangesAsync(ListDataExchangesRequest request, CallOptions options)

Lists all data exchanges in a given project and location.

Parameters
NameDescription
requestListDataExchangesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListDataExchangesResponse

The call object.

ListDataExchangesAsync(ListDataExchangesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListDataExchangesResponse> ListDataExchangesAsync(ListDataExchangesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all data exchanges in a given project and location.

Parameters
NameDescription
requestListDataExchangesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListDataExchangesResponse

The call object.

ListListings(ListListingsRequest, CallOptions)

public virtual ListListingsResponse ListListings(ListListingsRequest request, CallOptions options)

Lists all listings in a given project and location.

Parameters
NameDescription
requestListListingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListListingsResponse

The response received from the server.

ListListings(ListListingsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListListingsResponse ListListings(ListListingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all listings in a given project and location.

Parameters
NameDescription
requestListListingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListListingsResponse

The response received from the server.

ListListingsAsync(ListListingsRequest, CallOptions)

public virtual AsyncUnaryCall<ListListingsResponse> ListListingsAsync(ListListingsRequest request, CallOptions options)

Lists all listings in a given project and location.

Parameters
NameDescription
requestListListingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListListingsResponse

The call object.

ListListingsAsync(ListListingsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListListingsResponse> ListListingsAsync(ListListingsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all listings in a given project and location.

Parameters
NameDescription
requestListListingsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListListingsResponse

The call object.

ListOrgDataExchanges(ListOrgDataExchangesRequest, CallOptions)

public virtual ListOrgDataExchangesResponse ListOrgDataExchanges(ListOrgDataExchangesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListOrgDataExchangesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListOrgDataExchangesResponse

The response received from the server.

ListOrgDataExchanges(ListOrgDataExchangesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListOrgDataExchangesResponse ListOrgDataExchanges(ListOrgDataExchangesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListOrgDataExchangesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListOrgDataExchangesResponse

The response received from the server.

ListOrgDataExchangesAsync(ListOrgDataExchangesRequest, CallOptions)

public virtual AsyncUnaryCall<ListOrgDataExchangesResponse> ListOrgDataExchangesAsync(ListOrgDataExchangesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListOrgDataExchangesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListOrgDataExchangesResponse

The call object.

ListOrgDataExchangesAsync(ListOrgDataExchangesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListOrgDataExchangesResponse> ListOrgDataExchangesAsync(ListOrgDataExchangesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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

Parameters
NameDescription
requestListOrgDataExchangesRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListOrgDataExchangesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override AnalyticsHubService.AnalyticsHubServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
AnalyticsHubServiceAnalyticsHubServiceClient
Overrides

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Sets the IAM policy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the IAM policy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Policy

The response received from the server.

SetIamPolicyAsync(SetIamPolicyRequest, CallOptions)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, CallOptions options)

Sets the IAM policy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

SetIamPolicyAsync(SetIamPolicyRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Policy> SetIamPolicyAsync(SetIamPolicyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Sets the IAM policy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallPolicy

The call object.

SubscribeListing(SubscribeListingRequest, CallOptions)

public virtual SubscribeListingResponse SubscribeListing(SubscribeListingRequest request, CallOptions options)

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.

Parameters
NameDescription
requestSubscribeListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SubscribeListingResponse

The response received from the server.

SubscribeListing(SubscribeListingRequest, Metadata, DateTime?, CancellationToken)

public virtual SubscribeListingResponse SubscribeListing(SubscribeListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
NameDescription
requestSubscribeListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SubscribeListingResponse

The response received from the server.

SubscribeListingAsync(SubscribeListingRequest, CallOptions)

public virtual AsyncUnaryCall<SubscribeListingResponse> SubscribeListingAsync(SubscribeListingRequest request, CallOptions options)

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.

Parameters
NameDescription
requestSubscribeListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallSubscribeListingResponse

The call object.

SubscribeListingAsync(SubscribeListingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<SubscribeListingResponse> SubscribeListingAsync(SubscribeListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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.

Parameters
NameDescription
requestSubscribeListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallSubscribeListingResponse

The call object.

TestIamPermissions(TestIamPermissionsRequest, CallOptions)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallOptions options)

Returns the permissions that a caller has.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestIamPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the permissions that a caller has.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TestIamPermissionsResponse

The response received from the server.

TestIamPermissionsAsync(TestIamPermissionsRequest, CallOptions)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, CallOptions options)

Returns the permissions that a caller has.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallTestIamPermissionsResponse

The call object.

TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<TestIamPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Returns the permissions that a caller has.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallTestIamPermissionsResponse

The call object.

UpdateDataExchange(UpdateDataExchangeRequest, CallOptions)

public virtual DataExchange UpdateDataExchange(UpdateDataExchangeRequest request, CallOptions options)

Updates an existing data exchange.

Parameters
NameDescription
requestUpdateDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DataExchange

The response received from the server.

UpdateDataExchange(UpdateDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual DataExchange UpdateDataExchange(UpdateDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an existing data exchange.

Parameters
NameDescription
requestUpdateDataExchangeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DataExchange

The response received from the server.

UpdateDataExchangeAsync(UpdateDataExchangeRequest, CallOptions)

public virtual AsyncUnaryCall<DataExchange> UpdateDataExchangeAsync(UpdateDataExchangeRequest request, CallOptions options)

Updates an existing data exchange.

Parameters
NameDescription
requestUpdateDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallDataExchange

The call object.

UpdateDataExchangeAsync(UpdateDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<DataExchange> UpdateDataExchangeAsync(UpdateDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an existing data exchange.

Parameters
NameDescription
requestUpdateDataExchangeRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallDataExchange

The call object.

UpdateListing(UpdateListingRequest, CallOptions)

public virtual Listing UpdateListing(UpdateListingRequest request, CallOptions options)

Updates an existing listing.

Parameters
NameDescription
requestUpdateListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Listing

The response received from the server.

UpdateListing(UpdateListingRequest, Metadata, DateTime?, CancellationToken)

public virtual Listing UpdateListing(UpdateListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an existing listing.

Parameters
NameDescription
requestUpdateListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Listing

The response received from the server.

UpdateListingAsync(UpdateListingRequest, CallOptions)

public virtual AsyncUnaryCall<Listing> UpdateListingAsync(UpdateListingRequest request, CallOptions options)

Updates an existing listing.

Parameters
NameDescription
requestUpdateListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListing

The call object.

UpdateListingAsync(UpdateListingRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Listing> UpdateListingAsync(UpdateListingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Updates an existing listing.

Parameters
NameDescription
requestUpdateListingRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListing

The call object.