Class MetadataServiceConnection (2.28.0)

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

To create a concrete instance, see MakeMetadataServiceConnection().

For mocking, see dataplex_v1_mocks::MockMetadataServiceConnection.

Functions

virtual options()

Returns
Type Description
Options

virtual CreateEntity(google::cloud::dataplex::v1::CreateEntityRequest const &)

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

virtual UpdateEntity(google::cloud::dataplex::v1::UpdateEntityRequest const &)

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

virtual DeleteEntity(google::cloud::dataplex::v1::DeleteEntityRequest const &)

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

virtual GetEntity(google::cloud::dataplex::v1::GetEntityRequest const &)

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

virtual ListEntities(google::cloud::dataplex::v1::ListEntitiesRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListEntitiesRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Entity >

virtual CreatePartition(google::cloud::dataplex::v1::CreatePartitionRequest const &)

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

virtual DeletePartition(google::cloud::dataplex::v1::DeletePartitionRequest const &)

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

virtual GetPartition(google::cloud::dataplex::v1::GetPartitionRequest const &)

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

virtual ListPartitions(google::cloud::dataplex::v1::ListPartitionsRequest)

Parameter
Name Description
request google::cloud::dataplex::v1::ListPartitionsRequest
Returns
Type Description
StreamRange< google::cloud::dataplex::v1::Partition >