Class PolicyTagManagerConnection (2.28.0)

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

To create a concrete instance, see MakePolicyTagManagerConnection().

For mocking, see datacatalog_v1_mocks::MockPolicyTagManagerConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateTaxonomy(google::cloud::datacatalog::v1::CreateTaxonomyRequest const &)

Parameter
Name Description
request google::cloud::datacatalog::v1::CreateTaxonomyRequest const &
Returns
Type Description
StatusOr< google::cloud::datacatalog::v1::Taxonomy >

virtual DeleteTaxonomy(google::cloud::datacatalog::v1::DeleteTaxonomyRequest const &)

Parameter
Name Description
request google::cloud::datacatalog::v1::DeleteTaxonomyRequest const &
Returns
Type Description
Status

virtual UpdateTaxonomy(google::cloud::datacatalog::v1::UpdateTaxonomyRequest const &)

Parameter
Name Description
request google::cloud::datacatalog::v1::UpdateTaxonomyRequest const &
Returns
Type Description
StatusOr< google::cloud::datacatalog::v1::Taxonomy >

virtual ListTaxonomies(google::cloud::datacatalog::v1::ListTaxonomiesRequest)

Parameter
Name Description
request google::cloud::datacatalog::v1::ListTaxonomiesRequest
Returns
Type Description
StreamRange< google::cloud::datacatalog::v1::Taxonomy >

virtual GetTaxonomy(google::cloud::datacatalog::v1::GetTaxonomyRequest const &)

Parameter
Name Description
request google::cloud::datacatalog::v1::GetTaxonomyRequest const &
Returns
Type Description
StatusOr< google::cloud::datacatalog::v1::Taxonomy >

virtual CreatePolicyTag(google::cloud::datacatalog::v1::CreatePolicyTagRequest const &)

Parameter
Name Description
request google::cloud::datacatalog::v1::CreatePolicyTagRequest const &
Returns
Type Description
StatusOr< google::cloud::datacatalog::v1::PolicyTag >

virtual DeletePolicyTag(google::cloud::datacatalog::v1::DeletePolicyTagRequest const &)

Parameter
Name Description
request google::cloud::datacatalog::v1::DeletePolicyTagRequest const &
Returns
Type Description
Status

virtual UpdatePolicyTag(google::cloud::datacatalog::v1::UpdatePolicyTagRequest const &)

Parameter
Name Description
request google::cloud::datacatalog::v1::UpdatePolicyTagRequest const &
Returns
Type Description
StatusOr< google::cloud::datacatalog::v1::PolicyTag >

virtual ListPolicyTags(google::cloud::datacatalog::v1::ListPolicyTagsRequest)

Parameter
Name Description
request google::cloud::datacatalog::v1::ListPolicyTagsRequest
Returns
Type Description
StreamRange< google::cloud::datacatalog::v1::PolicyTag >

virtual GetPolicyTag(google::cloud::datacatalog::v1::GetPolicyTagRequest const &)

Parameter
Name Description
request google::cloud::datacatalog::v1::GetPolicyTagRequest const &
Returns
Type Description
StatusOr< google::cloud::datacatalog::v1::PolicyTag >

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 >