Class ContentServiceConnection (2.31.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 >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >

virtual ListOperations(google::longrunning::ListOperationsRequest)

Parameter
Name Description
request google::longrunning::ListOperationsRequest
Returns
Type Description
StreamRange< google::longrunning::Operation >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)

Parameter
Name Description
request google::longrunning::DeleteOperationRequest const &
Returns
Type Description
Status

virtual CancelOperation(google::longrunning::CancelOperationRequest const &)

Parameter
Name Description
request google::longrunning::CancelOperationRequest const &
Returns
Type Description
Status