gcloud beta bigtable logical-views create

NAME
gcloud beta bigtable logical-views create - create a new Bigtable logical view
SYNOPSIS
gcloud beta bigtable logical-views create(LOGICAL_VIEW :--instance=INSTANCE)--query=QUERY[--async][--deletion-protection=DELETION_PROTECTION][GCLOUD_WIDE_FLAG]
DESCRIPTION
(BETA) Create a new Bigtable logical view.
EXAMPLES
To create a logical view, run:
gcloudbetabigtablelogical-viewscreatemy-logical-view-id--instance=my-instance-id--query="SELECT my-column-family FROM my-table"
POSITIONAL ARGUMENTS
Logical view resource - The logical view to create. 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
--query=QUERY
The query of the view.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--deletion-protection=DELETION_PROTECTION
Whether the view is protected from deletion.
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 beta and might change without notice. Thesevariants are also available:
gcloudbigtablelogical-viewscreate
gcloudalphabigtablelogical-viewscreate

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.