The interfaces provided are listed below, along with usage samples.
MetastoreServiceClient
Service Description: BigLake Metastore is a serverless, highly available, multi-tenant runtime
metastore for Google Cloud Data Analytics products.
The BigLake Metastore API defines the following resource model:
A collection of Google Cloud projects: /projects/*
Each project has a collection of available locations: /locations/*
Each location has a collection of catalogs: /catalogs/*
Each catalog has a collection of databases: /databases/*
Each database has a collection of tables: /tables/*
Sample for MetastoreServiceClient:
// 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_librarytry(MetastoreServiceClientmetastoreServiceClient=MetastoreServiceClient.create()){LocationNameparent=LocationName.of("[PROJECT]","[LOCATION]");Catalogcatalog=Catalog.newBuilder().build();StringcatalogId="catalogId1455933204";Catalogresponse=metastoreServiceClient.createCatalog(parent,catalog,catalogId);}