Analytics Hub v1 API - Class AnalyticsHubService.AnalyticsHubServiceClient (1.6.0)

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

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

Client for AnalyticsHubService

Inheritance

object > ClientBase > ClientBaseAnalyticsHubServiceAnalyticsHubServiceClient > AnalyticsHubService.AnalyticsHubServiceClient

Namespace

Google.Cloud.BigQuery.AnalyticsHub.V1

Assembly

Google.Cloud.BigQuery.AnalyticsHub.V1.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(ClientBaseConfiguration)

protected AnalyticsHubServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateDataExchange(CreateDataExchangeRequest, CallOptions)

public virtual DataExchange CreateDataExchange(CreateDataExchangeRequest request, CallOptions options)

Creates a new data exchange.

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, DateTime?, CancellationToken)

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

Creates a new data exchange.

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 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 data exchange.

Parameters
Name Description
request CreateDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallDataExchange

The call object.

CreateListing(CreateListingRequest, CallOptions)

public virtual Listing CreateListing(CreateListingRequest request, CallOptions options)

Creates a new listing.

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, DateTime?, CancellationToken)

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

Creates a new listing.

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 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.

Parameters
Name Description
request CreateListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallListing

The call object.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
Type Description
OperationsOperationsClient

A new Operations client for the same target as this client.

DeleteDataExchange(DeleteDataExchangeRequest, CallOptions)

public virtual Empty DeleteDataExchange(DeleteDataExchangeRequest request, CallOptions options)

Deletes an existing data exchange.

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, DateTime?, CancellationToken)

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

Deletes an existing data exchange.

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 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 an existing data exchange.

Parameters
Name Description
request DeleteDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallEmpty

The call object.

DeleteListing(DeleteListingRequest, CallOptions)

public virtual Empty DeleteListing(DeleteListingRequest request, CallOptions options)

Deletes a 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, DateTime?, CancellationToken)

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

Deletes a 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 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 listing.

Parameters
Name Description
request DeleteListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallEmpty

The call object.

DeleteSubscription(DeleteSubscriptionRequest, CallOptions)

public virtual Operation DeleteSubscription(DeleteSubscriptionRequest request, CallOptions options)

Deletes a subscription.

