gcloud bigtable schema-bundles create

INFORMATION
gcloud bigtable schema-bundles create is supported in universe domain universe; however, some of the values used in the help text may not be available. Command examples may not work as-is and may requires changes before execution.
NAME
gcloud bigtable schema-bundles create - create a new Bigtable schema bundle
SYNOPSIS
gcloud bigtable schema-bundles create (SCHEMA_BUNDLE : --instance=INSTANCE --table=TABLE) --proto-descriptors-file=PROTO_DESCRIPTORS_FILE [--async] [GCLOUD_WIDE_FLAG]
DESCRIPTION
Create a new Bigtable schema bundle.
EXAMPLES
To create a schema bundle my-schema-bundle in instance my-instance and table my-table, using the descriptor file my-descriptor-file.pb:
gcloud bigtable schema-bundles create my-schema-bundle --instance=test-instance --table=test-table --proto-descriptors-file=my-descriptor-file.pb
POSITIONAL ARGUMENTS
Schema bundle resource - Bigtable schema bundle to create. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument schema_bundle on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

This must be specified.

SCHEMA_BUNDLE
ID of the schema-bundle or fully qualified identifier for the schema-bundle.

To set the schema_bundle attribute:

  • provide the argument schema_bundle on the command line.

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

--instance=INSTANCE
Name of the Bigtable instance.

To set the instance attribute:

  • provide the argument schema_bundle on the command line with a fully specified name;
  • provide the argument --instance on the command line.
--table=TABLE
Name of the Bigtable table.

To set the table attribute:

  • provide the argument schema_bundle on the command line with a fully specified name;
  • provide the argument --table on the command line.
REQUIRED FLAGS
--proto-descriptors-file=PROTO_DESCRIPTORS_FILE
Path of a file that contains a protobuf-serialized google.protobuf.FileDescriptorSet message. If specified, the schema bundle contains the protobuf schema. To generate the file, install and run protoc with the following command:
protoc --proto_path=IMPORT_PATH --include_imports --descriptor_set_out=DESCRIPTOR_OUTPUT_LOCATION path/to/file.proto

where the --proto_path option specificies where to look for .proto files when resolving import directives (the current directory is used if you do not provide a value), and the --descriptor_set_out option specifies where you want the generated FileDescriptorSet to be written.

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.

API REFERENCE
This command uses the bigtableadmin/v2 API. The full documentation for this API can be found at: https://cloud.google.com/bigtable/
NOTES
These variants are also available:
gcloud alpha bigtable schema-bundles create
gcloud beta bigtable schema-bundles create