Class AnalyticsHubServiceConnection (2.13.0)

This interface defines virtual methods for each of the user-facing overload sets in AnalyticsHubServiceClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type AnalyticsHubServiceClient.

To create a concrete instance, see MakeAnalyticsHubServiceConnection().

For mocking, see bigquery_analyticshub_v1_mocks::MockAnalyticsHubServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual ListDataExchanges(google::cloud::bigquery::analyticshub::v1::ListDataExchangesRequest)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::ListDataExchangesRequest
Returns
Type Description
StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange >

virtual ListOrgDataExchanges(google::cloud::bigquery::analyticshub::v1::ListOrgDataExchangesRequest)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::ListOrgDataExchangesRequest
Returns
Type Description
StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange >

virtual GetDataExchange(google::cloud::bigquery::analyticshub::v1::GetDataExchangeRequest const &)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::GetDataExchangeRequest const &
Returns
Type Description
StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange >

virtual CreateDataExchange(google::cloud::bigquery::analyticshub::v1::CreateDataExchangeRequest const &)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::CreateDataExchangeRequest const &
Returns
Type Description
StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange >

virtual UpdateDataExchange(google::cloud::bigquery::analyticshub::v1::UpdateDataExchangeRequest const &)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::UpdateDataExchangeRequest const &
Returns
Type Description
StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange >

virtual DeleteDataExchange(google::cloud::bigquery::analyticshub::v1::DeleteDataExchangeRequest const &)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::DeleteDataExchangeRequest const &
Returns
Type Description
Status

virtual ListListings(google::cloud::bigquery::analyticshub::v1::ListListingsRequest)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::ListListingsRequest
Returns
Type Description
StreamRange< google::cloud::bigquery::analyticshub::v1::Listing >

virtual GetListing(google::cloud::bigquery::analyticshub::v1::GetListingRequest const &)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::GetListingRequest const &
Returns
Type Description
StatusOr< google::cloud::bigquery::analyticshub::v1::Listing >

virtual CreateListing(google::cloud::bigquery::analyticshub::v1::CreateListingRequest const &)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::CreateListingRequest const &
Returns
Type Description
StatusOr< google::cloud::bigquery::analyticshub::v1::Listing >

virtual UpdateListing(google::cloud::bigquery::analyticshub::v1::UpdateListingRequest const &)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::UpdateListingRequest const &
Returns
Type Description
StatusOr< google::cloud::bigquery::analyticshub::v1::Listing >

virtual DeleteListing(google::cloud::bigquery::analyticshub::v1::DeleteListingRequest const &)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::DeleteListingRequest const &
Returns
Type Description
Status

virtual SubscribeListing(google::cloud::bigquery::analyticshub::v1::SubscribeListingRequest const &)

Parameter
Name Description
request google::cloud::bigquery::analyticshub::v1::SubscribeListingRequest const &
Returns
Type Description
StatusOr< google::cloud::bigquery::analyticshub::v1::SubscribeListingResponse >

virtual GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::GetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::SetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)

Parameter
Name Description
request google::iam::v1::TestIamPermissionsRequest const &
Returns
Type Description
StatusOr< google::iam::v1::TestIamPermissionsResponse >