gcloud alpha dataplex lakes update

NAME
gcloud alpha dataplex lakes update - update a Dataplex lake resource
SYNOPSIS
gcloud alpha dataplex lakes update(LAKE :--location=LOCATION)[--async][--description=DESCRIPTION][--display-name=DISPLAY_NAME][--labels=[KEY=VALUE,…]][--metastore-service=METASTORE_SERVICE][--validate-only][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Update a Dataplex lake resource.
EXAMPLES
To update a Dataplex Laketest-lake in locationus-central1 to have the display namefirst-dataplex-lake and metastore serviceprojects/test-lake/locations/us-central1/service/test-service, run:
gcloudalphadataplexlakesupdatetest-lake--location=us-central1--display-name="first-dataplex-lake"--metastore-service="projects/test-lake/locations/us-central1/service/test-service"
POSITIONAL ARGUMENTS
Lakes resource - Arguments and flags that define the Dataplex lake you want toupdate. The arguments in this group can be used to specify the attributes ofthis resource. (NOTE) Some attributes are not given arguments in this group butcan be set in other ways.

To set theproject attribute:

  • provide the argumentlake on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

LAKE
ID of the lakes or fully qualified identifier for the lakes.

To set thelake attribute:

  • provide the argumentlake on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
The location of the Dataplex resource.

To set thelocation attribute:

  • provide the argumentlake on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertydataplex/location.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--description=DESCRIPTION
Description of the lake
--display-name=DISPLAY_NAME
Display Name
--labels=[KEY=VALUE,…]
List of label KEY=VALUE pairs to add.

Keys must start with a lowercase character and contain only hyphens(-), underscores (_), lowercase characters, andnumbers. Values must contain only hyphens (-), underscores(_), lowercase characters, and numbers.

Settings to manage metadata publishing to a Hive Metastore from a lake.
--metastore-service=METASTORE_SERVICE
A relative reference to the Dataproc Metastore(https://cloud.google.com/dataproc-metastore/docs) service instance into whichmetadata will be published. This is of the form:projects/{project_number}/locations/{location_id}/services/{service_id}where the location matches the location of the lake.
--validate-only
Validate the update action, but don't actually perform it.
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 help for details.

NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gclouddataplexlakesupdate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.