Parameters
Name Description
request DeleteSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteSubscription(DeleteSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteSubscription(DeleteSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a subscription.

Parameters
Name Description
request DeleteSubscriptionRequest

The request to send to the server.

headers Metadata

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

deadline 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
Operation

The response received from the server.

DeleteSubscriptionAsync(DeleteSubscriptionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteSubscriptionAsync(DeleteSubscriptionRequest request, CallOptions options)

Deletes a subscription.

Parameters
Name Description
request DeleteSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteSubscriptionAsync(DeleteSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteSubscriptionAsync(DeleteSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes a subscription.

Parameters
Name Description
request DeleteSubscriptionRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

The call object.

GetDataExchange(GetDataExchangeRequest, CallOptions)

public virtual DataExchange GetDataExchange(GetDataExchangeRequest request, CallOptions options)

Gets the details of a data exchange.

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, 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
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 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 the details of a data exchange.

Parameters
Name Description
request GetDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallDataExchange

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy.

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, DateTime?, CancellationToken)

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

Gets the IAM policy.

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 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.

Parameters
Name Description
request GetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallPolicy

The call object.

GetListing(GetListingRequest, CallOptions)

public virtual Listing GetListing(GetListingRequest request, CallOptions options)

Gets the details of a 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, DateTime?, CancellationToken)

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

Gets the details of a 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 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 the details of a listing.

Parameters
Name Description
request GetListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallListing

The call object.

GetSubscription(GetSubscriptionRequest, CallOptions)

public virtual Subscription GetSubscription(GetSubscriptionRequest request, CallOptions options)

Gets the details of a Subscription.

Parameters
Name Description
request GetSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Subscription

The response received from the server.

GetSubscription(GetSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual Subscription GetSubscription(GetSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a Subscription.

Parameters
Name Description
request GetSubscriptionRequest

The request to send to the server.

headers Metadata

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

deadline 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
Subscription

The response received from the server.

GetSubscriptionAsync(GetSubscriptionRequest, CallOptions)

public virtual AsyncUnaryCall<Subscription> GetSubscriptionAsync(GetSubscriptionRequest request, CallOptions options)

Gets the details of a Subscription.

Parameters
Name Description
request GetSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallSubscription

The call object.

GetSubscriptionAsync(GetSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Subscription> GetSubscriptionAsync(GetSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets the details of a Subscription.

Parameters
Name Description
request GetSubscriptionRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallSubscription

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
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, 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
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 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 all data exchanges 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
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
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 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
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
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, 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
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 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 all 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
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
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 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
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
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, 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
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 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 all data exchanges 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
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
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 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
AsyncUnaryCallListOrgDataExchangesResponse

The call object.

ListSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest, CallOptions)

public virtual ListSharedResourceSubscriptionsResponse ListSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest request, CallOptions options)

Lists all subscriptions on a given Data Exchange or Listing.

Parameters
Name Description
request ListSharedResourceSubscriptionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSharedResourceSubscriptionsResponse

The response received from the server.

ListSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSharedResourceSubscriptionsResponse ListSharedResourceSubscriptions(ListSharedResourceSubscriptionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all subscriptions on a given Data Exchange or Listing.

Parameters
Name Description
request ListSharedResourceSubscriptionsRequest

The request to send to the server.

headers Metadata

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

deadline 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
ListSharedResourceSubscriptionsResponse

The response received from the server.

ListSharedResourceSubscriptionsAsync(ListSharedResourceSubscriptionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSharedResourceSubscriptionsResponse> ListSharedResourceSubscriptionsAsync(ListSharedResourceSubscriptionsRequest request, CallOptions options)

Lists all subscriptions on a given Data Exchange or Listing.

Parameters
Name Description
request ListSharedResourceSubscriptionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSharedResourceSubscriptionsResponse

The call object.

ListSharedResourceSubscriptionsAsync(ListSharedResourceSubscriptionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSharedResourceSubscriptionsResponse> ListSharedResourceSubscriptionsAsync(ListSharedResourceSubscriptionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all subscriptions on a given Data Exchange or Listing.

Parameters
Name Description
request ListSharedResourceSubscriptionsRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallListSharedResourceSubscriptionsResponse

The call object.

ListSubscriptions(ListSubscriptionsRequest, CallOptions)

public virtual ListSubscriptionsResponse ListSubscriptions(ListSubscriptionsRequest request, CallOptions options)

Lists all subscriptions in a given project and location.

Parameters
Name Description
request ListSubscriptionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListSubscriptionsResponse

The response received from the server.

ListSubscriptions(ListSubscriptionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListSubscriptionsResponse ListSubscriptions(ListSubscriptionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all subscriptions in a given project and location.

Parameters
Name Description
request ListSubscriptionsRequest

The request to send to the server.

headers Metadata

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

deadline 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
ListSubscriptionsResponse

The response received from the server.

ListSubscriptionsAsync(ListSubscriptionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListSubscriptionsResponse> ListSubscriptionsAsync(ListSubscriptionsRequest request, CallOptions options)

Lists all subscriptions in a given project and location.

Parameters
Name Description
request ListSubscriptionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListSubscriptionsResponse

The call object.

ListSubscriptionsAsync(ListSubscriptionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListSubscriptionsResponse> ListSubscriptionsAsync(ListSubscriptionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists all subscriptions in a given project and location.

Parameters
Name Description
request ListSubscriptionsRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallListSubscriptionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

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

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
AnalyticsHubServiceAnalyticsHubServiceClient
Overrides

RefreshSubscription(RefreshSubscriptionRequest, CallOptions)

public virtual Operation RefreshSubscription(RefreshSubscriptionRequest request, CallOptions options)

Refreshes a Subscription to a Data Exchange. A Data Exchange can become stale when a publisher adds or removes data. This is a long-running operation as it may create many linked datasets.

Parameters
Name Description
request RefreshSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

RefreshSubscription(RefreshSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation RefreshSubscription(RefreshSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Refreshes a Subscription to a Data Exchange. A Data Exchange can become stale when a publisher adds or removes data. This is a long-running operation as it may create many linked datasets.

Parameters
Name Description
request RefreshSubscriptionRequest

The request to send to the server.

headers Metadata

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

deadline 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
Operation

The response received from the server.

RefreshSubscriptionAsync(RefreshSubscriptionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RefreshSubscriptionAsync(RefreshSubscriptionRequest request, CallOptions options)

Refreshes a Subscription to a Data Exchange. A Data Exchange can become stale when a publisher adds or removes data. This is a long-running operation as it may create many linked datasets.

Parameters
Name Description
request RefreshSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

RefreshSubscriptionAsync(RefreshSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> RefreshSubscriptionAsync(RefreshSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Refreshes a Subscription to a Data Exchange. A Data Exchange can become stale when a publisher adds or removes data. This is a long-running operation as it may create many linked datasets.

Parameters
Name Description
request RefreshSubscriptionRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

The call object.

RevokeSubscription(RevokeSubscriptionRequest, CallOptions)

public virtual RevokeSubscriptionResponse RevokeSubscription(RevokeSubscriptionRequest request, CallOptions options)

Revokes a given subscription.

Parameters
Name Description
request RevokeSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
RevokeSubscriptionResponse

The response received from the server.

RevokeSubscription(RevokeSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual RevokeSubscriptionResponse RevokeSubscription(RevokeSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Revokes a given subscription.

Parameters
Name Description
request RevokeSubscriptionRequest

The request to send to the server.

headers Metadata

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

deadline 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
RevokeSubscriptionResponse

The response received from the server.

RevokeSubscriptionAsync(RevokeSubscriptionRequest, CallOptions)

public virtual AsyncUnaryCall<RevokeSubscriptionResponse> RevokeSubscriptionAsync(RevokeSubscriptionRequest request, CallOptions options)

Revokes a given subscription.

Parameters
Name Description
request RevokeSubscriptionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallRevokeSubscriptionResponse

The call object.

RevokeSubscriptionAsync(RevokeSubscriptionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<RevokeSubscriptionResponse> RevokeSubscriptionAsync(RevokeSubscriptionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Revokes a given subscription.

Parameters
Name Description
request RevokeSubscriptionRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallRevokeSubscriptionResponse

The call object.

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Sets the IAM policy.

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, DateTime?, CancellationToken)

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

Sets the IAM policy.

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 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.

Parameters
Name Description
request SetIamPolicyRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallPolicy

The call object.

SubscribeDataExchange(SubscribeDataExchangeRequest, CallOptions)

public virtual Operation SubscribeDataExchange(SubscribeDataExchangeRequest request, CallOptions options)

Creates a Subscription to a Data Exchange. This is a long-running operation as it will create one or more linked datasets.

Parameters
Name Description
request SubscribeDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

SubscribeDataExchange(SubscribeDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation SubscribeDataExchange(SubscribeDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Subscription to a Data Exchange. This is a long-running operation as it will create one or more linked datasets.

Parameters
Name Description
request SubscribeDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline 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
Operation

The response received from the server.

SubscribeDataExchangeAsync(SubscribeDataExchangeRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> SubscribeDataExchangeAsync(SubscribeDataExchangeRequest request, CallOptions options)

Creates a Subscription to a Data Exchange. This is a long-running operation as it will create one or more linked datasets.

Parameters
Name Description
request SubscribeDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

SubscribeDataExchangeAsync(SubscribeDataExchangeRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> SubscribeDataExchangeAsync(SubscribeDataExchangeRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Creates a Subscription to a Data Exchange. This is a long-running operation as it will create one or more linked datasets.

Parameters
Name Description
request SubscribeDataExchangeRequest

The request to send to the server.

headers Metadata

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

deadline 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
AsyncUnaryCallOperation

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
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, 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
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 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 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
Name Description
request SubscribeListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallSubscribeListingResponse

The call object.

TestIamPermissions(TestIamPermissionsRequest, CallOptions)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallOptions options)

Returns the permissions that a caller has.

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, 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
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 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.

Parameters
Name Description
request TestIamPermissionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallTestIamPermissionsResponse

The call object.

UpdateDataExchange(UpdateDataExchangeRequest, CallOptions)

public virtual DataExchange UpdateDataExchange(UpdateDataExchangeRequest request, CallOptions options)

Updates an existing data exchange.

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, DateTime?, CancellationToken)

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

Updates an existing data exchange.

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 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 an existing data exchange.

Parameters
Name Description
request UpdateDataExchangeRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallDataExchange

The call object.

UpdateListing(UpdateListingRequest, CallOptions)

public virtual Listing UpdateListing(UpdateListingRequest request, CallOptions options)

Updates an existing 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, DateTime?, CancellationToken)

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

Updates an existing 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 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 an existing listing.

Parameters
Name Description
request UpdateListingRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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
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 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
AsyncUnaryCallListing

The call object.