gcloud alpha bigtable logical-views update Stay organized with collections Save and categorize content based on your preferences.
- 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 the
projectattribute:- provide the argument
logical_viewon the command line with a fullyspecified name; - provide the argument
--projecton the command line; - set the property
core/project.
This must be specified.
LOGICAL_VIEW- ID of the logical view or fully qualified identifier for the logical view.
To set the
nameattribute:- provide the argument
logical_viewon the command line.
This positional argument must be specified if any of the other arguments in thisgroup are specified.
- provide the argument
--instance=INSTANCE- Bigtable instance for the logical view.
To set the
instanceattribute:- provide the argument
logical_viewon the command line with a fullyspecified name; - provide the argument
--instanceon the command line.
- provide the argument
- provide the argument
- 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.
- 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.
- At least one of these must be specified:
- 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 helpfor 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-viewsupdategcloudbetabigtablelogical-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.