The DataPolicyServiceConnection
object for DataPolicyServiceClient
.
More...
#include <google/cloud/bigquery/datapolicies/v1/data_policy_connection.h>
|
virtual | ~DataPolicyServiceConnection ()=0 |
|
virtual Options | options () |
|
virtual StatusOr< google::cloud::bigquery::datapolicies::v1::DataPolicy > | CreateDataPolicy (google::cloud::bigquery::datapolicies::v1::CreateDataPolicyRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::datapolicies::v1::DataPolicy > | UpdateDataPolicy (google::cloud::bigquery::datapolicies::v1::UpdateDataPolicyRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::datapolicies::v1::DataPolicy > | RenameDataPolicy (google::cloud::bigquery::datapolicies::v1::RenameDataPolicyRequest const &request) |
|
virtual Status | DeleteDataPolicy (google::cloud::bigquery::datapolicies::v1::DeleteDataPolicyRequest const &request) |
|
virtual StatusOr< google::cloud::bigquery::datapolicies::v1::DataPolicy > | GetDataPolicy (google::cloud::bigquery::datapolicies::v1::GetDataPolicyRequest const &request) |
|
virtual StreamRange< google::cloud::bigquery::datapolicies::v1::DataPolicy > | ListDataPolicies (google::cloud::bigquery::datapolicies::v1::ListDataPoliciesRequest request) |
|
virtual StatusOr< google::iam::v1::Policy > | GetIamPolicy (google::iam::v1::GetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::Policy > | SetIamPolicy (google::iam::v1::SetIamPolicyRequest const &request) |
|
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > | TestIamPermissions (google::iam::v1::TestIamPermissionsRequest const &request) |
|
The DataPolicyServiceConnection
object for DataPolicyServiceClient
.
This interface defines virtual methods for each of the user-facing overload sets in DataPolicyServiceClient
. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type DataPolicyServiceClient
.
To create a concrete instance, see MakeDataPolicyServiceConnection()
.
For mocking, see bigquery_datapolicies_v1_mocks::MockDataPolicyServiceConnection
.
◆ ~DataPolicyServiceConnection()
virtual google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::~DataPolicyServiceConnection |
( |
| ) |
|
|
pure virtual |
◆ CreateDataPolicy()
virtual StatusOr< google::cloud::bigquery::datapolicies::v1::DataPolicy > google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::CreateDataPolicy |
( |
google::cloud::bigquery::datapolicies::v1::CreateDataPolicyRequest const & |
request | ) |
|
|
virtual |
◆ DeleteDataPolicy()
virtual Status google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::DeleteDataPolicy |
( |
google::cloud::bigquery::datapolicies::v1::DeleteDataPolicyRequest const & |
request | ) |
|
|
virtual |
◆ GetDataPolicy()
virtual StatusOr< google::cloud::bigquery::datapolicies::v1::DataPolicy > google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::GetDataPolicy |
( |
google::cloud::bigquery::datapolicies::v1::GetDataPolicyRequest const & |
request | ) |
|
|
virtual |
◆ GetIamPolicy()
virtual StatusOr< google::iam::v1::Policy > google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::GetIamPolicy |
( |
google::iam::v1::GetIamPolicyRequest const & |
request | ) |
|
|
virtual |
◆ ListDataPolicies()
virtual StreamRange< google::cloud::bigquery::datapolicies::v1::DataPolicy > google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::ListDataPolicies |
( |
google::cloud::bigquery::datapolicies::v1::ListDataPoliciesRequest |
request | ) |
|
|
virtual |
◆ options()
virtual Options google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::options |
( |
| ) |
|
|
inlinevirtual |
◆ RenameDataPolicy()
virtual StatusOr< google::cloud::bigquery::datapolicies::v1::DataPolicy > google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::RenameDataPolicy |
( |
google::cloud::bigquery::datapolicies::v1::RenameDataPolicyRequest const & |
request | ) |
|
|
virtual |
◆ SetIamPolicy()
virtual StatusOr< google::iam::v1::Policy > google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::SetIamPolicy |
( |
google::iam::v1::SetIamPolicyRequest const & |
request | ) |
|
|
virtual |
◆ TestIamPermissions()
virtual StatusOr< google::iam::v1::TestIamPermissionsResponse > google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::TestIamPermissions |
( |
google::iam::v1::TestIamPermissionsRequest const & |
request | ) |
|
|
virtual |
◆ UpdateDataPolicy()
virtual StatusOr< google::cloud::bigquery::datapolicies::v1::DataPolicy > google::cloud::bigquery_datapolicies_v1::DataPolicyServiceConnection::UpdateDataPolicy |
( |
google::cloud::bigquery::datapolicies::v1::UpdateDataPolicyRequest const & |
request | ) |
|
|
virtual |