Class ContentServiceConnection (2.27.0)

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
Type Description
Options

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

Parameter
Name Description
request google::cloud::dataplex::v1::CreateContentRequest const &
Returns
Type Description
StatusOr< google::cloud::dataplex::v1::Content >

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

Parameter
Name Description
request google::cloud::dataplex::v1::UpdateContentRequest const &
Returns
Type Description
StatusOr< google::cloud::dataplex::v1::Content >

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

Parameter
Name Description
request google::cloud::dataplex::v1::DeleteContentRequest const &
Returns
Type Description
Status

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

Parameter
Name Description
request google::cloud::dataplex::v1::GetContentRequest const &
Returns
Type Description
StatusOr< google::cloud::dataplex::v1::Content >

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 >

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

Parameter
Name Description
request google::cloud::dataplex::v1::ListContentRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Content >