Class PolicyTagManagerConnection (2.23.0-rc)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::CreateTaxonomyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Taxonomy >

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::DeleteTaxonomyRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::UpdateTaxonomyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Taxonomy >

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::ListTaxonomiesRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::v1::Taxonomy >

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::GetTaxonomyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Taxonomy >

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::CreatePolicyTagRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::PolicyTag >

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::DeletePolicyTagRequest const &
Returns
TypeDescription
Status

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::UpdatePolicyTagRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::PolicyTag >

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::ListPolicyTagsRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::v1::PolicyTag >

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

Parameter
NameDescription
request google::cloud::datacatalog::v1::GetPolicyTagRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::PolicyTag >

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

Parameter
NameDescription
request google::iam::v1::GetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::SetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

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

Parameter
NameDescription
request google::iam::v1::TestIamPermissionsRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::TestIamPermissionsResponse >