Class DataCatalogConnection (2.18.0-rc)

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

To create a concrete instance, see MakeDataCatalogConnection().

For mocking, see datacatalog_v1_mocks::MockDataCatalogConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual SearchCatalog(google::cloud::datacatalog::v1::SearchCatalogRequest)

Parameter
NameDescription
request google::cloud::datacatalog::v1::SearchCatalogRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::v1::SearchCatalogResult >

virtual CreateEntryGroup(google::cloud::datacatalog::v1::CreateEntryGroupRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::CreateEntryGroupRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::EntryGroup >

virtual GetEntryGroup(google::cloud::datacatalog::v1::GetEntryGroupRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::GetEntryGroupRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::EntryGroup >

virtual UpdateEntryGroup(google::cloud::datacatalog::v1::UpdateEntryGroupRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::UpdateEntryGroupRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::EntryGroup >

virtual DeleteEntryGroup(google::cloud::datacatalog::v1::DeleteEntryGroupRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::DeleteEntryGroupRequest const &
Returns
TypeDescription
Status

virtual ListEntryGroups(google::cloud::datacatalog::v1::ListEntryGroupsRequest)

Parameter
NameDescription
request google::cloud::datacatalog::v1::ListEntryGroupsRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::v1::EntryGroup >

virtual CreateEntry(google::cloud::datacatalog::v1::CreateEntryRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::CreateEntryRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Entry >

virtual UpdateEntry(google::cloud::datacatalog::v1::UpdateEntryRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::UpdateEntryRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Entry >

virtual DeleteEntry(google::cloud::datacatalog::v1::DeleteEntryRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::DeleteEntryRequest const &
Returns
TypeDescription
Status

virtual GetEntry(google::cloud::datacatalog::v1::GetEntryRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::GetEntryRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Entry >

virtual LookupEntry(google::cloud::datacatalog::v1::LookupEntryRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::LookupEntryRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Entry >

virtual ListEntries(google::cloud::datacatalog::v1::ListEntriesRequest)

Parameter
NameDescription
request google::cloud::datacatalog::v1::ListEntriesRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::v1::Entry >

virtual ModifyEntryOverview(google::cloud::datacatalog::v1::ModifyEntryOverviewRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::ModifyEntryOverviewRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::EntryOverview >

virtual ModifyEntryContacts(google::cloud::datacatalog::v1::ModifyEntryContactsRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::ModifyEntryContactsRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Contacts >

virtual CreateTagTemplate(google::cloud::datacatalog::v1::CreateTagTemplateRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::CreateTagTemplateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::TagTemplate >

virtual GetTagTemplate(google::cloud::datacatalog::v1::GetTagTemplateRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::GetTagTemplateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::TagTemplate >

virtual UpdateTagTemplate(google::cloud::datacatalog::v1::UpdateTagTemplateRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::UpdateTagTemplateRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::TagTemplate >

virtual DeleteTagTemplate(google::cloud::datacatalog::v1::DeleteTagTemplateRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::DeleteTagTemplateRequest const &
Returns
TypeDescription
Status

virtual CreateTagTemplateField(google::cloud::datacatalog::v1::CreateTagTemplateFieldRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::CreateTagTemplateFieldRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::TagTemplateField >

virtual UpdateTagTemplateField(google::cloud::datacatalog::v1::UpdateTagTemplateFieldRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::UpdateTagTemplateFieldRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::TagTemplateField >

virtual RenameTagTemplateField(google::cloud::datacatalog::v1::RenameTagTemplateFieldRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::RenameTagTemplateFieldRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::TagTemplateField >

virtual RenameTagTemplateFieldEnumValue(google::cloud::datacatalog::v1::RenameTagTemplateFieldEnumValueRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::RenameTagTemplateFieldEnumValueRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::TagTemplateField >

virtual DeleteTagTemplateField(google::cloud::datacatalog::v1::DeleteTagTemplateFieldRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::DeleteTagTemplateFieldRequest const &
Returns
TypeDescription
Status

virtual CreateTag(google::cloud::datacatalog::v1::CreateTagRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::CreateTagRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Tag >

virtual UpdateTag(google::cloud::datacatalog::v1::UpdateTagRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::UpdateTagRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::Tag >

virtual DeleteTag(google::cloud::datacatalog::v1::DeleteTagRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::DeleteTagRequest const &
Returns
TypeDescription
Status

virtual ListTags(google::cloud::datacatalog::v1::ListTagsRequest)

Parameter
NameDescription
request google::cloud::datacatalog::v1::ListTagsRequest
Returns
TypeDescription
StreamRange< google::cloud::datacatalog::v1::Tag >

virtual ReconcileTags(google::cloud::datacatalog::v1::ReconcileTagsRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::ReconcileTagsRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::datacatalog::v1::ReconcileTagsResponse > >

virtual StarEntry(google::cloud::datacatalog::v1::StarEntryRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::StarEntryRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::StarEntryResponse >

virtual UnstarEntry(google::cloud::datacatalog::v1::UnstarEntryRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::UnstarEntryRequest const &
Returns
TypeDescription
StatusOr< google::cloud::datacatalog::v1::UnstarEntryResponse >

virtual SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)

Parameter
NameDescription
request google::iam::v1::SetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

virtual GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)

Parameter
NameDescription
request google::iam::v1::GetIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::Policy >

virtual TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)

Parameter
NameDescription
request google::iam::v1::TestIamPermissionsRequest const &
Returns
TypeDescription
StatusOr< google::iam::v1::TestIamPermissionsResponse >

virtual ImportEntries(google::cloud::datacatalog::v1::ImportEntriesRequest const &)

Parameter
NameDescription
request google::cloud::datacatalog::v1::ImportEntriesRequest const &
Returns
TypeDescription
future< StatusOr< google::cloud::datacatalog::v1::ImportEntriesResponse > >