gcloud alpha bigtable logical-views update

NAME
gcloud alpha bigtable logical-views update - update a Bigtable logical view
SYNOPSIS
gcloud alpha bigtable logical-views update(LOGICAL_VIEW :--instance=INSTANCE)(--deletion-protection=DELETION_PROTECTION--query=QUERY)[--async][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Update a Bigtable logical view.
EXAMPLES
To update a logical view to a new query, run:
gcloudalphabigtablelogical-viewsupdatemy-logical-view-id--instance=my-instance-id--query="SELECT my-column-family2 FROM my-table"

To enable deletion protection on a logical view, run:

gcloudalphabigtablelogical-viewsupdatemy-logical-view-id--instance=my-instance-id--deletion-protection
POSITIONAL ARGUMENTS
Logical view resource - The logical view to update. The arguments in this groupcan be used to specify the attributes of this resource. (NOTE) Some attributesare not given arguments in this group but can be set in other ways.

To set theproject attribute:

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

This must be specified.

LOGICAL_VIEW
ID of the logical view or fully qualified identifier for the logical view.

To set thename attribute:

  • provide the argumentlogical_view on the command line.

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

--instance=INSTANCE
Bigtable instance for the logical view.

To set theinstance attribute:

  • provide the argumentlogical_view on the command line with a fullyspecified name;
  • provide the argument--instance on the command line.
REQUIRED FLAGS
At least one of these must be specified:
--deletion-protection=DELETION_PROTECTION
Whether the view is protected from deletion.
--query=QUERY
The query of the view.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
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. These variants are also available:
gcloudbigtablelogical-viewsupdate
gcloudbetabigtablelogical-viewsupdate

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-09-30 UTC.