Package com.google.cloud.datacatalog.v1beta1
The interfaces provided are listed below, along with usage samples.
======================= DataCatalogClient =======================
Service Description: Deprecated: Please use Dataplex Catalog instead.
Data Catalog API service allows clients to discover, understand, and manage their data.
Sample for DataCatalogClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (DataCatalogClient dataCatalogClient = DataCatalogClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
String entryGroupId = "entryGroupId1228924712";
EntryGroup entryGroup = EntryGroup.newBuilder().build();
EntryGroup response = dataCatalogClient.createEntryGroup(parent, entryGroupId, entryGroup);
}
======================= PolicyTagManagerClient =======================
Service Description: The policy tag manager API service allows clients to manage their taxonomies and policy tags.
Sample for PolicyTagManagerClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PolicyTagManagerClient policyTagManagerClient = PolicyTagManagerClient.create()) {
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
Taxonomy taxonomy = Taxonomy.newBuilder().build();
Taxonomy response = policyTagManagerClient.createTaxonomy(parent, taxonomy);
}
======================= PolicyTagManagerSerializationClient =======================
Service Description: Policy tag manager serialization API service allows clients to manipulate their taxonomies and policy tags data with serialized format.
Sample for PolicyTagManagerSerializationClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (PolicyTagManagerSerializationClient policyTagManagerSerializationClient =
PolicyTagManagerSerializationClient.create()) {
ImportTaxonomiesRequest request =
ImportTaxonomiesRequest.newBuilder()
.setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
.build();
ImportTaxonomiesResponse response =
policyTagManagerSerializationClient.importTaxonomies(request);
}
-
ClassesClassDescriptionDeprecated.This class is deprecated and will be removed in the next major version update.Deprecated.This class is deprecated and will be removed in the next major version update.Builder for DataCatalogSettings.Service Description: The policy tag manager API service allows clients to manage their taxonomies and policy tags.Service Description: Policy tag manager serialization API service allows clients to manipulate their taxonomies and policy tags data with serialized format.Settings class to configure an instance of
PolicyTagManagerSerializationClient.Builder for PolicyTagManagerSerializationSettings.Settings class to configure an instance ofPolicyTagManagerClient.Builder for PolicyTagManagerSettings.