Class DataTaxonomyServiceConnection (2.34.0-rc)

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

To create a concrete instance, see MakeDataTaxonomyServiceConnection().

For mocking, see dataplex_v1_mocks::MockDataTaxonomyServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateDataTaxonomy(google::cloud::dataplex::v1::CreateDataTaxonomyRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::CreateDataTaxonomyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataTaxonomy > >

virtual CreateDataTaxonomy(NoAwaitTag, google::cloud::dataplex::v1::CreateDataTaxonomyRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::CreateDataTaxonomyRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateDataTaxonomy(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataTaxonomy > >

virtual UpdateDataTaxonomy(google::cloud::dataplex::v1::UpdateDataTaxonomyRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::UpdateDataTaxonomyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataTaxonomy > >

virtual UpdateDataTaxonomy(NoAwaitTag, google::cloud::dataplex::v1::UpdateDataTaxonomyRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::UpdateDataTaxonomyRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateDataTaxonomy(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataTaxonomy > >

virtual DeleteDataTaxonomy(google::cloud::dataplex::v1::DeleteDataTaxonomyRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::DeleteDataTaxonomyRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::OperationMetadata > >

virtual DeleteDataTaxonomy(NoAwaitTag, google::cloud::dataplex::v1::DeleteDataTaxonomyRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::DeleteDataTaxonomyRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteDataTaxonomy(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::OperationMetadata > >

virtual ListDataTaxonomies(google::cloud::dataplex::v1::ListDataTaxonomiesRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListDataTaxonomiesRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::DataTaxonomy >

virtual GetDataTaxonomy(google::cloud::dataplex::v1::GetDataTaxonomyRequest const &)

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

virtual CreateDataAttributeBinding(google::cloud::dataplex::v1::CreateDataAttributeBindingRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::CreateDataAttributeBindingRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataAttributeBinding > >

virtual CreateDataAttributeBinding(NoAwaitTag, google::cloud::dataplex::v1::CreateDataAttributeBindingRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::CreateDataAttributeBindingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateDataAttributeBinding(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataAttributeBinding > >

virtual UpdateDataAttributeBinding(google::cloud::dataplex::v1::UpdateDataAttributeBindingRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::UpdateDataAttributeBindingRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataAttributeBinding > >

virtual UpdateDataAttributeBinding(NoAwaitTag, google::cloud::dataplex::v1::UpdateDataAttributeBindingRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::UpdateDataAttributeBindingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateDataAttributeBinding(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataAttributeBinding > >

virtual DeleteDataAttributeBinding(google::cloud::dataplex::v1::DeleteDataAttributeBindingRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::DeleteDataAttributeBindingRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::OperationMetadata > >

virtual DeleteDataAttributeBinding(NoAwaitTag, google::cloud::dataplex::v1::DeleteDataAttributeBindingRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::DeleteDataAttributeBindingRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteDataAttributeBinding(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::OperationMetadata > >

virtual ListDataAttributeBindings(google::cloud::dataplex::v1::ListDataAttributeBindingsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListDataAttributeBindingsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::DataAttributeBinding >

virtual GetDataAttributeBinding(google::cloud::dataplex::v1::GetDataAttributeBindingRequest const &)

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

virtual CreateDataAttribute(google::cloud::dataplex::v1::CreateDataAttributeRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::CreateDataAttributeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataAttribute > >

virtual CreateDataAttribute(NoAwaitTag, google::cloud::dataplex::v1::CreateDataAttributeRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::CreateDataAttributeRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual CreateDataAttribute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataAttribute > >

virtual UpdateDataAttribute(google::cloud::dataplex::v1::UpdateDataAttributeRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::UpdateDataAttributeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataAttribute > >

virtual UpdateDataAttribute(NoAwaitTag, google::cloud::dataplex::v1::UpdateDataAttributeRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::UpdateDataAttributeRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual UpdateDataAttribute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::DataAttribute > >

virtual DeleteDataAttribute(google::cloud::dataplex::v1::DeleteDataAttributeRequest const &)

Parameter
Name Description
request google::cloud::dataplex::v1::DeleteDataAttributeRequest const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::OperationMetadata > >

virtual DeleteDataAttribute(NoAwaitTag, google::cloud::dataplex::v1::DeleteDataAttributeRequest const &)

Parameters
Name Description
NoAwaitTag
request google::cloud::dataplex::v1::DeleteDataAttributeRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >

virtual DeleteDataAttribute(google::longrunning::Operation const &)

Parameter
Name Description
operation google::longrunning::Operation const &
Returns
Type Description
future< StatusOr< google::cloud::dataplex::v1::OperationMetadata > >

virtual ListDataAttributes(google::cloud::dataplex::v1::ListDataAttributesRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListDataAttributesRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::DataAttribute >

virtual GetDataAttribute(google::cloud::dataplex::v1::GetDataAttributeRequest const &)

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

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 SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::SetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

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 TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)

Parameter
Name Description
request google::iam::v1::TestIamPermissionsRequest const &
Returns
Type Description
StatusOr< google::iam::v1::TestIamPermissionsResponse >

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