Class MetadataServiceConnection (2.22.0-rc)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::dataplex::v1::CreateEntityRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dataplex::v1::Entity >

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

Parameter
NameDescription
request google::cloud::dataplex::v1::UpdateEntityRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dataplex::v1::Entity >

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

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

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

Parameter
NameDescription
request google::cloud::dataplex::v1::GetEntityRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dataplex::v1::Entity >

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

Parameter
NameDescription
request google::cloud::dataplex::v1::ListEntitiesRequest
Returns
TypeDescription
StreamRange< google::cloud::dataplex::v1::Entity >

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

Parameter
NameDescription
request google::cloud::dataplex::v1::CreatePartitionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dataplex::v1::Partition >

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

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

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

Parameter
NameDescription
request google::cloud::dataplex::v1::GetPartitionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::dataplex::v1::Partition >

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

Parameter
NameDescription
request google::cloud::dataplex::v1::ListPartitionsRequest
Returns
TypeDescription
StreamRange< google::cloud::dataplex::v1::Partition >