- INFORMATION
-
gcloud beta biglake iceberg catalogs createis not available in universe domainuniverse. - NAME
-
- gcloud beta biglake iceberg catalogs create - create a BigLake Iceberg REST catalog
- SYNOPSIS
-
-
gcloud beta biglake iceberg catalogs createCATALOG--catalog-type=CATALOG_TYPE[--credential-mode=CREDENTIAL_MODE; default="end-user"] [--default-location=DEFAULT_LOCATION] [--description=DESCRIPTION] [--federated-catalog-type=FEDERATED_CATALOG_TYPE] [--glue-aws-region=GLUE_AWS_REGION] [--glue-aws-role-arn=GLUE_AWS_ROLE_ARN] [--glue-warehouse=GLUE_WAREHOUSE] [--namespace-filters=[NAMESPACE,…]] [--primary-location=PRIMARY_LOCATION] [--refresh-interval=REFRESH_INTERVAL] [--restricted-locations=[LOCATION,…]] [--secret-name=SECRET_NAME] [--unity-catalog-name=UNITY_CATALOG_NAME] [--unity-instance-name=UNITY_INSTANCE_NAME] [--unity-service-principal-application-id=UNITY_SERVICE_PRINCIPAL_APPLICATION_ID] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Create a BigLake Iceberg REST catalog. - EXAMPLES
-
To add a catalog using a Cloud Storage bucket
my-catalog-bucket, run:gcloud beta biglake iceberg catalogs create my-catalog-bucket --catalog-type=gcs-bucketTo create a catalog using a Cloud Storage bucket
my-catalog-bucketwith vended credentials, run: To create a unity federated cataloggcloud beta biglake iceberg catalogs create my-catalog-bucket --catalog-type=gcs-bucket --credential-mode=vended-credentialsmy-federated-catalog, run:gcloud beta biglake iceberg catalogs create my-federated-catalog --catalog-type=federated --federated-catalog-type=unity --service-directory-name=projects/my-project/locations/us/namespaces/my-namespace/services/my-service --unity-catalog-name=my-catalog --unity-instance-name=instance.cloud.databricks.com --unity-service-principal-application-id=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx --primary-location=us - POSITIONAL ARGUMENTS
-
-
Catalog resource - The Iceberg Catalog to create. This represents a Cloud
resource. (NOTE) Some attributes are not given arguments in this group but can
be set in other ways.
To set the
projectattribute:-
provide the argument
catalogon the command line with a fully specified name; -
provide the argument
--projecton the command line; -
set the property
core/project.
This must be specified.
CATALOG-
ID of the catalog or fully qualified identifier for the catalog.
To set the
catalogattribute:-
provide the argument
catalogon the command line.
-
provide the argument
-
provide the argument
-
Catalog resource - The Iceberg Catalog to create. This represents a Cloud
resource. (NOTE) Some attributes are not given arguments in this group but can
be set in other ways.
- REQUIRED FLAGS
-
--catalog-type=CATALOG_TYPE-
Catalog type to create the catalog with.
CATALOG_TYPEmust be one of:biglake- BigLake Iceberg catalog. Catalog type which allows namespaces and tables within a catalog to be mapped to locations beyond the catalog's designated default.
federated- BigLake federated catalog mirroring a remote catalog.
gcs-bucket- A catalog backed by a Cloud Storage bucket.
- OPTIONAL FLAGS
-
--credential-mode=CREDENTIAL_MODE; default="end-user"-
Credential mode to create the catalog with.
CREDENTIAL_MODEmust be one of:end-user- Use end user credentials to access the catalog.
vended-credentials- Use vended credentials to access the catalog.
--default-location=DEFAULT_LOCATION-
Can only be used with BigLake catalogs. The default storage location for the
catalog, e.g.,
gs://my-bucket/…. --description=DESCRIPTION- Description of the resource.
--federated-catalog-type=FEDERATED_CATALOG_TYPE-
Type of the federated catalog.
FEDERATED_CATALOG_TYPEmust be one of:unity,glue. --glue-aws-region=GLUE_AWS_REGION- The AWS region of the Glue catalog to connect to.
--glue-aws-role-arn=GLUE_AWS_ROLE_ARN- The AWS role ARN of the Glue catalog that the BigLake federated catalog will assume to access the catalog.
--glue-warehouse=GLUE_WAREHOUSE- The warehouse to connect to in AWS Glue Iceberg REST Catalog.
--namespace-filters=[NAMESPACE,…]- Filters to determine which namespaces are included in the refresh process. Empty list means include all namespaces.
--primary-location=PRIMARY_LOCATION- Primary location for mirroring the remote catalog metadata. It must be a BigLake-supported location, and it should be proximate to the remote catalog's location for better performance and lower cost.
--refresh-interval=REFRESH_INTERVAL- The interval for refreshing metadata from the remote catalog (e.g., "1hr5m30s"). Defaults to seconds if no unit is specified. If unset, the refresh interval will be set to 0s (background refresh disabled).
--restricted-locations=[LOCATION,…]-
Additional Google Cloud Storage buckets and locations (e.g.,
gs://my-other-bucket/…) that are permitted for use by resources within a catalog. This field is currently only used for BigLake catalogs.Ifrestricted_locationsis empty and unrestricted catalog creation is enabled, all accessible locations are allowed. Otherwise, onlydefault_locationand locations in this list are allowed. --secret-name=SECRET_NAME-
The secret resource name in Secret Manager, in the format
projects/{project_id}/locations/{location}/secrets/{secret_id}orprojects/{project_id}/locations/{location}/secrets/{secret_id}/versions/{version_id}. --unity-catalog-name=UNITY_CATALOG_NAME- Name of the catalog in Unity Catalog.
--unity-instance-name=UNITY_INSTANCE_NAME- The instance name is the first part of the URL when you log into your Databricks deployment. For example, for a Databricks on Google Cloud workspace URL https://1.1.gcp.databricks.com, the instance name is 1.1.gcp.databricks.com.
--unity-service-principal-application-id=UNITY_SERVICE_PRINCIPAL_APPLICATION_ID- Optional. The application ID of the Databricks service principal that will be used to access the Unity Catalog in the OIDC authentication flow. With OIDC, the secret-name argument is not used.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
-
This command is currently in beta and might change without notice. These
variants are also available:
gcloud biglake iceberg catalogs creategcloud alpha biglake iceberg catalogs create
gcloud beta biglake iceberg catalogs create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-16 UTC."],[],[]]