Class ContentServiceConnection (2.22.0-rc)

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

To create a concrete instance, see MakeContentServiceConnection().

For mocking, see dataplex_v1_mocks::MockContentServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual CreateContent(google::cloud::dataplex::v1::CreateContentRequest const &)

Parameter
NameDescription
request google::cloud::dataplex::v1::CreateContentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dataplex::v1::Content >

virtual UpdateContent(google::cloud::dataplex::v1::UpdateContentRequest const &)

Parameter
NameDescription
request google::cloud::dataplex::v1::UpdateContentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dataplex::v1::Content >

virtual DeleteContent(google::cloud::dataplex::v1::DeleteContentRequest const &)

Parameter
NameDescription
request google::cloud::dataplex::v1::DeleteContentRequest const &
Returns
TypeDescription
Status

virtual GetContent(google::cloud::dataplex::v1::GetContentRequest const &)

Parameter
NameDescription
request google::cloud::dataplex::v1::GetContentRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dataplex::v1::Content >

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 >

virtual ListContent(google::cloud::dataplex::v1::ListContentRequest)

Parameter
NameDescription
request google::cloud::dataplex::v1::ListContentRequest
Returns
TypeDescription
StreamRange< google::cloud::dataplex::v1::Content >