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

public class AnalyticsHubServiceClient : ClientBase<AnalyticsHubService.AnalyticsHubServiceClient>

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

Client for AnalyticsHubService

Inheritance

Object > ClientBase > ClientBase<AnalyticsHubService.AnalyticsHubServiceClient> > 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
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

AnalyticsHubServiceClient(ChannelBase)

public AnalyticsHubServiceClient(ChannelBase channel)

Creates a new client for AnalyticsHubService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

AnalyticsHubServiceClient(ClientBase.ClientBaseConfiguration)

protected AnalyticsHubServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateDataExchange(CreateDataExchangeRequest, CallOptions)

public virtual DataExchange CreateDataExchange(CreateDataExchangeRequest request, CallOptions options)

Creates a new data exchange.

Parameters
NameDescription
requestCreateDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DataExchange

The response received from the server.

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

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

Creates a new data exchange.

Parameters
NameDescription
requestCreateDataExchangeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DataExchange

The response received from the server.

CreateDataExchangeAsync(CreateDataExchangeRequest, CallOptions)

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

Creates a new data exchange.

Parameters
NameDescription
requestCreateDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestCreateDataExchangeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DataExchange>

The call object.

CreateListing(CreateListingRequest, CallOptions)

public virtual Listing CreateListing(CreateListingRequest request, CallOptions options)

Creates a new listing.

Parameters
NameDescription
requestCreateListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Listing

The response received from the server.

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

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

Creates a new listing.

Parameters
NameDescription
requestCreateListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Listing

The response received from the server.

CreateListingAsync(CreateListingRequest, CallOptions)

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

Creates a new listing.

Parameters
NameDescription
requestCreateListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestCreateListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Listing>

The call object.

DeleteDataExchange(DeleteDataExchangeRequest, CallOptions)

public virtual Empty DeleteDataExchange(DeleteDataExchangeRequest request, CallOptions options)

Deletes an existing data exchange.

Parameters
NameDescription
requestDeleteDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

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

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

Deletes an existing data exchange.

Parameters
NameDescription
requestDeleteDataExchangeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteDataExchangeAsync(DeleteDataExchangeRequest, CallOptions)

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

Deletes an existing data exchange.

Parameters
NameDescription
requestDeleteDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestDeleteDataExchangeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteListing(DeleteListingRequest, CallOptions)

public virtual Empty DeleteListing(DeleteListingRequest request, CallOptions options)

Deletes a listing.

Parameters
NameDescription
requestDeleteListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

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

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

Deletes a listing.

Parameters
NameDescription
requestDeleteListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteListingAsync(DeleteListingRequest, CallOptions)

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

Deletes a listing.

Parameters
NameDescription
requestDeleteListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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 listing.

Parameters
NameDescription
requestDeleteListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetDataExchange(GetDataExchangeRequest, CallOptions)

public virtual DataExchange GetDataExchange(GetDataExchangeRequest request, CallOptions options)

Gets the details of a data exchange.

Parameters
NameDescription
requestGetDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DataExchange

The response received from the server.

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

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

Gets the details of a data exchange.

Parameters
NameDescription
requestGetDataExchangeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DataExchange

The response received from the server.

GetDataExchangeAsync(GetDataExchangeRequest, CallOptions)

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

Gets the details of a data exchange.

Parameters
NameDescription
requestGetDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestGetDataExchangeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DataExchange>

The call object.

GetIamPolicy(GetIamPolicyRequest, CallOptions)

public virtual Policy GetIamPolicy(GetIamPolicyRequest request, CallOptions options)

Gets the IAM policy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

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

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

Gets the IAM policy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Policy

The response received from the server.

GetIamPolicyAsync(GetIamPolicyRequest, CallOptions)

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

Gets the IAM policy.

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestGetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

GetListing(GetListingRequest, CallOptions)

public virtual Listing GetListing(GetListingRequest request, CallOptions options)

Gets the details of a listing.

Parameters
NameDescription
requestGetListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Listing

The response received from the server.

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

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

Gets the details of a listing.

Parameters
NameDescription
requestGetListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Listing

The response received from the server.

GetListingAsync(GetListingRequest, CallOptions)

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

Gets the details of a listing.

Parameters
NameDescription
requestGetListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestGetListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Listing>

The call object.

ListDataExchanges(ListDataExchangesRequest, CallOptions)

public virtual ListDataExchangesResponse ListDataExchanges(ListDataExchangesRequest request, CallOptions options)

Lists all data exchanges in a given project and location.

Parameters
NameDescription
requestListDataExchangesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListDataExchangesResponse

The response received from the server.

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

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

Lists all data exchanges in a given project and location.

Parameters
NameDescription
requestListDataExchangesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListDataExchangesResponse

The response received from the server.

ListDataExchangesAsync(ListDataExchangesRequest, CallOptions)

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

Lists all data exchanges in a given project and location.

Parameters
NameDescription
requestListDataExchangesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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 all data exchanges in a given project and location.

Parameters
NameDescription
requestListDataExchangesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListDataExchangesResponse>

