Package com.google.cloud.biglake.v1
The interfaces provided are listed below, along with usage samples.
======================= IcebergCatalogServiceClient =======================
Service Description: Iceberg Catalog Service API: this implements the open-source Iceberg REST Catalog API. See the API definition here: https://github.com/apache/iceberg/blob/main/open-api/rest-catalog-open-api.yaml
The API is defined as OpenAPI 3.1.1 spec.
Currently we only support the following methods: - GetConfig/GetIcebergCatalogConfig - ListIcebergNamespaces - CheckIcebergNamespaceExists - GetIcebergNamespace - CreateIcebergNamespace (only supports single level) - DeleteIcebergNamespace - UpdateIcebergNamespace properties - ListTableIdentifiers - CreateIcebergTable - DeleteIcebergTable - GetIcebergTable - UpdateIcebergTable (CommitTable) - LoadIcebergTableCredentials - RegisterTable
Users are required to provided the `X-Goog-User-Project` header with the project id or number which can be different from the bucket project id. That project will be charged for the API calls and the calling user must have access to that project. The caller must have `serviceusage.services.use` permission on the project.
Sample for IcebergCatalogServiceClient:
// 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 (IcebergCatalogServiceClient icebergCatalogServiceClient =
IcebergCatalogServiceClient.create()) {
CatalogName name = CatalogName.of("[PROJECT]", "[CATALOG]");
IcebergCatalog response = icebergCatalogServiceClient.getIcebergCatalog(name);
}
-
ClassesClassDescriptionService Description: Iceberg Catalog Service API: this implements the open-source Iceberg REST Catalog API.Settings class to configure an instance of
IcebergCatalogServiceClient.Builder for IcebergCatalogServiceSettings.