File: //snap/google-cloud-cli/396/help/man/man1/gcloud_beta_datastore_indexes_create.1
.TH "GCLOUD_BETA_DATASTORE_INDEXES_CREATE" 1
.SH "NAME"
.HP
gcloud beta datastore indexes create \- create new datastore indexes based on your local index configuration
.SH "SYNOPSIS"
.HP
\f5gcloud beta datastore indexes create\fR \fIINDEX_FILE\fR [\fB\-\-database\fR=\fIDATABASE\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(BETA)\fR Create new datastore indexes based on your local index
configuration. Any indexes in your index file that do not exist will be created.
.SH "EXAMPLES"
To create new indexes based on your local configuration, run:
.RS 2m
$ gcloud beta datastore indexes create ~/myapp/index.yaml
.RE
Detailed information about index configuration can be found at the index.yaml
reference (https://cloud.google.com/datastore/docs/tools/indexconfig).
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIINDEX_FILE\fR
The path to your \f5index.yaml\fR file. For a detailed look into defining your
\f5index.yaml\fR file, refer to this configuration guide:
https://cloud.google.com/datastore/docs/tools/indexconfig#Datastore_About_index_yaml
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-database\fR=\fIDATABASE\fR
The database to operate on. If not specified, the CLI refers the \f5(default)\fR
database by default.
For example, to operate on database \f5testdb\fR:
.RS 2m
$ gcloud beta datastore indexes create \-\-database='testdb'
.RE
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
This command is currently in beta and might change without notice. These
variants are also available:
.RS 2m
$ gcloud datastore indexes create
.RE
.RS 2m
$ gcloud alpha datastore indexes create
.RE