Class AnalyticsHubService.AnalyticsHubServiceClient (1.0.0-beta01)

public class AnalyticsHubServiceClient : ClientBase<AnalyticsHubService.AnalyticsHubServiceClient>

Client for AnalyticsHubService

Inheritance

Object > ClientBase > ClientBase<AnalyticsHubService.AnalyticsHubServiceClient> > 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
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

AnalyticsHubServiceClient(ChannelBase)

public AnalyticsHubServiceClient(ChannelBase channel)

Creates a new client for AnalyticsHubService

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

AnalyticsHubServiceClient(ClientBase.ClientBaseConfiguration)

protected AnalyticsHubServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateDataExchange(CreateDataExchangeRequest, CallOptions)

public virtual DataExchange CreateDataExchange(CreateDataExchangeRequest request, CallOptions options)

Creates a new DataExchange in a given project and location.

Parameters
Name Description
request CreateDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DataExchange

The response received from the server.

CreateDataExchange(CreateDataExchangeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a new DataExchange in a given project and location.

Parameters
Name Description
request CreateDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DataExchange

The response received from the server.

CreateDataExchangeAsync(CreateDataExchangeRequest, CallOptions)

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

Creates a new DataExchange in a given project and location.

Parameters
Name Description
request CreateDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<DataExchange>

The call object.

CreateDataExchangeAsync(CreateDataExchangeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a new DataExchange in a given project and location.

Parameters
Name Description
request CreateDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<DataExchange>

The call object.

CreateListing(CreateListingRequest, CallOptions)

public virtual Listing CreateListing(CreateListingRequest request, CallOptions options)

Creates a new Listing in a given project and location.

Parameters
Name Description
request CreateListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Listing

The response received from the server.

CreateListing(CreateListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a new Listing in a given project and location.

Parameters
Name Description
request CreateListingRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Listing

The response received from the server.

CreateListingAsync(CreateListingRequest, CallOptions)

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

Creates a new Listing in a given project and location.

Parameters
Name Description
request CreateListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Listing>

The call object.

CreateListingAsync(CreateListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Creates a new Listing in a given project and location.

Parameters
Name Description
request CreateListingRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Listing>

The call object.

DeleteDataExchange(DeleteDataExchangeRequest, CallOptions)

public virtual Empty DeleteDataExchange(DeleteDataExchangeRequest request, CallOptions options)

Deletes a single DataExchange.

Parameters
Name Description
request DeleteDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteDataExchange(DeleteDataExchangeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes a single DataExchange.

Parameters
Name Description
request DeleteDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteDataExchangeAsync(DeleteDataExchangeRequest, CallOptions)

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

Deletes a single DataExchange.

Parameters
Name Description
request DeleteDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

DeleteDataExchangeAsync(DeleteDataExchangeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Deletes a single DataExchange.

Parameters
Name Description
request DeleteDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

DeleteListing(DeleteListingRequest, CallOptions)

public virtual Empty DeleteListing(DeleteListingRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteListing(DeleteListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteListingAsync(DeleteListingRequest, CallOptions)

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

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

DeleteListingAsync(DeleteListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

GetDataExchange(GetDataExchangeRequest, CallOptions)

public virtual DataExchange GetDataExchange(GetDataExchangeRequest request, CallOptions options)

Gets details of a single DataExchange.

Parameters
Name Description
request GetDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DataExchange

The response received from the server.

GetDataExchange(GetDataExchangeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets details of a single DataExchange.

Parameters
Name Description
request GetDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DataExchange

The response received from the server.

GetDataExchangeAsync(GetDataExchangeRequest, CallOptions)

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

Gets details of a single DataExchange.

Parameters
Name Description
request GetDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<DataExchange>

The call object.

GetDataExchangeAsync(GetDataExchangeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets details of a single DataExchange.

Parameters
Name Description
request GetDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<DataExchange>

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy for a dataExchange or a listing.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Policy

The response received from the server.

GetIamPolicy(GetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets the IAM policy for a dataExchange or a listing.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Policy

The response received from the server.

GetIamPolicyAsync(GetIamPolicyRequest, CallOptions)

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

Gets the IAM policy for a dataExchange or a listing.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Policy>

The call object.

GetIamPolicyAsync(GetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets the IAM policy for a dataExchange or a listing.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Policy>

The call object.

GetListing(GetListingRequest, CallOptions)

public virtual Listing GetListing(GetListingRequest request, CallOptions options)

Gets details of a single Listing.

Parameters
Name Description
request GetListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Listing

The response received from the server.

GetListing(GetListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets details of a single Listing.

Parameters
Name Description
request GetListingRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Listing

The response received from the server.

GetListingAsync(GetListingRequest, CallOptions)

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

Gets details of a single Listing.

Parameters
Name Description
request GetListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Listing>

The call object.

GetListingAsync(GetListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Gets details of a single Listing.

Parameters
Name Description
request GetListingRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Listing>

The call object.

ListDataExchanges(ListDataExchangesRequest, CallOptions)

public virtual ListDataExchangesResponse ListDataExchanges(ListDataExchangesRequest request, CallOptions options)

Lists DataExchanges in a given project and location.

Parameters
Name Description
request ListDataExchangesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListDataExchangesResponse

The response received from the server.

ListDataExchanges(ListDataExchangesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists DataExchanges in a given project and location.

Parameters
Name Description
request ListDataExchangesRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListDataExchangesResponse

The response received from the server.

ListDataExchangesAsync(ListDataExchangesRequest, CallOptions)

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

Lists DataExchanges in a given project and location.

Parameters
Name Description
request ListDataExchangesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListDataExchangesResponse>

The call object.

ListDataExchangesAsync(ListDataExchangesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists DataExchanges in a given project and location.

Parameters
Name Description
request ListDataExchangesRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListDataExchangesResponse>

The call object.

ListListings(ListListingsRequest, CallOptions)

public virtual ListListingsResponse ListListings(ListListingsRequest request, CallOptions options)

Lists Listings in a given project and location.

Parameters
Name Description
request ListListingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListListingsResponse

The response received from the server.

ListListings(ListListingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists Listings in a given project and location.

Parameters
Name Description
request ListListingsRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListListingsResponse

The response received from the server.

ListListingsAsync(ListListingsRequest, CallOptions)

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

Lists Listings in a given project and location.

Parameters
Name Description
request ListListingsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListListingsResponse>

The call object.

ListListingsAsync(ListListingsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists Listings in a given project and location.

Parameters
Name Description
request ListListingsRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListListingsResponse>

The call object.

ListOrgDataExchanges(ListOrgDataExchangesRequest, CallOptions)

public virtual ListOrgDataExchangesResponse ListOrgDataExchanges(ListOrgDataExchangesRequest request, CallOptions options)

Lists DataExchanges from projects in a given organization and location.

Parameters
Name Description
request ListOrgDataExchangesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListOrgDataExchangesResponse

The response received from the server.

ListOrgDataExchanges(ListOrgDataExchangesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists DataExchanges from projects in a given organization and location.

Parameters
Name Description
request ListOrgDataExchangesRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListOrgDataExchangesResponse

The response received from the server.

ListOrgDataExchangesAsync(ListOrgDataExchangesRequest, CallOptions)

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

Lists DataExchanges from projects in a given organization and location.

Parameters
Name Description
request ListOrgDataExchangesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListOrgDataExchangesResponse>

The call object.

ListOrgDataExchangesAsync(ListOrgDataExchangesRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Lists DataExchanges from projects in a given organization and location.

Parameters
Name Description
request ListOrgDataExchangesRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListOrgDataExchangesResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBase.ClientBaseConfiguration
Returns
Type Description
AnalyticsHubService.AnalyticsHubServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.BigQuery.DataExchange.V1Beta1.AnalyticsHubService.AnalyticsHubServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Sets the IAM policy for a dataExchange or a listing.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Policy

The response received from the server.

SetIamPolicy(SetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Sets the IAM policy for a dataExchange or a listing.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Policy

The response received from the server.

SetIamPolicyAsync(SetIamPolicyRequest, CallOptions)

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

Sets the IAM policy for a dataExchange or a listing.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Policy>

The call object.

SetIamPolicyAsync(SetIamPolicyRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Sets the IAM policy for a dataExchange or a listing.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Policy>

The call object.

SubscribeListing(SubscribeListingRequest, CallOptions)

public virtual SubscribeListingResponse SubscribeListing(SubscribeListingRequest request, CallOptions options)

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
SubscribeListingResponse

The response received from the server.

SubscribeListing(SubscribeListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
SubscribeListingResponse

The response received from the server.

SubscribeListingAsync(SubscribeListingRequest, CallOptions)

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

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 to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<SubscribeListingResponse>

The call object.

SubscribeListingAsync(SubscribeListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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 to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<SubscribeListingResponse>

The call object.

TestIamPermissions(TestIamPermissionsRequest, CallOptions)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallOptions options)

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

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
TestIamPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
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 on a specified dataExchange or listing.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<TestIamPermissionsResponse>

The call object.

TestIamPermissionsAsync(TestIamPermissionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

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

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<TestIamPermissionsResponse>

The call object.

UpdateDataExchange(UpdateDataExchangeRequest, CallOptions)

public virtual DataExchange UpdateDataExchange(UpdateDataExchangeRequest request, CallOptions options)

Updates the parameters of a single DataExchange.

Parameters
Name Description
request UpdateDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
DataExchange

The response received from the server.

UpdateDataExchange(UpdateDataExchangeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the parameters of a single DataExchange.

Parameters
Name Description
request UpdateDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
DataExchange

The response received from the server.

UpdateDataExchangeAsync(UpdateDataExchangeRequest, CallOptions)

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

Updates the parameters of a single DataExchange.

Parameters
Name Description
request UpdateDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<DataExchange>

The call object.

UpdateDataExchangeAsync(UpdateDataExchangeRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the parameters of a single DataExchange.

Parameters
Name Description
request UpdateDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<DataExchange>

The call object.

UpdateListing(UpdateListingRequest, CallOptions)

public virtual Listing UpdateListing(UpdateListingRequest request, CallOptions options)

Updates the parameters of a single Listing.

Parameters
Name Description
request UpdateListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Listing

The response received from the server.

UpdateListing(UpdateListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the parameters of a single Listing.

Parameters
Name Description
request UpdateListingRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Listing

The response received from the server.

UpdateListingAsync(UpdateListingRequest, CallOptions)

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

Updates the parameters of a single Listing.

Parameters
Name Description
request UpdateListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCall<Listing>

The call object.

UpdateListingAsync(UpdateListingRequest, Metadata, Nullable<DateTime>, CancellationToken)

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

Updates the parameters of a single Listing.

Parameters
Name Description
request UpdateListingRequest

The request to send to the server.

headers Metadata

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

deadline Nullable<DateTime>

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Listing>

The call object.