19#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_ANALYTICSHUB_V1_ANALYTICS_HUB_CLIENT_H
20#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_BIGQUERY_ANALYTICSHUB_V1_ANALYTICS_HUB_CLIENT_H
22#include "google/cloud/bigquery/analyticshub/v1/analytics_hub_connection.h"
23#include "google/cloud/future.h"
24#include "google/cloud/options.h"
25#include "google/cloud/polling_policy.h"
26#include "google/cloud/status_or.h"
27#include "google/cloud/version.h"
33GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_BEGIN
86 return a.connection_ == b.connection_;
232 std::string
const& parent,
254 CreateDataExchangeRequest
const& request,
298 UpdateDataExchangeRequest
const& request,
327 DeleteDataExchangeRequest
const& request,
346 std::string
const& parent,
Options opts
= {});
422 std::string
const& parent,
619 google::iam::v1::TestIamPermissionsRequest
const& request,
627GOOGLE_CLOUD_CPP_INLINE_NAMESPACE_END
The AnalyticsHubService API facilitates data sharing within and across organizations.
Definition: analytics_hub_client.h:66
StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange > GetDataExchange(std::string const &name, Options opts={})
Gets the details of a data exchange.
StatusOr< google::iam::v1::Policy > SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &request, Options opts={})
Sets the IAM policy.
AnalyticsHubServiceClient & operator=(AnalyticsHubServiceClient const &)=default
StatusOr< google::cloud::bigquery::analyticshub::v1::Listing > UpdateListing(google::cloud::bigquery::analyticshub::v1::UpdateListingRequest const &request, Options opts={})
Updates an existing listing.
Status DeleteListing(google::cloud::bigquery::analyticshub::v1::DeleteListingRequest const &request, Options opts={})
Deletes a listing.
AnalyticsHubServiceClient(AnalyticsHubServiceClient &&)=default
friend bool operator!=(AnalyticsHubServiceClient const &a, AnalyticsHubServiceClient const &b)
Definition: analytics_hub_client.h:88
StatusOr< google::cloud::bigquery::analyticshub::v1::Listing > GetListing(google::cloud::bigquery::analyticshub::v1::GetListingRequest const &request, Options opts={})
Gets the details of a listing.
StreamRange< google::cloud::bigquery::analyticshub::v1::Listing > ListListings(google::cloud::bigquery::analyticshub::v1::ListListingsRequest request, Options opts={})
Lists all listings in a given project and location.
Status DeleteDataExchange(google::cloud::bigquery::analyticshub::v1::DeleteDataExchangeRequest const &request, Options opts={})
Deletes an existing data exchange.
Status DeleteListing(std::string const &name, Options opts={})
Deletes a listing.
StatusOr< google::iam::v1::TestIamPermissionsResponse > TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &request, Options opts={})
Returns the permissions that a caller has.
StatusOr< google::cloud::bigquery::analyticshub::v1::SubscribeListingResponse > SubscribeListing(std::string const &name, Options opts={})
Subscribes to a listing.
StatusOr< google::cloud::bigquery::analyticshub::v1::Listing > CreateListing(std::string const &parent, google::cloud::bigquery::analyticshub::v1::Listing const &listing, Options opts={})
Creates a new listing.
StatusOr< google::cloud::bigquery::analyticshub::v1::Listing > UpdateListing(google::cloud::bigquery::analyticshub::v1::Listing const &listing, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates an existing listing.
StreamRange< google::cloud::bigquery::analyticshub::v1::Listing > ListListings(std::string const &parent, Options opts={})
Lists all listings in a given project and location.
~AnalyticsHubServiceClient()
Status DeleteDataExchange(std::string const &name, Options opts={})
Deletes an existing data exchange.
StatusOr< google::cloud::bigquery::analyticshub::v1::Listing > GetListing(std::string const &name, Options opts={})
Gets the details of a listing.
AnalyticsHubServiceClient(AnalyticsHubServiceClient const &)=default
StatusOr< google::cloud::bigquery::analyticshub::v1::Listing > CreateListing(google::cloud::bigquery::analyticshub::v1::CreateListingRequest const &request, Options opts={})
Creates a new listing.
StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange > ListOrgDataExchanges(google::cloud::bigquery::analyticshub::v1::ListOrgDataExchangesRequest request, Options opts={})
Lists all data exchanges from projects in a given organization and location.
StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange > ListOrgDataExchanges(std::string const &organization, Options opts={})
Lists all data exchanges from projects in a given organization and location.
StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange > UpdateDataExchange(google::cloud::bigquery::analyticshub::v1::DataExchange const &data_exchange, google::protobuf::FieldMask const &update_mask, Options opts={})
Updates an existing data exchange.
StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange > ListDataExchanges(google::cloud::bigquery::analyticshub::v1::ListDataExchangesRequest request, Options opts={})
Lists all data exchanges in a given project and location.
StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange > UpdateDataExchange(google::cloud::bigquery::analyticshub::v1::UpdateDataExchangeRequest const &request, Options opts={})
Updates an existing data exchange.
StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange > CreateDataExchange(std::string const &parent, google::cloud::bigquery::analyticshub::v1::DataExchange const &data_exchange, Options opts={})
Creates a new data exchange.
StatusOr< google::cloud::bigquery::analyticshub::v1::SubscribeListingResponse > SubscribeListing(google::cloud::bigquery::analyticshub::v1::SubscribeListingRequest const &request, Options opts={})
Subscribes to a listing.
friend bool operator==(AnalyticsHubServiceClient const &a, AnalyticsHubServiceClient const &b)
Definition: analytics_hub_client.h:84
StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange > CreateDataExchange(google::cloud::bigquery::analyticshub::v1::CreateDataExchangeRequest const &request, Options opts={})
Creates a new data exchange.
StreamRange< google::cloud::bigquery::analyticshub::v1::DataExchange > ListDataExchanges(std::string const &parent, Options opts={})
Lists all data exchanges in a given project and location.
AnalyticsHubServiceClient(std::shared_ptr< AnalyticsHubServiceConnection > connection, Options opts={})
StatusOr< google::cloud::bigquery::analyticshub::v1::DataExchange > GetDataExchange(google::cloud::bigquery::analyticshub::v1::GetDataExchangeRequest const &request, Options opts={})
Gets the details of a data exchange.
StatusOr< google::iam::v1::Policy > GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &request, Options opts={})
Gets the IAM policy.
AnalyticsHubServiceClient & operator=(AnalyticsHubServiceClient &&)=default
The AnalyticsHubServiceConnection object for AnalyticsHubServiceClient.
Definition: analytics_hub_connection.h:62
Definition: analytics_hub_client.h:32
Definition: analytics_hub_client.h:30