The call object.

ListListings(ListListingsRequest, CallOptions)

public virtual ListListingsResponse ListListings(ListListingsRequest request, CallOptions options)

Lists all listings in a given project and location.

Parameters
NameDescription
requestListListingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListListingsResponse

The response received from the server.

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

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

Lists all listings in a given project and location.

Parameters
NameDescription
requestListListingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListListingsResponse

The response received from the server.

ListListingsAsync(ListListingsRequest, CallOptions)

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

Lists all listings in a given project and location.

Parameters
NameDescription
requestListListingsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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 all listings in a given project and location.

Parameters
NameDescription
requestListListingsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListListingsResponse>

The call object.

ListOrgDataExchanges(ListOrgDataExchangesRequest, CallOptions)

public virtual ListOrgDataExchangesResponse ListOrgDataExchanges(ListOrgDataExchangesRequest request, CallOptions options)

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

Parameters
NameDescription
requestListOrgDataExchangesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListOrgDataExchangesResponse

The response received from the server.

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

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

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

Parameters
NameDescription
requestListOrgDataExchangesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListOrgDataExchangesResponse

The response received from the server.

ListOrgDataExchangesAsync(ListOrgDataExchangesRequest, CallOptions)

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

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

Parameters
NameDescription
requestListOrgDataExchangesRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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 all data exchanges from projects in a given organization and location.

Parameters
NameDescription
requestListOrgDataExchangesRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
AnalyticsHubService.AnalyticsHubServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.BigQuery.AnalyticsHub.V1.AnalyticsHubService.AnalyticsHubServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

SetIamPolicy(SetIamPolicyRequest, CallOptions)

public virtual Policy SetIamPolicy(SetIamPolicyRequest request, CallOptions options)

Sets the IAM policy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Policy

The response received from the server.

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

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

Sets the IAM policy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Policy

The response received from the server.

SetIamPolicyAsync(SetIamPolicyRequest, CallOptions)

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

Sets the IAM policy.

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestSetIamPolicyRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Policy>

The call object.

SubscribeListing(SubscribeListingRequest, CallOptions)

public virtual SubscribeListingResponse SubscribeListing(SubscribeListingRequest request, CallOptions options)

Subscribes to a listing.

Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.

Parameters
NameDescription
requestSubscribeListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
SubscribeListingResponse

The response received from the server.

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

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

Subscribes to a listing.

Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.

Parameters
NameDescription
requestSubscribeListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
SubscribeListingResponse

The response received from the server.

SubscribeListingAsync(SubscribeListingRequest, CallOptions)

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

Subscribes to a listing.

Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.

Parameters
NameDescription
requestSubscribeListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
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 listing.

Currently, with Analytics Hub, you can create listings that reference only BigQuery datasets. Upon subscription to a listing for a BigQuery dataset, Analytics Hub creates a linked dataset in the subscriber's project.

Parameters
NameDescription
requestSubscribeListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<SubscribeListingResponse>

The call object.

TestIamPermissions(TestIamPermissionsRequest, CallOptions)

public virtual TestIamPermissionsResponse TestIamPermissions(TestIamPermissionsRequest request, CallOptions options)

Returns the permissions that a caller has.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
TestIamPermissionsResponse

The response received from the server.

TestIamPermissions(TestIamPermissionsRequest, Metadata, 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.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
TestIamPermissionsResponse

The response received from the server.

TestIamPermissionsAsync(TestIamPermissionsRequest, CallOptions)

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

Returns the permissions that a caller has.

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestTestIamPermissionsRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<TestIamPermissionsResponse>

The call object.

UpdateDataExchange(UpdateDataExchangeRequest, CallOptions)

public virtual DataExchange UpdateDataExchange(UpdateDataExchangeRequest request, CallOptions options)

Updates an existing data exchange.

Parameters
NameDescription
requestUpdateDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
DataExchange

The response received from the server.

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

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

Updates an existing data exchange.

Parameters
NameDescription
requestUpdateDataExchangeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
DataExchange

The response received from the server.

UpdateDataExchangeAsync(UpdateDataExchangeRequest, CallOptions)

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

Updates an existing data exchange.

Parameters
NameDescription
requestUpdateDataExchangeRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestUpdateDataExchangeRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<DataExchange>

The call object.

UpdateListing(UpdateListingRequest, CallOptions)

public virtual Listing UpdateListing(UpdateListingRequest request, CallOptions options)

Updates an existing listing.

Parameters
NameDescription
requestUpdateListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Listing

The response received from the server.

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

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

Updates an existing listing.

Parameters
NameDescription
requestUpdateListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Listing

The response received from the server.

UpdateListingAsync(UpdateListingRequest, CallOptions)

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

Updates an existing listing.

Parameters
NameDescription
requestUpdateListingRequest

The request to send to the server.

optionsCallOptions

The options for the call.

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

Parameters
NameDescription
requestUpdateListingRequest

The request to send to the server.

headersMetadata

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

deadlineNullable<DateTime>

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

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Listing>

The call object.